Home
last modified time | relevance | path

Searched refs:ni (Results 1 – 6 of 6) sorted by relevance

/net/core/
Dnetpoll.c174 struct netpoll_info *ni = rcu_dereference_bh(dev->npinfo); in netpoll_poll_dev() local
181 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev()
185 up(&ni->dev_lock); in netpoll_poll_dev()
195 up(&ni->dev_lock); in netpoll_poll_dev()
203 struct netpoll_info *ni; in netpoll_poll_disable() local
207 ni = srcu_dereference(dev->npinfo, &netpoll_srcu); in netpoll_poll_disable()
208 if (ni) in netpoll_poll_disable()
209 down(&ni->dev_lock); in netpoll_poll_disable()
216 struct netpoll_info *ni; in netpoll_poll_enable() local
218 ni = rcu_dereference(dev->npinfo); in netpoll_poll_enable()
[all …]
/net/atm/
Dbr2684.c666 struct atm_newif_br2684 ni; in br2684_create() local
671 if (copy_from_user(&ni, arg, sizeof ni)) in br2684_create()
674 if (ni.media & BR2684_FLAG_ROUTED) in br2684_create()
678 ni.media &= 0xffff; /* strip flags */ in br2684_create()
680 if (ni.media != BR2684_MEDIA_ETHERNET || ni.mtu != 1500) in br2684_create()
684 ni.ifname[0] ? ni.ifname : "nas%d", in br2684_create()
/net/bridge/netfilter/
Debt_802_3.c27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt()
/net/bluetooth/
Dhci_sock.c407 struct hci_mon_new_index *ni; in create_monitor_event() local
418 ni = skb_put(skb, HCI_MON_NEW_INDEX_SIZE); in create_monitor_event()
419 ni->type = hdev->dev_type; in create_monitor_event()
420 ni->bus = hdev->bus; in create_monitor_event()
421 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event()
422 memcpy(ni->name, hdev->name, 8); in create_monitor_event()
/net/bridge/
Dbr_device.c321 static int br_netpoll_setup(struct net_device *dev, struct netpoll_info *ni) in br_netpoll_setup() argument
/net/dsa/
Dslave.c794 struct netpoll_info *ni) in dsa_slave_netpoll_setup() argument