/net/sctp/ |
D | ulpevent.c | 31 static void sctp_ulpevent_receive_data(struct sctp_ulpevent *event, 33 static void sctp_ulpevent_release_data(struct sctp_ulpevent *event); 34 static void sctp_ulpevent_release_frag_data(struct sctp_ulpevent *event); 38 static void sctp_ulpevent_init(struct sctp_ulpevent *event, in sctp_ulpevent_init() argument 42 memset(event, 0, sizeof(struct sctp_ulpevent)); in sctp_ulpevent_init() 43 event->msg_flags = msg_flags; in sctp_ulpevent_init() 44 event->rmem_len = len; in sctp_ulpevent_init() 51 struct sctp_ulpevent *event; in sctp_ulpevent_new() local 58 event = sctp_skb2event(skb); in sctp_ulpevent_new() 59 sctp_ulpevent_init(event, msg_flags, skb->truesize); in sctp_ulpevent_new() [all …]
|
D | stream_interleave.c | 125 struct sctp_ulpevent *event) in sctp_intl_store_reasm() argument 132 __skb_queue_tail(&ulpq->reasm, sctp_event2skb(event)); in sctp_intl_store_reasm() 138 if (event->stream == cevent->stream && in sctp_intl_store_reasm() 139 event->mid == cevent->mid && in sctp_intl_store_reasm() 141 (!(event->msg_flags & SCTP_DATA_FIRST_FRAG) && in sctp_intl_store_reasm() 142 event->fsn > cevent->fsn))) { in sctp_intl_store_reasm() 143 __skb_queue_tail(&ulpq->reasm, sctp_event2skb(event)); in sctp_intl_store_reasm() 147 if ((event->stream == cevent->stream && in sctp_intl_store_reasm() 148 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm() 149 event->stream > cevent->stream) { in sctp_intl_store_reasm() [all …]
|
D | ulpqueue.c | 57 struct sctp_ulpevent *event; in sctp_ulpq_flush() local 60 event = sctp_skb2event(skb); in sctp_ulpq_flush() 61 sctp_ulpevent_free(event); in sctp_ulpq_flush() 65 event = sctp_skb2event(skb); in sctp_ulpq_flush() 66 sctp_ulpevent_free(event); in sctp_ulpq_flush() 70 event = sctp_skb2event(skb); in sctp_ulpq_flush() 71 sctp_ulpevent_free(event); in sctp_ulpq_flush() 86 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local 90 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp); in sctp_ulpq_tail_data() 91 if (!event) in sctp_ulpq_tail_data() [all …]
|
/net/rds/ |
D | rdma_transport.c | 50 struct rdma_cm_event *event, in rds_rdma_cm_event_handler_cmn() argument 61 event->event, rdma_event_msg(event->event)); in rds_rdma_cm_event_handler_cmn() 77 if (event->event == RDMA_CM_EVENT_CONNECT_REQUEST) in rds_rdma_cm_event_handler_cmn() 83 switch (event->event) { in rds_rdma_cm_event_handler_cmn() 85 ret = trans->cm_handle_connect(cm_id, event, isv6); in rds_rdma_cm_event_handler_cmn() 118 trans->cm_connect_complete(conn, event); in rds_rdma_cm_event_handler_cmn() 124 err = (int *)rdma_consumer_reject_data(cm_id, event, &len); in rds_rdma_cm_event_handler_cmn() 137 rdma_reject_msg(cm_id, event->status)); in rds_rdma_cm_event_handler_cmn() 169 event->event, rdma_event_msg(event->event)); in rds_rdma_cm_event_handler_cmn() 177 rdsdebug("id %p event %u (%s) handling ret %d\n", cm_id, event->event, in rds_rdma_cm_event_handler_cmn() [all …]
|
D | ib_cm.c | 74 void rds_ib_cm_connect_complete(struct rds_connection *conn, struct rdma_cm_event *event) in rds_ib_cm_connect_complete() argument 84 dp = event->param.conn.private_data; in rds_ib_cm_connect_complete() 86 if (event->param.conn.private_data_len >= in rds_ib_cm_connect_complete() 98 } else if (event->param.conn.private_data_len >= in rds_ib_cm_connect_complete() 233 static void rds_ib_cq_event_handler(struct ib_event *event, void *data) in rds_ib_cq_event_handler() argument 236 event->event, ib_event_msg(event->event), data); in rds_ib_cq_event_handler() 354 static void rds_ib_qp_event_handler(struct ib_event *event, void *data) in rds_ib_qp_event_handler() argument 359 rdsdebug("conn %p ic %p event %u (%s)\n", conn, ic, event->event, in rds_ib_qp_event_handler() 360 ib_event_msg(event->event)); in rds_ib_qp_event_handler() 362 switch (event->event) { in rds_ib_qp_event_handler() [all …]
|
D | rdma_transport.h | 21 struct rdma_cm_event *event); 23 struct rdma_cm_event *event);
|
/net/bridge/ |
D | br.c | 28 static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr) in br_device_event() argument 40 err = br_vlan_bridge_event(dev, event, ptr); in br_device_event() 44 if (event == NETDEV_REGISTER) { in br_device_event() 61 switch (event) { in br_device_event() 130 call_netdevice_notifiers(event, br->dev); in br_device_event() 134 if (event != NETDEV_UNREGISTER) in br_device_event() 135 br_vlan_port_event(p, event); in br_device_event() 138 if (!notified && (event == NETDEV_CHANGEADDR || event == NETDEV_UP || in br_device_event() 139 event == NETDEV_CHANGE || event == NETDEV_DOWN)) in br_device_event() 151 unsigned long event, void *ptr) in br_switchdev_event() argument [all …]
|
/net/mac80211/ |
D | mesh_plink.c | 824 enum plink_event event) in mesh_plink_close() argument 827 u16 reason = (event == CLS_ACPT) ? in mesh_plink_close() 862 struct sta_info *sta, enum plink_event event) in mesh_plink_fsm() argument 870 mplstates[sta->mesh->plink_state], mplevents[event]); in mesh_plink_fsm() 875 switch (event) { in mesh_plink_fsm() 894 switch (event) { in mesh_plink_fsm() 898 mesh_plink_close(sdata, sta, event); in mesh_plink_fsm() 915 switch (event) { in mesh_plink_fsm() 919 mesh_plink_close(sdata, sta, event); in mesh_plink_fsm() 933 switch (event) { in mesh_plink_fsm() [all …]
|
/net/xfrm/ |
D | xfrm_replay.c | 38 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event); 39 static void xfrm_replay_notify_esn(struct xfrm_state *x, int event); 41 void xfrm_replay_notify(struct xfrm_state *x, int event) in xfrm_replay_notify() argument 58 xfrm_replay_notify_bmp(x, event); in xfrm_replay_notify() 61 xfrm_replay_notify_esn(x, event); in xfrm_replay_notify() 65 switch (event) { in xfrm_replay_notify() 71 event = XFRM_REPLAY_TIMEOUT; in xfrm_replay_notify() 89 c.event = XFRM_MSG_NEWAE; in xfrm_replay_notify() 90 c.data.aevent = event; in xfrm_replay_notify() 305 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event) in xfrm_replay_notify_bmp() argument [all …]
|
/net/phonet/ |
D | pn_netlink.c | 23 u32 portid, u32 seq, int event); 25 void phonet_address_notify(int event, struct net_device *dev, u8 addr) in phonet_address_notify() argument 34 err = fill_addr(skb, dev, addr, 0, 0, event); in phonet_address_notify() 96 u32 portid, u32 seq, int event) in fill_addr() argument 101 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr() 161 u32 portid, u32 seq, int event) in fill_route() argument 166 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route() 191 void rtm_phonet_notify(int event, struct net_device *dev, u8 dst) in rtm_phonet_notify() argument 200 err = fill_route(skb, dev, dst, 0, 0, event); in rtm_phonet_notify()
|
/net/802/ |
D | garp.c | 289 enum garp_attr_event event) in garp_pdu_append_attr() argument 314 ga->event = event; in garp_pdu_append_attr() 324 struct garp_attr *attr, enum garp_event event) in garp_attr_event() argument 328 state = garp_applicant_state_table[attr->state][event].state; in garp_attr_event() 332 switch (garp_applicant_state_table[attr->state][event].action) { in garp_attr_event() 393 static void garp_gid_event(struct garp_applicant *app, enum garp_event event) in garp_gid_event() argument 402 garp_attr_event(app, attr, event); in garp_gid_event() 443 enum garp_event event; in garp_pdu_parse_attr() local 460 switch (ga->event) { in garp_pdu_parse_attr() 467 event = GARP_EVENT_R_JOIN_EMPTY; in garp_pdu_parse_attr() [all …]
|
D | mrp.c | 481 struct mrp_attr *attr, enum mrp_event event) in mrp_attr_event() argument 485 state = mrp_applicant_state_table[attr->state][event]; in mrp_attr_event() 491 if (event == MRP_EVENT_TX) { in mrp_attr_event() 578 static void mrp_mad_event(struct mrp_applicant *app, enum mrp_event event) in mrp_mad_event() argument 587 mrp_attr_event(app, attr, event); in mrp_mad_event() 652 enum mrp_event event; in mrp_pdu_parse_vecattr_event() local 662 event = MRP_EVENT_R_NEW; in mrp_pdu_parse_vecattr_event() 665 event = MRP_EVENT_R_JOIN_IN; in mrp_pdu_parse_vecattr_event() 668 event = MRP_EVENT_R_IN; in mrp_pdu_parse_vecattr_event() 671 event = MRP_EVENT_R_JOIN_MT; in mrp_pdu_parse_vecattr_event() [all …]
|
/net/vmw_vsock/ |
D | virtio_transport.c | 298 struct virtio_vsock_event *event) in virtio_vsock_event_fill_one() argument 305 sg_init_one(&sg, event, sizeof(*event)); in virtio_vsock_event_fill_one() 307 return virtqueue_add_inbuf(vq, &sg, 1, event, GFP_KERNEL); in virtio_vsock_event_fill_one() 316 struct virtio_vsock_event *event = &vsock->event_list[i]; in virtio_vsock_event_fill() local 318 virtio_vsock_event_fill_one(vsock, event); in virtio_vsock_event_fill() 348 struct virtio_vsock_event *event) in virtio_vsock_event_handle() argument 350 switch (le32_to_cpu(event->id)) { in virtio_vsock_event_handle() 373 struct virtio_vsock_event *event; in virtio_transport_event_work() local 377 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work() 378 if (len == sizeof(*event)) in virtio_transport_event_work() [all …]
|
/net/smc/ |
D | smc_ism.c | 33 static void smcd_handle_event(struct ism_dev *ism, struct ism_event *event); 323 struct ism_event event; member 345 ev_info.info = wrk->event.info; in smcd_handle_sw_event() 346 switch (wrk->event.code) { in smcd_handle_sw_event() 348 smc_smcd_terminate(wrk->smcd, wrk->event.tok, ev_info.vlan_id); in smcd_handle_sw_event() 354 wrk->event.tok, in smcd_handle_sw_event() 369 switch (wrk->event.type) { in smc_ism_event_work() 371 smc_smcd_terminate(wrk->smcd, wrk->event.tok, VLAN_VID_MASK); in smc_ism_event_work() 477 static void smcd_handle_event(struct ism_dev *ism, struct ism_event *event) in smcd_handle_event() argument 490 wrk->event = *event; in smcd_handle_event()
|
/net/tipc/ |
D | subscr.c | 44 u32 event) in tipc_sub_send_event() argument 51 tipc_evt_write(evt, event, event); in tipc_sub_send_event() 63 tipc_topsrv_queue_evt(sub->net, sub->conid, event, evt); in tipc_sub_send_event() 88 u32 event, bool must) in tipc_sub_report_overlap() argument 102 tipc_sub_send_event(sub, p, event); in tipc_sub_report_overlap()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 100 static void qp_event_handler(struct ib_event *event, void *context) in qp_event_handler() argument 104 trace_svcrdma_qp_error(event, (struct sockaddr *)&xprt->xpt_remote); in qp_event_handler() 105 switch (event->event) { in qp_event_handler() 248 struct rdma_cm_event *event) in svc_rdma_listen_handler() argument 250 switch (event->event) { in svc_rdma_listen_handler() 252 handle_connect_req(cma_id, &event->param.conn); in svc_rdma_listen_handler() 270 struct rdma_cm_event *event) in svc_rdma_cma_handler() argument 275 switch (event->event) { in svc_rdma_cma_handler()
|
/net/netfilter/ |
D | nft_chain_filter.c | 321 static void nft_netdev_event(unsigned long event, struct net_device *dev, in nft_netdev_event() argument 328 if (event != NETDEV_UNREGISTER) in nft_netdev_event() 359 unsigned long event, void *ptr) in nf_tables_netdev_event() argument 370 if (event != NETDEV_UNREGISTER && in nf_tables_netdev_event() 371 event != NETDEV_CHANGENAME) in nf_tables_netdev_event() 393 nft_netdev_event(event, dev, &ctx); in nf_tables_netdev_event()
|
D | nf_nat_masquerade.c | 150 unsigned long event, in masq_device_event() argument 156 if (event == NETDEV_DOWN) { in masq_device_event() 183 unsigned long event, in masq_inet_event() argument 191 if (event != NETDEV_DOWN) in masq_inet_event() 280 unsigned long event, void *ptr) in masq_inet6_event() argument 286 if (event != NETDEV_DOWN) in masq_inet6_event()
|
D | nfnetlink_cttimeout.c | 185 int event, struct ctnl_timeout *timeout) in ctnl_timeout_fill_info() argument 193 event = nfnl_msg_type(NFNL_SUBSYS_CTNETLINK_TIMEOUT, event); in ctnl_timeout_fill_info() 194 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info() 395 u32 seq, u32 type, int event, u16 l3num, in cttimeout_default_fill_info() argument 404 event = nfnl_msg_type(NFNL_SUBSYS_CTNETLINK_TIMEOUT, event); in cttimeout_default_fill_info() 405 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info()
|
/net/8021q/ |
D | vlan.c | 340 static int __vlan_device_event(struct net_device *dev, unsigned long event) in __vlan_device_event() argument 344 switch (event) { in __vlan_device_event() 360 static int vlan_device_event(struct notifier_block *unused, unsigned long event, in vlan_device_event() argument 375 int err = __vlan_device_event(dev, event); in vlan_device_event() 381 if ((event == NETDEV_UP) && in vlan_device_event() 387 if (event == NETDEV_DOWN && in vlan_device_event() 400 switch (event) { in vlan_device_event() 503 call_netdevice_notifiers(event, vlandev); in vlan_device_event()
|
/net/wireless/ |
D | wext-sme.c | 93 bool event = true; in cfg80211_mgd_wext_siwfreq() local 102 event = false; in cfg80211_mgd_wext_siwfreq() 104 WLAN_REASON_DEAUTH_LEAVING, event); in cfg80211_mgd_wext_siwfreq() 172 bool event = true; in cfg80211_mgd_wext_siwessid() local 181 event = false; in cfg80211_mgd_wext_siwessid() 183 WLAN_REASON_DEAUTH_LEAVING, event); in cfg80211_mgd_wext_siwessid()
|
D | wext-core.c | 459 struct iw_event *event; /* Mallocated whole event */ in wireless_send_event() local 574 event = nla_data(nla); in wireless_send_event() 577 memset(event, 0, hdr_len); in wireless_send_event() 578 event->len = event_len; in wireless_send_event() 579 event->cmd = cmd; in wireless_send_event() 580 memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); in wireless_send_event() 582 memcpy(((char *) event) + hdr_len, extra, extra_len); in wireless_send_event() 1196 char *iwe_stream_add_value(struct iw_request_info *info, char *event, in iwe_stream_add_value() argument 1211 iwe->len = value - event; in iwe_stream_add_value() 1212 memcpy(event, (char *) iwe, lcp_len); in iwe_stream_add_value()
|
/net/dcb/ |
D | dcbnl.c | 1506 static int dcbnl_notify(struct net_device *dev, int event, int cmd, in dcbnl_notify() argument 1518 skb = dcbnl_newmsg(event, cmd, portid, seq, 0, &nlh); in dcbnl_notify() 1540 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd, in dcbnl_ieee_notify() argument 1543 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_IEEE); in dcbnl_ieee_notify() 1547 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd, in dcbnl_cee_notify() argument 1550 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_CEE); in dcbnl_cee_notify() 2054 struct dcb_app_type event; in dcb_setapp() local 2057 event.ifindex = dev->ifindex; in dcb_setapp() 2058 memcpy(&event.app, new, sizeof(event.app)); in dcb_setapp() 2060 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp() [all …]
|
/net/batman-adv/ |
D | hard-interface.c | 939 static int batadv_hard_if_event_softif(unsigned long event, in batadv_hard_if_event_softif() argument 944 switch (event) { in batadv_hard_if_event_softif() 955 unsigned long event, void *ptr) in batadv_hard_if_event() argument 963 return batadv_hard_if_event_softif(event, net_dev); in batadv_hard_if_event() 966 if (!hard_iface && (event == NETDEV_REGISTER || in batadv_hard_if_event() 967 event == NETDEV_POST_TYPE_CHANGE)) in batadv_hard_if_event() 973 switch (event) { in batadv_hard_if_event()
|
/net/ipv4/ |
D | tcp_veno.c | 113 static void tcp_veno_cwnd_event(struct sock *sk, enum tcp_ca_event event) in tcp_veno_cwnd_event() argument 115 if (event == CA_EVENT_CWND_RESTART || event == CA_EVENT_TX_START) in tcp_veno_cwnd_event()
|