Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 151) sorted by relevance

1234567

/net/sctp/
Dulpevent.c31 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 …]
Dstream_interleave.c125 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 …]
Dulpqueue.c60 struct sctp_ulpevent *event; in sctp_ulpq_flush() local
63 event = sctp_skb2event(skb); in sctp_ulpq_flush()
64 sctp_ulpevent_free(event); in sctp_ulpq_flush()
68 event = sctp_skb2event(skb); in sctp_ulpq_flush()
69 sctp_ulpevent_free(event); in sctp_ulpq_flush()
73 event = sctp_skb2event(skb); in sctp_ulpq_flush()
74 sctp_ulpevent_free(event); in sctp_ulpq_flush()
89 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local
93 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp); in sctp_ulpq_tail_data()
94 if (!event) in sctp_ulpq_tail_data()
[all …]
/net/rds/
Drdma_transport.c50 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()
115 trans->cm_connect_complete(conn, event); in rds_rdma_cm_event_handler_cmn()
121 err = (int *)rdma_consumer_reject_data(cm_id, event, &len); in rds_rdma_cm_event_handler_cmn()
134 rdma_reject_msg(cm_id, event->status)); in rds_rdma_cm_event_handler_cmn()
166 event->event, rdma_event_msg(event->event)); in rds_rdma_cm_event_handler_cmn()
174 rdsdebug("id %p event %u (%s) handling ret %d\n", cm_id, event->event, in rds_rdma_cm_event_handler_cmn()
[all …]
Dib_cm.c98 void rds_ib_cm_connect_complete(struct rds_connection *conn, struct rdma_cm_event *event) in rds_ib_cm_connect_complete() argument
109 dp = event->param.conn.private_data; in rds_ib_cm_connect_complete()
111 if (event->param.conn.private_data_len >= in rds_ib_cm_connect_complete()
123 } else if (event->param.conn.private_data_len >= in rds_ib_cm_connect_complete()
266 static void rds_ib_cq_event_handler(struct ib_event *event, void *data) in rds_ib_cq_event_handler() argument
269 event->event, ib_event_msg(event->event), data); in rds_ib_cq_event_handler()
387 static void rds_ib_qp_event_handler(struct ib_event *event, void *data) in rds_ib_qp_event_handler() argument
392 rdsdebug("conn %p ic %p event %u (%s)\n", conn, ic, event->event, in rds_ib_qp_event_handler()
393 ib_event_msg(event->event)); in rds_ib_qp_event_handler()
395 switch (event->event) { in rds_ib_qp_event_handler()
[all …]
Drdma_transport.h22 struct rdma_cm_event *event);
24 struct rdma_cm_event *event);
/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c103 static void qp_event_handler(struct ib_event *event, void *context) in qp_event_handler() argument
107 trace_svcrdma_qp_error(event, (struct sockaddr *)&xprt->xpt_remote); in qp_event_handler()
108 switch (event->event) { in qp_event_handler()
241 struct rdma_cm_event *event) in rdma_listen_handler() argument
245 trace_svcrdma_cm_event(event, sap); in rdma_listen_handler()
247 switch (event->event) { in rdma_listen_handler()
251 rdma_event_msg(event->event), event->event); in rdma_listen_handler()
252 handle_connect_req(cma_id, &event->param.conn); in rdma_listen_handler()
258 rdma_event_msg(event->event), event->event); in rdma_listen_handler()
266 struct rdma_cm_event *event) in rdma_cma_handler() argument
[all …]
/net/bridge/
Dbr.c28 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()
58 switch (event) { in br_device_event()
127 call_netdevice_notifiers(event, br->dev); in br_device_event()
131 if (event != NETDEV_UNREGISTER) in br_device_event()
132 br_vlan_port_event(p, event); in br_device_event()
135 if (!notified && (event == NETDEV_CHANGEADDR || event == NETDEV_UP || in br_device_event()
136 event == NETDEV_CHANGE || event == NETDEV_DOWN)) in br_device_event()
148 unsigned long event, void *ptr) in br_switchdev_event() argument
[all …]
/net/mac80211/
Dmesh_plink.c804 enum plink_event event) in mesh_plink_close() argument
807 u16 reason = (event == CLS_ACPT) ? in mesh_plink_close()
842 struct sta_info *sta, enum plink_event event) in mesh_plink_fsm() argument
850 mplstates[sta->mesh->plink_state], mplevents[event]); in mesh_plink_fsm()
855 switch (event) { in mesh_plink_fsm()
874 switch (event) { in mesh_plink_fsm()
878 mesh_plink_close(sdata, sta, event); in mesh_plink_fsm()
895 switch (event) { in mesh_plink_fsm()
899 mesh_plink_close(sdata, sta, event); in mesh_plink_fsm()
913 switch (event) { in mesh_plink_fsm()
[all …]
/net/smc/
Dsmc_ism.c184 struct smcd_event event; member
206 ev_info.info = wrk->event.info; in smcd_handle_sw_event()
207 switch (wrk->event.code) { in smcd_handle_sw_event()
209 smc_smcd_terminate(wrk->smcd, wrk->event.tok, ev_info.vlan_id); in smcd_handle_sw_event()
215 wrk->event.tok, in smcd_handle_sw_event()
245 switch (wrk->event.type) { in smc_ism_event_work()
247 smc_smcd_terminate(wrk->smcd, wrk->event.tok, VLAN_VID_MASK); in smc_ism_event_work()
341 void smcd_handle_event(struct smcd_dev *smcd, struct smcd_event *event) in smcd_handle_event() argument
351 wrk->event = *event; in smcd_handle_event()
/net/phonet/
Dpn_netlink.c23 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/
Dgarp.c276 enum garp_attr_event event) in garp_pdu_append_attr() argument
301 ga->event = event; in garp_pdu_append_attr()
311 struct garp_attr *attr, enum garp_event event) in garp_attr_event() argument
315 state = garp_applicant_state_table[attr->state][event].state; in garp_attr_event()
319 switch (garp_applicant_state_table[attr->state][event].action) { in garp_attr_event()
380 static void garp_gid_event(struct garp_applicant *app, enum garp_event event) in garp_gid_event() argument
389 garp_attr_event(app, attr, event); in garp_gid_event()
430 enum garp_event event; in garp_pdu_parse_attr() local
447 switch (ga->event) { in garp_pdu_parse_attr()
454 event = GARP_EVENT_R_JOIN_EMPTY; in garp_pdu_parse_attr()
[all …]
Dmrp.c468 struct mrp_attr *attr, enum mrp_event event) in mrp_attr_event() argument
472 state = mrp_applicant_state_table[attr->state][event]; in mrp_attr_event()
478 if (event == MRP_EVENT_TX) { in mrp_attr_event()
565 static void mrp_mad_event(struct mrp_applicant *app, enum mrp_event event) in mrp_mad_event() argument
574 mrp_attr_event(app, attr, event); in mrp_mad_event()
635 enum mrp_event event; in mrp_pdu_parse_vecattr_event() local
645 event = MRP_EVENT_R_NEW; in mrp_pdu_parse_vecattr_event()
648 event = MRP_EVENT_R_JOIN_IN; in mrp_pdu_parse_vecattr_event()
651 event = MRP_EVENT_R_IN; in mrp_pdu_parse_vecattr_event()
654 event = MRP_EVENT_R_JOIN_MT; in mrp_pdu_parse_vecattr_event()
[all …]
/net/tipc/
Dsubscr.c43 u32 event, u32 port, u32 node) in tipc_sub_send_event() argument
49 tipc_evt_write(evt, event, event); in tipc_sub_send_event()
54 tipc_topsrv_queue_evt(sub->net, sub->conid, event, evt); in tipc_sub_send_event()
77 u32 event, u32 port, u32 node, in tipc_sub_report_overlap() argument
99 event, port, node); in tipc_sub_report_overlap()
/net/xfrm/
Dxfrm_replay.c38 static void xfrm_replay_notify(struct xfrm_state *x, int event) in xfrm_replay_notify() argument
51 switch (event) { in xfrm_replay_notify()
57 event = XFRM_REPLAY_TIMEOUT; in xfrm_replay_notify()
75 c.event = XFRM_MSG_NEWAE; in xfrm_replay_notify()
76 c.data.aevent = event; in xfrm_replay_notify()
277 static void xfrm_replay_notify_bmp(struct xfrm_state *x, int event) in xfrm_replay_notify_bmp() argument
293 switch (event) { in xfrm_replay_notify_bmp()
300 event = XFRM_REPLAY_TIMEOUT; in xfrm_replay_notify_bmp()
319 c.event = XFRM_MSG_NEWAE; in xfrm_replay_notify_bmp()
320 c.data.aevent = event; in xfrm_replay_notify_bmp()
[all …]
/net/vmw_vsock/
Dvirtio_transport.c428 struct virtio_vsock_event *event) in virtio_vsock_event_fill_one() argument
435 sg_init_one(&sg, event, sizeof(*event)); in virtio_vsock_event_fill_one()
437 return virtqueue_add_inbuf(vq, &sg, 1, event, GFP_KERNEL); in virtio_vsock_event_fill_one()
446 struct virtio_vsock_event *event = &vsock->event_list[i]; in virtio_vsock_event_fill() local
448 virtio_vsock_event_fill_one(vsock, event); in virtio_vsock_event_fill()
475 struct virtio_vsock_event *event) in virtio_vsock_event_handle() argument
477 switch (le32_to_cpu(event->id)) { in virtio_vsock_event_handle()
499 struct virtio_vsock_event *event; in virtio_transport_event_work() local
503 while ((event = virtqueue_get_buf(vq, &len)) != NULL) { in virtio_transport_event_work()
504 if (len == sizeof(*event)) in virtio_transport_event_work()
[all …]
/net/netfilter/
Dnft_chain_filter.c286 static void nft_netdev_event(unsigned long event, struct net_device *dev, in nft_netdev_event() argument
291 switch (event) { in nft_netdev_event()
315 unsigned long event, void *ptr) in nf_tables_netdev_event() argument
324 if (event != NETDEV_UNREGISTER && in nf_tables_netdev_event()
325 event != NETDEV_CHANGENAME) in nf_tables_netdev_event()
340 nft_netdev_event(event, dev, &ctx); in nf_tables_netdev_event()
Dnf_nat_masquerade.c76 unsigned long event, in masq_device_event() argument
82 if (event == NETDEV_DOWN) { in masq_device_event()
110 unsigned long event, in masq_inet_event() argument
124 if (event == NETDEV_DOWN) in masq_inet_event()
232 unsigned long event, void *ptr) in masq_inet6_event() argument
239 if (event != NETDEV_DOWN || atomic_read(&v6_worker_count) >= 16) in masq_inet6_event()
Dnfnetlink_cttimeout.c160 int event, struct ctnl_timeout *timeout) in ctnl_timeout_fill_info() argument
169 event = nfnl_msg_type(NFNL_SUBSYS_CTNETLINK_TIMEOUT, event); in ctnl_timeout_fill_info()
170 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnl_timeout_fill_info()
380 u32 seq, u32 type, int event, u16 l3num, in cttimeout_default_fill_info() argument
390 event = nfnl_msg_type(NFNL_SUBSYS_CTNETLINK_TIMEOUT, event); in cttimeout_default_fill_info()
391 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in cttimeout_default_fill_info()
/net/8021q/
Dvlan.c341 static int __vlan_device_event(struct net_device *dev, unsigned long event) in __vlan_device_event() argument
345 switch (event) { in __vlan_device_event()
361 static int vlan_device_event(struct notifier_block *unused, unsigned long event, in vlan_device_event() argument
376 int err = __vlan_device_event(dev, event); in vlan_device_event()
382 if ((event == NETDEV_UP) && in vlan_device_event()
388 if (event == NETDEV_DOWN && in vlan_device_event()
401 switch (event) { in vlan_device_event()
504 call_netdevice_notifiers(event, vlandev); in vlan_device_event()
/net/dcb/
Ddcbnl.c1370 static int dcbnl_notify(struct net_device *dev, int event, int cmd, in dcbnl_notify() argument
1382 skb = dcbnl_newmsg(event, cmd, portid, seq, 0, &nlh); in dcbnl_notify()
1404 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd, in dcbnl_ieee_notify() argument
1407 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_IEEE); in dcbnl_ieee_notify()
1411 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd, in dcbnl_cee_notify() argument
1414 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_CEE); in dcbnl_cee_notify()
1852 struct dcb_app_type event; in dcb_setapp() local
1855 event.ifindex = dev->ifindex; in dcb_setapp()
1856 memcpy(&event.app, new, sizeof(event.app)); in dcb_setapp()
1858 event.dcbx = dev->dcbnl_ops->getdcbx(dev); in dcb_setapp()
[all …]
/net/wireless/
Dwext-sme.c93 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()
169 bool event = true; in cfg80211_mgd_wext_siwessid() local
178 event = false; in cfg80211_mgd_wext_siwessid()
180 WLAN_REASON_DEAUTH_LEAVING, event); in cfg80211_mgd_wext_siwessid()
Dwext-core.c458 struct iw_event *event; /* Mallocated whole event */ in wireless_send_event() local
572 event = nla_data(nla); in wireless_send_event()
575 memset(event, 0, hdr_len); in wireless_send_event()
576 event->len = event_len; in wireless_send_event()
577 event->cmd = cmd; in wireless_send_event()
578 memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); in wireless_send_event()
580 memcpy(((char *) event) + hdr_len, extra, extra_len); in wireless_send_event()
1166 char *iwe_stream_add_value(struct iw_request_info *info, char *event, in iwe_stream_add_value() argument
1181 iwe->len = value - event; in iwe_stream_add_value()
1182 memcpy(event, (char *) iwe, lcp_len); in iwe_stream_add_value()
/net/ipv4/
Dtcp_veno.c113 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()
Dfib_lookup.h38 int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, u32 tb_id,
41 void rtmsg_fib(int event, __be32 key, struct fib_alias *fa, int dst_len,

1234567