Lines Matching refs:dev_base_head
1544 list_for_each_entry(d, &(net)->dev_base_head, dev_list)
1546 list_for_each_entry_reverse(d, &(net)->dev_base_head, dev_list)
1548 list_for_each_entry_rcu(d, &(net)->dev_base_head, dev_list)
1550 list_for_each_entry_safe(d, n, &(net)->dev_base_head, dev_list)
1552 list_for_each_entry_continue(d, &(net)->dev_base_head, dev_list)
1554 list_for_each_entry_continue_rcu(d, &(net)->dev_base_head, dev_list)
1564 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device()
1574 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in next_net_device_rcu()
1579 return list_empty(&net->dev_base_head) ? NULL : in first_net_device()
1580 net_device_entry(net->dev_base_head.next); in first_net_device()
1585 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head)); in first_net_device_rcu()
1587 return lh == &net->dev_base_head ? NULL : net_device_entry(lh); in first_net_device_rcu()