Lines Matching refs:dev_base_head
2735 list_for_each_entry(d, &(net)->dev_base_head, dev_list)
2737 list_for_each_entry_reverse(d, &(net)->dev_base_head, dev_list)
2739 list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list)
2741 list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list)
2743 list_for_each_entry_continue(d, &(net)->dev_base_head, dev_list)
2745 list_for_each_entry_continue_reverse(d, &(net)->dev_base_head, \
2748 list_for_each_entry_continue_rcu(d, &(net)->dev_base_head, dev_list)
2761 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device()
2771 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device_rcu()
2776 return list_empty(&net->dev_base_head) ? NULL : in first_net_device()
2777 net_device_entry(net->dev_base_head.next); in first_net_device()
2782 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); in first_net_device_rcu()
2784 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in first_net_device_rcu()