Searched refs:dev_base_head (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/net/8021q/
H A Dvlanproc.c233 dev = net_device_entry(&net->dev_base_head); vlan_seq_next()
/linux-4.4.14/net/core/
H A Dnet_namespace.c36 .dev_base_head = LIST_HEAD_INIT(init_net.dev_base_head),
H A Ddev.c161 * The @dev_base_head list is protected by @dev_base_lock and the rtnl
167 * dev_base_head list, and hold dev_base_lock for writing when they do the
229 list_add_tail_rcu(&dev->dev_list, &net->dev_base_head); list_netdevice()
7522 INIT_LIST_HEAD(&net->dev_base_head); netdev_init()
H A Drtnetlink.c2482 list_for_each_entry(dev, &net->dev_base_head, dev_list) { rtnl_calcit()
/linux-4.4.14/include/net/
H A Dnet_namespace.h78 struct list_head dev_base_head; member in struct:net
/linux-4.4.14/include/linux/
H A Dnetdevice.h2162 list_for_each_entry(d, &(net)->dev_base_head, dev_list)
2164 list_for_each_entry_reverse(d, &(net)->dev_base_head, dev_list)
2166 list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list)
2168 list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list)
2170 list_for_each_entry_continue(d, &(net)->dev_base_head, dev_list)
2172 list_for_each_entry_continue_rcu(d, &(net)->dev_base_head, dev_list)
2185 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); next_net_device()
2195 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); next_net_device_rcu()
2200 return list_empty(&net->dev_base_head) ? NULL : first_net_device()
2201 net_device_entry(net->dev_base_head.next); first_net_device()
2206 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); first_net_device_rcu()
2208 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); first_net_device_rcu()
/linux-4.4.14/net/decnet/
H A Ddn_dev.c1319 dev = net_device_entry(&init_net.dev_base_head); dn_dev_seq_next()

Completed in 212 milliseconds