Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dnetdevice.h2551 list_for_each_entry(d, &(net)->dev_base_head, dev_list)
2553 list_for_each_entry_reverse(d, &(net)->dev_base_head, dev_list)
2555 list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list)
2557 list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list)
2559 list_for_each_entry_continue(d, &(net)->dev_base_head, dev_list)
2561 list_for_each_entry_continue_rcu(d, &(net)->dev_base_head, dev_list)
2574 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device()
2584 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device_rcu()
2589 return list_empty(&net->dev_base_head) ? NULL : in first_net_device()
2590 net_device_entry(net->dev_base_head.next); in first_net_device()
[all …]
/Linux-v5.4/net/8021q/
Dvlanproc.c198 dev = net_device_entry(&net->dev_base_head); in vlan_seq_next()
/Linux-v5.4/include/net/
Dnet_namespace.h92 struct list_head dev_base_head; member
/Linux-v5.4/net/core/
Dnet_namespace.c48 .dev_base_head = LIST_HEAD_INIT(init_net.dev_base_head),
Ddev.c240 list_add_tail_rcu(&dev->dev_list, &net->dev_base_head); in list_netdevice()
9939 INIT_LIST_HEAD(&net->dev_base_head); in netdev_init()
10045 WARN_ON_ONCE(!list_empty(&net->dev_base_head)); in netdev_exit()
/Linux-v5.4/net/decnet/
Ddn_dev.c1322 dev = net_device_entry(&init_net.dev_base_head); in dn_dev_seq_next()