/net/x25/ |
D | x25_link.c | 39 static void x25_transmit_restart_confirmation(struct x25_neigh *nb); 40 static void x25_transmit_restart_request(struct x25_neigh *nb); 45 static inline void x25_start_t20timer(struct x25_neigh *nb) in x25_start_t20timer() argument 47 mod_timer(&nb->t20timer, jiffies + nb->t20); in x25_start_t20timer() 52 struct x25_neigh *nb = (struct x25_neigh *)param; in x25_t20timer_expiry() local 54 x25_transmit_restart_request(nb); in x25_t20timer_expiry() 56 x25_start_t20timer(nb); in x25_t20timer_expiry() 59 static inline void x25_stop_t20timer(struct x25_neigh *nb) in x25_stop_t20timer() argument 61 del_timer(&nb->t20timer); in x25_stop_t20timer() 64 static inline int x25_t20timer_pending(struct x25_neigh *nb) in x25_t20timer_pending() argument [all …]
|
D | x25_dev.c | 29 static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *nb) in x25_receive_data() argument 46 x25_link_control(skb, nb, frametype); in x25_receive_data() 53 if ((sk = x25_find_socket(lci, nb)) != NULL) { in x25_receive_data() 72 return x25_rx_call_request(skb, nb, lci); in x25_receive_data() 79 if (x25_forward_data(lci, nb, skb)) { in x25_receive_data() 101 struct x25_neigh *nb; in x25_lapb_receive_frame() local 115 nb = x25_get_neigh(dev); in x25_lapb_receive_frame() 116 if (!nb) { in x25_lapb_receive_frame() 128 if (x25_receive_data(skb, nb)) { in x25_lapb_receive_frame() 129 x25_neigh_put(nb); in x25_lapb_receive_frame() [all …]
|
D | af_x25.c | 228 struct x25_neigh *nb; in x25_device_event() local 243 nb = x25_get_neigh(dev); in x25_device_event() 244 if (nb) { in x25_device_event() 245 x25_terminate_link(nb); in x25_device_event() 246 x25_neigh_put(nb); in x25_device_event() 321 static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb) in __x25_find_socket() argument 326 if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { in __x25_find_socket() 335 struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *nb) in x25_find_socket() argument 340 s = __x25_find_socket(lci, nb); in x25_find_socket() 348 static unsigned int x25_new_lci(struct x25_neigh *nb) in x25_new_lci() argument [all …]
|
D | x25_forward.c | 99 struct x25_neigh *nb; in x25_forward_data() local 118 if ( (nb = x25_get_neigh(peer)) == NULL) in x25_forward_data() 125 x25_transmit_link(skbn, nb); in x25_forward_data() 129 x25_neigh_put(nb); in x25_forward_data()
|
D | x25_facilities.c | 335 struct x25_neigh *nb) in x25_limit_facilities() argument 338 if (!nb->extended) { in x25_limit_facilities()
|
/net/dcb/ |
D | dcbevent.c | 27 int register_dcbevent_notifier(struct notifier_block *nb) in register_dcbevent_notifier() argument 29 return atomic_notifier_chain_register(&dcbevent_notif_chain, nb); in register_dcbevent_notifier() 33 int unregister_dcbevent_notifier(struct notifier_block *nb) in unregister_dcbevent_notifier() argument 35 return atomic_notifier_chain_unregister(&dcbevent_notif_chain, nb); in unregister_dcbevent_notifier()
|
/net/core/ |
D | netevent.c | 32 int register_netevent_notifier(struct notifier_block *nb) in register_netevent_notifier() argument 36 err = atomic_notifier_chain_register(&netevent_notif_chain, nb); in register_netevent_notifier() 51 int unregister_netevent_notifier(struct notifier_block *nb) in unregister_netevent_notifier() argument 53 return atomic_notifier_chain_unregister(&netevent_notif_chain, nb); in unregister_netevent_notifier()
|
D | dev.c | 1452 int register_netdevice_notifier(struct notifier_block *nb) in register_netdevice_notifier() argument 1460 err = raw_notifier_chain_register(&netdev_chain, nb); in register_netdevice_notifier() 1467 err = nb->notifier_call(nb, NETDEV_REGISTER, dev); in register_netdevice_notifier() 1475 nb->notifier_call(nb, NETDEV_UP, dev); in register_netdevice_notifier() 1491 nb->notifier_call(nb, NETDEV_GOING_DOWN, dev); in register_netdevice_notifier() 1492 nb->notifier_call(nb, NETDEV_DOWN, dev); in register_netdevice_notifier() 1494 nb->notifier_call(nb, NETDEV_UNREGISTER, dev); in register_netdevice_notifier() 1499 raw_notifier_chain_unregister(&netdev_chain, nb); in register_netdevice_notifier() 1518 int unregister_netdevice_notifier(struct notifier_block *nb) in unregister_netdevice_notifier() argument 1525 err = raw_notifier_chain_unregister(&netdev_chain, nb); in unregister_netdevice_notifier() [all …]
|
/net/ipv6/ |
D | addrconf_core.c | 83 int register_inet6addr_notifier(struct notifier_block *nb) in register_inet6addr_notifier() argument 85 return atomic_notifier_chain_register(&inet6addr_chain, nb); in register_inet6addr_notifier() 89 int unregister_inet6addr_notifier(struct notifier_block *nb) in unregister_inet6addr_notifier() argument 91 return atomic_notifier_chain_unregister(&inet6addr_chain, nb); in unregister_inet6addr_notifier()
|
/net/rose/ |
D | rose_subr.c | 440 int len, nb; in rose_create_facilities() local 458 for (nb = 0 ; nb < rose->source_ndigis ; nb++) { in rose_create_facilities() 461 memcpy(p, &rose->source_digis[nb], AX25_ADDR_LEN); in rose_create_facilities() 465 for (nb = 0 ; nb < rose->dest_ndigis ; nb++) { in rose_create_facilities() 468 memcpy(p, &rose->dest_digis[nb], AX25_ADDR_LEN); in rose_create_facilities()
|
/net/tipc/ |
D | eth_media.c | 64 static int recv_notification(struct notifier_block *nb, unsigned long evt, 253 static int recv_notification(struct notifier_block *nb, unsigned long evt, in recv_notification() argument
|
D | ib_media.c | 246 static int recv_notification(struct notifier_block *nb, unsigned long evt, in recv_notification() argument
|
/net/ |
D | activity_stats.c | 79 static int activity_stats_notifier(struct notifier_block *nb, in activity_stats_notifier() argument
|
/net/atm/ |
D | common.c | 845 int register_atmdevice_notifier(struct notifier_block *nb) in register_atmdevice_notifier() argument 847 return atomic_notifier_chain_register(&atm_dev_notify_chain, nb); in register_atmdevice_notifier() 851 void unregister_atmdevice_notifier(struct notifier_block *nb) in unregister_atmdevice_notifier() argument 853 atomic_notifier_chain_unregister(&atm_dev_notify_chain, nb); in unregister_atmdevice_notifier()
|
/net/mac80211/ |
D | main.c | 300 static int ieee80211_ifa_changed(struct notifier_block *nb, in ieee80211_ifa_changed() argument 305 container_of(nb, struct ieee80211_local, in ieee80211_ifa_changed() 359 static int ieee80211_ifa6_changed(struct notifier_block *nb, in ieee80211_ifa6_changed() argument 366 container_of(nb, struct ieee80211_local, ifa6_notifier); in ieee80211_ifa6_changed()
|
/net/decnet/ |
D | dn_dev.c | 1265 int register_dnaddr_notifier(struct notifier_block *nb) in register_dnaddr_notifier() argument 1267 return blocking_notifier_chain_register(&dnaddr_chain, nb); in register_dnaddr_notifier() 1270 int unregister_dnaddr_notifier(struct notifier_block *nb) in unregister_dnaddr_notifier() argument 1272 return blocking_notifier_chain_unregister(&dnaddr_chain, nb); in unregister_dnaddr_notifier()
|
/net/sunrpc/ |
D | rpc_pipe.c | 49 int rpc_pipefs_notifier_register(struct notifier_block *nb) in rpc_pipefs_notifier_register() argument 51 return blocking_notifier_chain_cond_register(&rpc_pipefs_notifier_list, nb); in rpc_pipefs_notifier_register() 55 void rpc_pipefs_notifier_unregister(struct notifier_block *nb) in rpc_pipefs_notifier_unregister() argument 57 blocking_notifier_chain_unregister(&rpc_pipefs_notifier_list, nb); in rpc_pipefs_notifier_unregister()
|
/net/can/ |
D | raw.c | 241 static int raw_notifier(struct notifier_block *nb, in raw_notifier() argument 245 struct raw_sock *ro = container_of(nb, struct raw_sock, notifier); in raw_notifier()
|
D | bcm.c | 1352 static int bcm_notifier(struct notifier_block *nb, unsigned long msg, in bcm_notifier() argument 1356 struct bcm_sock *bo = container_of(nb, struct bcm_sock, notifier); in bcm_notifier()
|
D | af_can.c | 796 static int can_notifier(struct notifier_block *nb, unsigned long msg, in can_notifier() argument
|
/net/ipv4/ |
D | devinet.c | 1276 int register_inetaddr_notifier(struct notifier_block *nb) in register_inetaddr_notifier() argument 1278 return blocking_notifier_chain_register(&inetaddr_chain, nb); in register_inetaddr_notifier() 1282 int unregister_inetaddr_notifier(struct notifier_block *nb) in unregister_inetaddr_notifier() argument 1284 return blocking_notifier_chain_unregister(&inetaddr_chain, nb); in unregister_inetaddr_notifier()
|
/net/bluetooth/ |
D | l2cap_sock.c | 1061 unsigned long len, int nb) in l2cap_sock_alloc_skb_cb() argument 1067 skb = bt_skb_send_alloc(chan->sk, len, nb, &err); in l2cap_sock_alloc_skb_cb()
|
D | a2mp.c | 692 unsigned long len, int nb) in a2mp_chan_alloc_skb_cb() argument
|
/net/netlink/ |
D | af_netlink.c | 2806 int netlink_register_notifier(struct notifier_block *nb) in netlink_register_notifier() argument 2808 return atomic_notifier_chain_register(&netlink_chain, nb); in netlink_register_notifier() 2812 int netlink_unregister_notifier(struct notifier_block *nb) in netlink_unregister_notifier() argument 2814 return atomic_notifier_chain_unregister(&netlink_chain, nb); in netlink_unregister_notifier()
|
/net/netfilter/ |
D | xt_qtaguid.c | 1386 static int iface_netdev_event_handler(struct notifier_block *nb, in iface_netdev_event_handler() argument 1411 static int iface_inet6addr_event_handler(struct notifier_block *nb, in iface_inet6addr_event_handler() argument 1442 static int iface_inetaddr_event_handler(struct notifier_block *nb, in iface_inetaddr_event_handler() argument
|