Searched refs:ni (Results 1 – 6 of 6) sorted by relevance
/net/core/ |
D | netpoll.c | 190 struct netpoll_info *ni = rcu_dereference_bh(dev->npinfo); in netpoll_poll_dev() local 197 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev() 204 up(&ni->dev_lock); in netpoll_poll_dev() 214 up(&ni->dev_lock); in netpoll_poll_dev() 222 struct netpoll_info *ni; in netpoll_poll_disable() local 226 ni = srcu_dereference(dev->npinfo, &netpoll_srcu); in netpoll_poll_disable() 227 if (ni) in netpoll_poll_disable() 228 down(&ni->dev_lock); in netpoll_poll_disable() 235 struct netpoll_info *ni; in netpoll_poll_enable() local 237 ni = rcu_dereference(dev->npinfo); in netpoll_poll_enable() [all …]
|
/net/atm/ |
D | br2684.c | 666 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/bluetooth/ |
D | hci_sock.c | 426 struct hci_mon_new_index *ni; in create_monitor_event() local 437 ni = skb_put(skb, HCI_MON_NEW_INDEX_SIZE); in create_monitor_event() 438 ni->type = hdev->dev_type; in create_monitor_event() 439 ni->bus = hdev->bus; in create_monitor_event() 440 bacpy(&ni->bdaddr, &hdev->bdaddr); in create_monitor_event() 441 memcpy_and_pad(ni->name, sizeof(ni->name), hdev->name, in create_monitor_event() 442 strnlen(hdev->name, sizeof(ni->name)), '\0'); in create_monitor_event()
|
/net/bridge/netfilter/ |
D | ebt_802_3.c | 27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt()
|
/net/bridge/ |
D | br_device.c | 340 static int br_netpoll_setup(struct net_device *dev, struct netpoll_info *ni) in br_netpoll_setup() argument
|
/net/dsa/ |
D | slave.c | 905 struct netpoll_info *ni) in dsa_slave_netpoll_setup() argument
|