Searched defs:nb (Results 1 - 25 of 34) sorted by relevance

12

/net/core/
H A Dnetevent.c25 * @nb: notifier
32 int register_netevent_notifier(struct notifier_block *nb) argument
36 err = atomic_notifier_chain_register(&netevent_notif_chain, nb);
43 * @nb: notifier
51 int unregister_netevent_notifier(struct notifier_block *nb) argument
53 return atomic_notifier_chain_unregister(&netevent_notif_chain, nb);
/net/dcb/
H A Ddcbevent.c26 int register_dcbevent_notifier(struct notifier_block *nb) argument
28 return atomic_notifier_chain_register(&dcbevent_notif_chain, nb);
32 int unregister_dcbevent_notifier(struct notifier_block *nb) argument
34 return atomic_notifier_chain_unregister(&dcbevent_notif_chain, nb);
/net/hsr/
H A Dhsr_main.c23 static int hsr_netdev_notify(struct notifier_block *nb, unsigned long event, argument
/net/x25/
H A Dx25_dev.c31 static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *nb) argument
48 x25_link_control(skb, nb, frametype);
55 if ((sk = x25_find_socket(lci, nb)) != NULL) {
74 return x25_rx_call_request(skb, nb, lci);
81 if (x25_forward_data(lci, nb, skb)) {
90 x25_transmit_clear_request(nb, lci, 0x0D);
103 struct x25_neigh *nb; local
117 nb = x25_get_neigh(dev);
118 if (!nb) {
130 if (x25_receive_data(skb, nb)) {
151 x25_establish_link(struct x25_neigh *nb) argument
180 x25_terminate_link(struct x25_neigh *nb) argument
206 x25_send_frame(struct sk_buff *skb, struct x25_neigh *nb) argument
[all...]
H A Dx25_facilities.c341 struct x25_neigh *nb)
344 if (!nb->extended) {
340 x25_limit_facilities(struct x25_facilities *facilities, struct x25_neigh *nb) argument
H A Dx25_forward.c102 struct x25_neigh *nb; local
121 if ( (nb = x25_get_neigh(peer)) == NULL)
128 x25_transmit_link(skbn, nb);
132 x25_neigh_put(nb);
H A Dx25_link.c41 static void x25_transmit_restart_confirmation(struct x25_neigh *nb);
42 static void x25_transmit_restart_request(struct x25_neigh *nb);
47 static inline void x25_start_t20timer(struct x25_neigh *nb) argument
49 mod_timer(&nb->t20timer, jiffies + nb->t20);
54 struct x25_neigh *nb = (struct x25_neigh *)param; local
56 x25_transmit_restart_request(nb);
58 x25_start_t20timer(nb);
61 static inline void x25_stop_t20timer(struct x25_neigh *nb) argument
63 del_timer(&nb
66 x25_t20timer_pending(struct x25_neigh *nb) argument
74 x25_link_control(struct sk_buff *skb, struct x25_neigh *nb, unsigned short frametype) argument
117 x25_transmit_restart_request(struct x25_neigh *nb) argument
144 x25_transmit_restart_confirmation(struct x25_neigh *nb) argument
170 x25_transmit_clear_request(struct x25_neigh *nb, unsigned int lci, unsigned char cause) argument
197 x25_transmit_link(struct sk_buff *skb, struct x25_neigh *nb) argument
218 x25_link_established(struct x25_neigh *nb) argument
237 x25_link_terminated(struct x25_neigh *nb) argument
249 struct x25_neigh *nb = kmalloc(sizeof(*nb), GFP_ATOMIC); local
283 __x25_remove_neigh(struct x25_neigh *nb) argument
299 struct x25_neigh *nb; local
321 struct x25_neigh *nb, *use = NULL; local
346 struct x25_neigh *nb; local
397 struct x25_neigh *nb; local
[all...]
/net/
H A Dactivity_stats.c79 static int activity_stats_notifier(struct notifier_block *nb, argument
/net/ipv6/
H A Daddrconf_core.c92 int register_inet6addr_notifier(struct notifier_block *nb) argument
94 return atomic_notifier_chain_register(&inet6addr_chain, nb);
98 int unregister_inet6addr_notifier(struct notifier_block *nb) argument
100 return atomic_notifier_chain_unregister(&inet6addr_chain, nb);
/net/can/
H A Daf_can.c818 static int can_notifier(struct notifier_block *nb, unsigned long msg, argument
H A Draw.c237 static int raw_notifier(struct notifier_block *nb, argument
241 struct raw_sock *ro = container_of(nb, struct raw_sock, notifier);
H A Dgw.c453 static int cgw_notifier(struct notifier_block *nb, argument
H A Dbcm.c1351 static int bcm_notifier(struct notifier_block *nb, unsigned long msg, argument
1355 struct bcm_sock *bo = container_of(nb, struct bcm_sock, notifier);
/net/rose/
H A Drose_subr.c440 int len, nb; local
458 for (nb = 0 ; nb < rose->source_ndigis ; nb++) {
461 memcpy(p, &rose->source_digis[nb], AX25_ADDR_LEN);
465 for (nb = 0 ; nb < rose->dest_ndigis ; nb++) {
468 memcpy(p, &rose->dest_digis[nb], AX25_ADDR_LEN);
/net/tipc/
H A Dbearer.c547 * @nb: the context of the notification
554 static int tipc_l2_device_event(struct notifier_block *nb, unsigned long evt, argument
/net/bluetooth/
H A Da2mp.c697 unsigned long len, int nb)
695 a2mp_chan_alloc_skb_cb(struct l2cap_chan *chan, unsigned long hdr_len, unsigned long len, int nb) argument
H A Dl2cap_sock.c1298 unsigned long len, int nb)
1305 skb = bt_skb_send_alloc(sk, hdr_len + len, nb, &err);
1296 l2cap_sock_alloc_skb_cb(struct l2cap_chan *chan, unsigned long hdr_len, unsigned long len, int nb) argument
H A D6lowpan.c977 unsigned long len, int nb)
975 chan_alloc_skb_cb(struct l2cap_chan *chan, unsigned long hdr_len, unsigned long len, int nb) argument
H A Dsmp.c1621 unsigned long len, int nb)
1619 smp_alloc_skb_cb(struct l2cap_chan *chan, unsigned long hdr_len, unsigned long len, int nb) argument
/net/mac80211/
H A Dmain.c291 static int ieee80211_ifa_changed(struct notifier_block *nb, argument
296 container_of(nb, struct ieee80211_local,
350 static int ieee80211_ifa6_changed(struct notifier_block *nb, argument
357 container_of(nb, struct ieee80211_local, ifa6_notifier);
H A Diface.c1822 static int netdev_notify(struct notifier_block *nb, argument
/net/sched/
H A Dsch_tbf.c163 int ret, nb; local
170 nb = 0;
180 nb++;
184 sch->q.qlen += nb;
185 if (nb > 1)
186 qdisc_tree_decrease_qlen(sch, 1 - nb);
188 return nb > 0 ? NET_XMIT_SUCCESS : NET_XMIT_DROP;
/net/atm/
H A Dcommon.c843 int register_atmdevice_notifier(struct notifier_block *nb) argument
845 return atomic_notifier_chain_register(&atm_dev_notify_chain, nb);
849 void unregister_atmdevice_notifier(struct notifier_block *nb) argument
851 atomic_notifier_chain_unregister(&atm_dev_notify_chain, nb);
/net/wireless/
H A Dcore.c869 static int cfg80211_netdev_notifier_call(struct notifier_block *nb, argument
/net/decnet/
H A Ddn_dev.c1271 int register_dnaddr_notifier(struct notifier_block *nb) argument
1273 return blocking_notifier_chain_register(&dnaddr_chain, nb);
1276 int unregister_dnaddr_notifier(struct notifier_block *nb) argument
1278 return blocking_notifier_chain_unregister(&dnaddr_chain, nb);

Completed in 500 milliseconds

12