Home
last modified time | relevance | path

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

1234

/net/sctp/
Dulpevent.c52 static void sctp_ulpevent_receive_data(struct sctp_ulpevent *event,
54 static void sctp_ulpevent_release_data(struct sctp_ulpevent *event);
55 static void sctp_ulpevent_release_frag_data(struct sctp_ulpevent *event);
59 SCTP_STATIC void sctp_ulpevent_init(struct sctp_ulpevent *event, in sctp_ulpevent_init() argument
63 memset(event, 0, sizeof(struct sctp_ulpevent)); in sctp_ulpevent_init()
64 event->msg_flags = msg_flags; in sctp_ulpevent_init()
65 event->rmem_len = len; in sctp_ulpevent_init()
72 struct sctp_ulpevent *event; in sctp_ulpevent_new() local
79 event = sctp_skb2event(skb); in sctp_ulpevent_new()
80 sctp_ulpevent_init(event, msg_flags, skb->truesize); in sctp_ulpevent_new()
[all …]
Dulpqueue.c80 struct sctp_ulpevent *event; in sctp_ulpq_flush() local
83 event = sctp_skb2event(skb); in sctp_ulpq_flush()
84 sctp_ulpevent_free(event); in sctp_ulpq_flush()
88 event = sctp_skb2event(skb); in sctp_ulpq_flush()
89 sctp_ulpevent_free(event); in sctp_ulpq_flush()
108 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local
113 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp); in sctp_ulpq_tail_data()
114 if (!event) in sctp_ulpq_tail_data()
118 event = sctp_ulpq_reasm(ulpq, event); in sctp_ulpq_tail_data()
121 if ((event) && (event->msg_flags & MSG_EOR)){ in sctp_ulpq_tail_data()
[all …]
/net/irda/
Diriap_event.c32 static void state_s_disconnect (struct iriap_cb *self, IRIAP_EVENT event,
34 static void state_s_connecting (struct iriap_cb *self, IRIAP_EVENT event,
36 static void state_s_call (struct iriap_cb *self, IRIAP_EVENT event,
39 static void state_s_make_call (struct iriap_cb *self, IRIAP_EVENT event,
41 static void state_s_calling (struct iriap_cb *self, IRIAP_EVENT event,
43 static void state_s_outstanding (struct iriap_cb *self, IRIAP_EVENT event,
45 static void state_s_replying (struct iriap_cb *self, IRIAP_EVENT event,
47 static void state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event,
49 static void state_s_wait_active (struct iriap_cb *self, IRIAP_EVENT event,
52 static void state_r_disconnect (struct iriap_cb *self, IRIAP_EVENT event,
[all …]
Dirlmp_event.c139 int irlmp_do_lsap_event(struct lsap_cb *self, IRLMP_EVENT event, in irlmp_do_lsap_event() argument
146 __func__, irlmp_event[event], irlsap_state[ self->lsap_state]); in irlmp_do_lsap_event()
148 return (*lsap_state[self->lsap_state]) (self, event, skb); in irlmp_do_lsap_event()
157 void irlmp_do_lap_event(struct lap_cb *self, IRLMP_EVENT event, in irlmp_do_lap_event() argument
164 irlmp_event[event], in irlmp_do_lap_event()
167 (*lap_state[self->lap_state]) (self, event, skb); in irlmp_do_lap_event()
212 IRLMP_EVENT event) in irlmp_do_all_lsap_event() argument
239 irlmp_do_lsap_event(lsap, event, NULL); in irlmp_do_all_lsap_event()
256 static void irlmp_state_standby(struct lap_cb *self, IRLMP_EVENT event, in irlmp_state_standby() argument
262 switch (event) { in irlmp_state_standby()
[all …]
Dirlap_event.c49 static int irlap_state_ndm (struct irlap_cb *self, IRLAP_EVENT event,
51 static int irlap_state_query (struct irlap_cb *self, IRLAP_EVENT event,
53 static int irlap_state_reply (struct irlap_cb *self, IRLAP_EVENT event,
55 static int irlap_state_conn (struct irlap_cb *self, IRLAP_EVENT event,
57 static int irlap_state_setup (struct irlap_cb *self, IRLAP_EVENT event,
59 static int irlap_state_offline(struct irlap_cb *self, IRLAP_EVENT event,
61 static int irlap_state_xmit_p (struct irlap_cb *self, IRLAP_EVENT event,
63 static int irlap_state_pclose (struct irlap_cb *self, IRLAP_EVENT event,
65 static int irlap_state_nrm_p (struct irlap_cb *self, IRLAP_EVENT event,
67 static int irlap_state_reset_wait(struct irlap_cb *self, IRLAP_EVENT event,
[all …]
/net/irda/irlan/
Dirlan_client_event.c39 static int irlan_client_state_idle (struct irlan_cb *self, IRLAN_EVENT event,
41 static int irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event,
43 static int irlan_client_state_conn (struct irlan_cb *self, IRLAN_EVENT event,
45 static int irlan_client_state_info (struct irlan_cb *self, IRLAN_EVENT event,
47 static int irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event,
49 static int irlan_client_state_open (struct irlan_cb *self, IRLAN_EVENT event,
51 static int irlan_client_state_wait (struct irlan_cb *self, IRLAN_EVENT event,
53 static int irlan_client_state_arb (struct irlan_cb *self, IRLAN_EVENT event,
55 static int irlan_client_state_data (struct irlan_cb *self, IRLAN_EVENT event,
57 static int irlan_client_state_close(struct irlan_cb *self, IRLAN_EVENT event,
[all …]
Dirlan_provider_event.c33 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event,
35 static int irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event,
37 static int irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event,
39 static int irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event,
42 static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event,
58 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event, in irlan_do_provider_event() argument
63 (*state[self->provider.state]) (self, event, skb); in irlan_do_provider_event()
72 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event, in irlan_provider_state_idle() argument
79 switch(event) { in irlan_provider_state_idle()
85 IRDA_DEBUG(4, "%s(), Unknown event %d\n", __func__ , event); in irlan_provider_state_idle()
[all …]
/net/irda/ircomm/
Dircomm_event.c43 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event,
45 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event,
47 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event,
49 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event,
80 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event,
95 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_idle() argument
100 switch (event) { in ircomm_state_idle()
112 ircomm_event[event]); in ircomm_state_idle()
124 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, in ircomm_state_waiti() argument
129 switch (event) { in ircomm_state_waiti()
[all …]
Dircomm_tty_attach.c59 IRCOMM_TTY_EVENT event,
63 IRCOMM_TTY_EVENT event,
67 IRCOMM_TTY_EVENT event,
71 IRCOMM_TTY_EVENT event,
75 IRCOMM_TTY_EVENT event,
79 IRCOMM_TTY_EVENT event,
112 static int (*state[])(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event,
625 int ircomm_tty_do_event(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, in ircomm_tty_do_event() argument
632 ircomm_tty_state[self->state], ircomm_tty_event[event]); in ircomm_tty_do_event()
634 return (*state[self->state])(self, event, skb, info); in ircomm_tty_do_event()
[all …]
/net/bridge/
Dbr_notify.c20 static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr);
32 static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr) in br_device_event() argument
44 switch (event) { in br_device_event()
88 if (event == NETDEV_CHANGEADDR || event == NETDEV_UP || in br_device_event()
89 event == NETDEV_CHANGE || event == NETDEV_DOWN) in br_device_event()
Dbr_netlink.c36 u32 pid, u32 seq, int event, unsigned int flags) in br_fill_ifinfo() argument
45 event, dev->name, br->dev->name); in br_fill_ifinfo()
47 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); in br_fill_ifinfo()
70 if (event == RTM_NEWLINK) in br_fill_ifinfo()
83 void br_ifinfo_notify(int event, struct net_bridge_port *port) in br_ifinfo_notify() argument
89 pr_debug("bridge notify event=%d\n", event); in br_ifinfo_notify()
94 err = br_fill_ifinfo(skb, port, 0, 0, event, 0); in br_ifinfo_notify()
/net/irda/irnet/
Dirnet_ppp.c215 char * event) in irnet_read_discovery_log() argument
220 ap, event); in irnet_read_discovery_log()
237 sprintf(event, "Found %08x (%s) behind %08x {hints %02X-%02X}\n", in irnet_read_discovery_log()
282 char event[64]; /* Max event is 61 char */ in irnet_ctrl_read() local
288 DABORT(count < sizeof(event), -EOVERFLOW, CTRL_ERROR, "Buffer to small.\n"); in irnet_ctrl_read()
292 if(irnet_read_discovery_log(ap, event)) in irnet_ctrl_read()
295 if(copy_to_user(buf, event, strlen(event))) in irnet_ctrl_read()
302 return(strlen(event)); in irnet_ctrl_read()
336 switch(irnet_events.log[ap->event_index].event) in irnet_ctrl_read()
339 sprintf(event, "Discovered %08x (%s) behind %08x {hints %02X-%02X}\n", in irnet_ctrl_read()
[all …]
/net/mac80211/
Dmesh_plink.c401 enum plink_event event; in mesh_rx_plink_frame() local
464 event = PLINK_UNDEFINED; in mesh_rx_plink_frame()
468 event = OPN_RJCT; in mesh_rx_plink_frame()
471 event = CNF_RJCT; in mesh_rx_plink_frame()
498 event = OPN_ACPT; in mesh_rx_plink_frame()
506 event = OPN_IGNR; in mesh_rx_plink_frame()
508 event = OPN_ACPT; in mesh_rx_plink_frame()
513 event = CNF_IGNR; in mesh_rx_plink_frame()
515 event = CNF_ACPT; in mesh_rx_plink_frame()
528 event = CLS_ACPT; in mesh_rx_plink_frame()
[all …]
/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c172 static void cq_event_handler(struct ib_event *event, void *context) in cq_event_handler() argument
176 event->event, context); in cq_event_handler()
181 static void qp_event_handler(struct ib_event *event, void *context) in qp_event_handler() argument
185 switch (event->event) { in qp_event_handler()
192 event->event, event->element.qp); in qp_event_handler()
203 event->event, event->element.qp); in qp_event_handler()
591 struct rdma_cm_event *event) in rdma_listen_handler() argument
596 switch (event->event) { in rdma_listen_handler()
599 "event=%d\n", cma_id, cma_id->context, event->event); in rdma_listen_handler()
601 event->param.conn.initiator_depth); in rdma_listen_handler()
[all …]
Dverbs.c116 rpcrdma_qp_async_error_upcall(struct ib_event *event, void *context) in rpcrdma_qp_async_error_upcall() argument
121 __func__, event->event, event->device->name, context); in rpcrdma_qp_async_error_upcall()
130 rpcrdma_cq_async_error_upcall(struct ib_event *event, void *context) in rpcrdma_cq_async_error_upcall() argument
135 __func__, event->event, event->device->name, context); in rpcrdma_cq_async_error_upcall()
274 rpcrdma_conn_upcall(struct rdma_cm_id *id, struct rdma_cm_event *event) in rpcrdma_conn_upcall() argument
286 switch (event->event) { in rpcrdma_conn_upcall()
330 (event->event <= 11) ? conn[event->event] : in rpcrdma_conn_upcall()
334 ep, event->event); in rpcrdma_conn_upcall()
344 __func__, event->event); in rpcrdma_conn_upcall()
/net/802/
Dgarp.c279 enum garp_attr_event event) in garp_pdu_append_attr() argument
304 ga->event = event; in garp_pdu_append_attr()
314 struct garp_attr *attr, enum garp_event event) in garp_attr_event() argument
318 state = garp_applicant_state_table[attr->state][event].state; in garp_attr_event()
322 switch (garp_applicant_state_table[attr->state][event].action) { in garp_attr_event()
383 static void garp_gid_event(struct garp_applicant *app, enum garp_event event) in garp_gid_event() argument
392 garp_attr_event(app, attr, event); in garp_gid_event()
433 enum garp_event event; in garp_pdu_parse_attr() local
450 switch (ga->event) { in garp_pdu_parse_attr()
457 event = GARP_EVENT_R_JOIN_EMPTY; in garp_pdu_parse_attr()
[all …]
/net/phonet/
Dpn_netlink.c33 u32 pid, u32 seq, int event);
35 static void rtmsg_notify(int event, struct net_device *dev, u8 addr) in rtmsg_notify() argument
44 err = fill_addr(skb, dev, addr, 0, 0, event); in rtmsg_notify()
101 u32 pid, u32 seq, int event) in fill_addr() argument
106 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*ifm), 0); in fill_addr()
/net/ipv4/netfilter/
Dipt_MASQUERADE.c113 unsigned long event, in masq_device_event() argument
119 if (event == NETDEV_DOWN) { in masq_device_event()
133 unsigned long event, in masq_inet_event() argument
137 return masq_device_event(this, event, dev); in masq_inet_event()
/net/tipc/
Dsubscr.h44 u32 event, u32 port_ref, u32 node);
80 u32 event,
/net/wireless/
Dwext.c1263 int type, char *event, int event_len) in rtnetlink_fill_iwinfo() argument
1282 NLA_PUT(skb, IFLA_WIRELESS, event_len, event); in rtnetlink_fill_iwinfo()
1298 static void rtmsg_iwinfo(struct net_device *dev, char *event, int event_len) in rtmsg_iwinfo() argument
1310 err = rtnetlink_fill_iwinfo(skb, dev, RTM_NEWLINK, event, event_len); in rtmsg_iwinfo()
1335 struct iw_event *event; /* Mallocated whole event */ in wireless_send_event() local
1389 event = kmalloc(event_len, GFP_ATOMIC); in wireless_send_event()
1390 if (event == NULL) in wireless_send_event()
1394 event->len = event_len; in wireless_send_event()
1395 event->cmd = cmd; in wireless_send_event()
1396 memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); in wireless_send_event()
[all …]
/net/ipv4/
Dtcp_veno.c111 static void tcp_veno_cwnd_event(struct sock *sk, enum tcp_ca_event event) in tcp_veno_cwnd_event() argument
113 if (event == CA_EVENT_CWND_RESTART || event == CA_EVENT_TX_START) in tcp_veno_cwnd_event()
Dtcp_vegas.c153 void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event) in tcp_vegas_cwnd_event() argument
155 if (event == CA_EVENT_CWND_RESTART || in tcp_vegas_cwnd_event()
156 event == CA_EVENT_TX_START) in tcp_vegas_cwnd_event()
Dfib_lookup.h30 extern int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event,
34 extern void rtmsg_fib(int event, __be32 key, struct fib_alias *fa,
/net/9p/
Dtrans_rdma.c223 p9_cm_event_handler(struct rdma_cm_id *id, struct rdma_cm_event *event) in p9_cm_event_handler() argument
227 switch (event->event) { in p9_cm_event_handler()
319 static void qp_event_handler(struct ib_event *event, void *context) in qp_event_handler() argument
321 P9_DPRINTK(P9_DEBUG_ERROR, "QP event %d context %p\n", event->event, in qp_event_handler()
359 P9_DPRINTK(P9_DEBUG_ERROR, "CQ event %d context %p\n", e->event, v); in cq_event_handler()
/net/core/
Ddst.c306 static int dst_dev_event(struct notifier_block *this, unsigned long event, void *ptr) in dst_dev_event() argument
311 switch (event) { in dst_dev_event()
317 dst_ifdown(dst, dev, event != NETDEV_DOWN); in dst_dev_event()
330 dst_ifdown(dst, dev, event != NETDEV_DOWN); in dst_dev_event()

1234