/net/llc/ |
H A D | llc_if.c | 44 struct llc_conn_state_ev *ev; local 56 ev = llc_conn_ev(skb); 57 ev->type = LLC_CONN_EV_TYPE_PRIM; 58 ev->prim = LLC_DATA_PRIM; 59 ev->prim_type = LLC_PRIM_TYPE_REQ; 103 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 105 ev->type = LLC_CONN_EV_TYPE_PRIM; 106 ev->prim = LLC_CONN_PRIM; 107 ev->prim_type = LLC_PRIM_TYPE_REQ; 128 struct llc_conn_state_ev *ev; local [all...] |
H A D | llc_s_ev.c | 25 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 27 return ev->type == LLC_SAP_EV_TYPE_SIMPLE && 28 ev->prim_type == LLC_SAP_EV_ACTIVATION_REQ ? 0 : 1; 33 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 36 return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && 43 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 45 return ev->type == LLC_SAP_EV_TYPE_PRIM && 46 ev->prim == LLC_DATAUNIT_PRIM && 47 ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; 53 struct llc_sap_state_ev *ev local 62 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 72 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 82 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 91 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 101 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 111 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local [all...] |
H A D | llc_s_ac.c | 54 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 57 llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, 58 ev->daddr.lsap, LLC_PDU_CMD); 60 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); 77 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 80 llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, 81 ev->daddr.lsap, LLC_PDU_CMD); 83 rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev 131 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local [all...] |
H A D | llc_sap.c | 93 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 98 ev->prim = LLC_TEST_PRIM; break; 100 ev->prim = LLC_XID_PRIM; break; 102 ev->prim = LLC_DATAUNIT_PRIM; break; 104 ev->ind_cfm_flag = LLC_IND; 127 for (next_trans = curr_state->transitions; next_trans[i]->ev; i++) 128 if (!next_trans[i]->ev(sap, skb)) { 203 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 211 ev->ind_cfm_flag = 0; 213 if (ev 240 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 266 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local 289 struct llc_sap_state_ev *ev = llc_sap_ev(skb); local [all...] |
H A D | llc_c_ac.c | 34 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev); 63 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 65 ev->ind_prim = LLC_CONN_PRIM; 71 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 73 ev->cfm_prim = LLC_CONN_PRIM; 79 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 81 ev->cfm_prim = LLC_DATA_PRIM; 93 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 97 if (ev->type == LLC_CONN_EV_TYPE_PDU) { 108 } else if (ev 121 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 132 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 169 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 1328 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local [all...] |
H A D | llc_c_ev.c | 101 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 103 return ev->prim == LLC_CONN_PRIM && 104 ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; 109 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 111 return ev->prim == LLC_DATA_PRIM && 112 ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; 117 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 119 return ev->prim == LLC_DISC_PRIM && 120 ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; 125 const struct llc_conn_state_ev *ev local 133 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 141 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 545 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 552 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 559 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 566 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 578 const struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 695 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 703 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 711 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 720 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 728 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 736 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 744 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local [all...] |
H A D | llc_conn.c | 37 struct sk_buff *ev); 63 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 71 ev->ind_prim = ev->cfm_prim = 0; 81 if (unlikely(!ev->ind_prim && !ev->cfm_prim)) { 88 if (unlikely(ev->ind_prim && ev->cfm_prim)) /* Paranoia */ 91 switch (ev->ind_prim) { 136 if (ev 214 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 410 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local 758 struct llc_conn_state_ev *ev = llc_conn_ev(skb); local [all...] |
/net/ipv4/ |
H A D | tcp_dctcp.c | 242 static void dctcp_update_ack_reserved(struct sock *sk, enum tcp_ca_event ev) argument 246 switch (ev) { 261 static void dctcp_cwnd_event(struct sock *sk, enum tcp_ca_event ev) argument 263 switch (ev) { 272 dctcp_update_ack_reserved(sk, ev);
|
/net/sctp/ |
H A D | chunk.c | 92 struct sctp_ulpevent *ev; local 124 ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, 126 if (ev) 127 sctp_ulpq_tail_event(&asoc->ulpq, ev);
|
H A D | ulpqueue.c | 1125 struct sctp_ulpevent *ev = NULL; local 1134 ev = sctp_ulpevent_make_pdapi(ulpq->asoc, 1137 if (ev) 1138 __skb_queue_tail(&sk->sk_receive_queue, sctp_event2skb(ev)); 1141 if (sctp_ulpq_clear_pd(ulpq) || ev)
|
H A D | sm_sideeffect.c | 889 struct sctp_ulpevent *ev; local 894 ev = sctp_ulpevent_make_remote_error(asoc, chunk, 0, 896 if (!ev) 899 sctp_ulpq_tail_event(&asoc->ulpq, ev); 976 struct sctp_ulpevent *ev; local 978 ev = sctp_ulpevent_make_assoc_change(asoc, 0, state, 0, 982 if (ev) 983 sctp_ulpq_tail_event(&asoc->ulpq, ev); 990 struct sctp_ulpevent *ev; local 992 ev [all...] |
H A D | ipv6.c | 89 static int sctp_inet6addr_event(struct notifier_block *this, unsigned long ev, argument 98 switch (ev) { 773 struct sctp_ulpevent *ev = sctp_skb2event(skb); local 774 addr->v6.sin6_scope_id = ev->iif;
|
H A D | protocol.c | 747 static int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev, argument 756 switch (ev) {
|
H A D | sm_statefuns.c | 225 struct sctp_ulpevent *ev; local 250 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, 252 if (ev) 254 SCTP_ULPEVENT(ev)); 659 struct sctp_ulpevent *ev, *ai_ev = NULL; local 796 ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, 800 if (!ev) 835 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); 845 sctp_ulpevent_free(ev); 882 struct sctp_ulpevent *ev; local 1706 struct sctp_ulpevent *ev; local 1913 struct sctp_ulpevent *ev = NULL, *ai_ev = NULL; local 2634 struct sctp_ulpevent *ev; local 3331 struct sctp_ulpevent *ev; local 4121 struct sctp_ulpevent *ev; local [all...] |
/net/wireless/ |
H A D | ibss.c | 62 struct cfg80211_event *ev; local 70 ev = kzalloc(sizeof(*ev), gfp); 71 if (!ev) 74 ev->type = EVENT_IBSS_JOINED; 75 memcpy(ev->ij.bssid, bssid, ETH_ALEN); 76 ev->ij.channel = channel; 79 list_add_tail(&ev->list, &wdev->event_list);
|
H A D | core.c | 851 struct cfg80211_event *ev; local 856 ev = kzalloc(sizeof(*ev), gfp); 857 if (!ev) 860 ev->type = EVENT_STOPPED; 863 list_add_tail(&ev->list, &wdev->event_list);
|
H A D | lib80211_crypt_tkip.c | 592 struct iw_michaelmicfailure ev; local 595 memset(&ev, 0, sizeof(ev)); 596 ev.flags = keyidx & IW_MICFAILURE_KEY_ID; 598 ev.flags |= IW_MICFAILURE_GROUP; 600 ev.flags |= IW_MICFAILURE_PAIRWISE; 601 ev.src_addr.sa_family = ARPHRD_ETHER; 602 memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); 604 wrqu.data.length = sizeof(ev); 605 wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); [all...] |
H A D | sme.c | 692 struct cfg80211_event *ev; local 695 ev = kzalloc(sizeof(*ev) + req_ie_len + resp_ie_len, gfp); 696 if (!ev) 699 ev->type = EVENT_CONNECT_RESULT; 701 memcpy(ev->cr.bssid, bssid, ETH_ALEN); 703 ev->cr.req_ie = ((u8 *)ev) + sizeof(*ev); 704 ev 807 struct cfg80211_event *ev; local 886 struct cfg80211_event *ev; local [all...] |
H A D | util.c | 806 struct cfg80211_event *ev; local 812 ev = list_first_entry(&wdev->event_list, 814 list_del(&ev->list); 818 switch (ev->type) { 820 if (!is_zero_ether_addr(ev->cr.bssid)) 821 bssid = ev->cr.bssid; 824 ev->cr.req_ie, ev->cr.req_ie_len, 825 ev->cr.resp_ie, ev [all...] |
/net/bluetooth/ |
H A D | hci_sock.c | 390 struct hci_ev_stack_internal *ev; local 393 skb = bt_skb_alloc(HCI_EVENT_HDR_SIZE + sizeof(*ev) + dlen, GFP_ATOMIC); 399 hdr->plen = sizeof(*ev) + dlen; 401 ev = (void *) skb_put(skb, sizeof(*ev) + dlen); 402 ev->type = type; 403 memcpy(ev->data, data, dlen); 415 struct hci_ev_si_device ev; local 431 ev.event = event; 432 ev [all...] |
H A D | hci_event.c | 2026 struct hci_ev_conn_complete *ev = (void *) skb->data; local 2033 conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); 2035 if (ev->link_type != SCO_LINK) 2038 conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr); 2045 if (!ev->status) { 2046 conn->handle = __le16_to_cpu(ev->handle); 2053 !hci_find_link_key(hdev, &ev->bdaddr)) 2071 cp.handle = ev->handle; 2081 cp.handle = ev 2119 struct hci_ev_conn_request *ev = (void *) skb->data; local 2225 struct hci_ev_disconn_complete *ev = (void *) skb->data; local 2303 struct hci_ev_auth_complete *ev = (void *) skb->data; local 2368 struct hci_ev_remote_name *ev = (void *) skb->data; local 2410 struct hci_ev_encrypt_change *ev = (void *) skb->data; local 2483 struct hci_ev_change_link_key_complete *ev = (void *) skb->data; local 2506 struct hci_ev_remote_features *ev = (void *) skb->data; local 2555 struct hci_ev_cmd_complete *ev = (void *) skb->data; local 2835 struct hci_ev_cmd_status *ev = (void *) skb->data; local 2928 struct hci_ev_role_change *ev = (void *) skb->data; local 2950 struct hci_ev_num_comp_pkts *ev = (void *) skb->data; local 3037 struct hci_ev_num_comp_blocks *ev = (void *) skb->data; local 3087 struct hci_ev_mode_change *ev = (void *) skb->data; local 3115 struct hci_ev_pin_code_req *ev = (void *) skb->data; local 3153 struct hci_ev_link_key_req *ev = (void *) skb->data; local 3212 struct hci_ev_link_key_notify *ev = (void *) skb->data; local 3266 struct hci_ev_clock_offset *ev = (void *) skb->data; local 3289 struct hci_ev_pkt_type_change *ev = (void *) skb->data; local 3305 struct hci_ev_pscan_rep_mode *ev = (void *) skb->data; local 3388 struct hci_ev_remote_ext_features *ev = (void *) skb->data; local 3454 struct hci_ev_sync_conn_complete *ev = (void *) skb->data; local 3579 struct hci_ev_key_refresh_complete *ev = (void *) skb->data; local 3646 struct hci_ev_io_capa_request *ev = (void *) skb->data; local 3720 struct hci_ev_io_capa_reply *ev = (void *) skb->data; local 3743 struct hci_ev_user_confirm_req *ev = (void *) skb->data; local 3818 struct hci_ev_user_passkey_req *ev = (void *) skb->data; local 3829 struct hci_ev_user_passkey_notify *ev = (void *) skb->data; local 3849 struct hci_ev_keypress_notify *ev = (void *) skb->data; local 3888 struct hci_ev_simple_pair_complete *ev = (void *) skb->data; local 3919 struct hci_ev_remote_host_features *ev = (void *) skb->data; local 3941 struct hci_ev_remote_oob_data_request *ev = (void *) skb->data; local 3992 struct hci_ev_phy_link_complete *ev = (void *) skb->data; local 4030 struct hci_ev_logical_link_complete *ev = (void *) skb->data; local 4069 struct hci_ev_disconn_logical_link_complete *ev = (void *) skb->data; local 4093 struct hci_ev_disconn_phy_link_complete *ev = (void *) skb->data; local 4114 struct hci_ev_le_conn_complete *ev = (void *) skb->data; local 4251 struct hci_ev_le_conn_update_complete *ev = (void *) skb->data; local 4479 struct hci_ev_le_advertising_info *ev = ptr; local 4494 struct hci_ev_le_ltk_req *ev = (void *) skb->data; local 4560 struct hci_ev_le_remote_conn_param_req *ev = (void *) skb->data; local 4649 struct hci_ev_channel_selected *ev = (void *) skb->data; local [all...] |
H A D | hci_core.c | 1083 struct hci_ev_cmd_complete *ev; local 1116 if (skb->len < sizeof(*ev)) { 1121 ev = (void *) skb->data; 1122 skb_pull(skb, sizeof(*ev)); 1124 if (opcode == __le16_to_cpu(ev->opcode)) 1128 __le16_to_cpu(ev->opcode));
|
H A D | mgmt.c | 248 struct mgmt_ev_cmd_status *ev; local 253 skb = alloc_skb(sizeof(*hdr) + sizeof(*ev), GFP_KERNEL); 261 hdr->len = cpu_to_le16(sizeof(*ev)); 263 ev = (void *) skb_put(skb, sizeof(*ev)); 264 ev->status = status; 265 ev->opcode = cpu_to_le16(cmd); 279 struct mgmt_ev_cmd_complete *ev; local 284 skb = alloc_skb(sizeof(*hdr) + sizeof(*ev) + rp_len, GFP_KERNEL); 292 hdr->len = cpu_to_le16(sizeof(*ev) 1430 __le32 ev; local 2686 struct mgmt_ev_device_unpaired ev; local 5220 struct mgmt_ev_device_added ev; local 5307 struct mgmt_ev_device_removed ev; local 6022 struct mgmt_ev_new_link_key ev; local 6046 struct mgmt_ev_new_long_term_key ev; local 6084 struct mgmt_ev_new_irk ev; local 6115 struct mgmt_ev_new_csrk ev; local 6146 struct mgmt_ev_new_conn_param ev; local 6179 struct mgmt_ev_device_connected *ev = (void *) buf; local 6256 struct mgmt_ev_device_disconnected ev; local 6323 struct mgmt_ev_connect_failed ev; local 6342 struct mgmt_ev_pin_code_request ev; local 6393 struct mgmt_ev_user_confirm_request ev; local 6409 struct mgmt_ev_user_passkey_request ev; local 6476 struct mgmt_ev_passkey_notify ev; local 6490 struct mgmt_ev_auth_failed ev; local 6670 struct mgmt_cp_set_local_name ev; local 6747 struct mgmt_ev_device_found *ev = (void *) buf; local 6793 struct mgmt_ev_device_found *ev; local 6815 struct mgmt_ev_discovering ev; local [all...] |
/net/ceph/ |
H A D | osdmap.c | 516 u8 ev, cv; local 521 ev = ceph_decode_8(p); /* encoding version */ 523 if (ev < 5) { 524 pr_warn("got v %d < 5 cv %d of ceph_pg_pool\n", ev, cv); 528 pr_warn("got v %d cv %d > 9 of ceph_pg_pool\n", ev, cv); 564 if (ev >= 7) 567 if (ev >= 8) 570 if (ev >= 9) {
|
/net/rfkill/ |
H A D | core.c | 81 struct rfkill_event ev; member in struct:rfkill_int_event 192 static void rfkill_fill_event(struct rfkill_event *ev, struct rfkill *rfkill, argument 197 ev->idx = rfkill->idx; 198 ev->type = rfkill->type; 199 ev->op = op; 202 ev->hard = !!(rfkill->state & RFKILL_BLOCK_HW); 203 ev->soft = !!(rfkill->state & (RFKILL_BLOCK_SW | 211 struct rfkill_int_event *ev; local 214 ev = kzalloc(sizeof(*ev), GFP_KERNE 1031 struct rfkill_int_event *ev, *tmp; local 1103 struct rfkill_int_event *ev; local 1142 struct rfkill_event ev; local 1192 struct rfkill_int_event *ev, *tmp; local [all...] |