Lines Matching refs:lh
1551 #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list)
1555 struct list_head *lh;
1559 lh = dev->dev_list.next;
1560 return lh == &net->dev_base_head ? NULL : net_device_entry(lh);
1565 struct list_head *lh;
1569 lh = rcu_dereference(list_next_rcu(&dev->dev_list));
1570 return lh == &net->dev_base_head ? NULL : net_device_entry(lh);
1581 struct list_head *lh = rcu_dereference(list_next_rcu(&net->dev_base_head));
1583 return lh == &net->dev_base_head ? NULL : net_device_entry(lh);