Home
last modified time | relevance | path

Searched refs:adj_list (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/net/core/
Ddev.c6807 struct list_head *adj_list) in __netdev_find_adj() argument
6811 list_for_each_entry(adj, adj_list, list) { in __netdev_find_adj()
6882 return !list_empty(&dev->adj_list.upper); in netdev_has_any_upper_dev()
6899 if (list_empty(&dev->adj_list.upper)) in netdev_master_upper_dev_get()
6902 upper = list_first_entry(&dev->adj_list.upper, in netdev_master_upper_dev_get()
6916 if (list_empty(&dev->adj_list.upper)) in __netdev_master_upper_dev_get()
6919 upper = list_first_entry(&dev->adj_list.upper, in __netdev_master_upper_dev_get()
6937 return !list_empty(&dev->adj_list.lower); in netdev_has_any_lower_dev()
6940 void *netdev_adjacent_get_private(struct list_head *adj_list) in netdev_adjacent_get_private() argument
6944 adj = list_entry(adj_list, struct netdev_adjacent, list); in netdev_adjacent_get_private()
[all …]
/linux-6.6.21/include/linux/
Dnetdevice.h2097 } adj_list; member
4745 for (iter = &(dev)->adj_list.upper, \
4766 for (iter = (dev)->adj_list.lower.next, \
4772 for (iter = &(dev)->adj_list.lower, \
4781 for (iter = (dev)->adj_list.lower.next, \
4797 void *netdev_adjacent_get_private(struct list_head *adj_list);
/linux-6.6.21/include/net/
Dbonding.h54 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
/linux-6.6.21/drivers/s390/net/
Dqeth_l2_main.c774 iter = &brdev->adj_list.lower; in qeth_l2_br2dev_worker()
870 iter = &brdev->adj_list.lower; in qeth_l2_switchdev_event()
/linux-6.6.21/net/smc/
Dsmc_pnet.c921 struct list_head *lower = &ndev->adj_list.lower; in __pnet_find_base_ndev()
/linux-6.6.21/drivers/net/usb/
Dqmi_wwan.c159 return !list_empty(&dev->net->adj_list.upper); in qmimux_has_slaves()
/linux-6.6.21/drivers/net/bonding/
Dbond_main.c4388 iter = &dev->adj_list.lower; in bond_get_lowest_level_rcu()
4398 niter = &ldev->adj_list.lower; in bond_get_lowest_level_rcu()