Searched refs:ni (Results 1 – 6 of 6) sorted by relevance
174 struct netpoll_info *ni = rcu_dereference_bh(dev->npinfo); in netpoll_poll_dev() local181 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() local207 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() local218 ni = rcu_dereference(dev->npinfo); in netpoll_poll_enable()[all …]
666 struct atm_newif_br2684 ni; in br2684_create() local671 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()
27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt()
407 struct hci_mon_new_index *ni; in create_monitor_event() local418 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()
321 static int br_netpoll_setup(struct net_device *dev, struct netpoll_info *ni) in br_netpoll_setup() argument
794 struct netpoll_info *ni) in dsa_slave_netpoll_setup() argument