Home
last modified time | relevance | path

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

/linux-6.1.9/net/core/
Ddev.c6722 struct list_head *adj_list) in __netdev_find_adj() argument
6726 list_for_each_entry(adj, adj_list, list) { in __netdev_find_adj()
6797 return !list_empty(&dev->adj_list.upper); in netdev_has_any_upper_dev()
6814 if (list_empty(&dev->adj_list.upper)) in netdev_master_upper_dev_get()
6817 upper = list_first_entry(&dev->adj_list.upper, in netdev_master_upper_dev_get()
6831 if (list_empty(&dev->adj_list.upper)) in __netdev_master_upper_dev_get()
6834 upper = list_first_entry(&dev->adj_list.upper, in __netdev_master_upper_dev_get()
6852 return !list_empty(&dev->adj_list.lower); in netdev_has_any_lower_dev()
6855 void *netdev_adjacent_get_private(struct list_head *adj_list) in netdev_adjacent_get_private() argument
6859 adj = list_entry(adj_list, struct netdev_adjacent, list); in netdev_adjacent_get_private()
[all …]
/linux-6.1.9/include/linux/
Dnetdevice.h2043 } adj_list; member
4669 for (iter = &(dev)->adj_list.upper, \
4690 for (iter = (dev)->adj_list.lower.next, \
4696 for (iter = &(dev)->adj_list.lower, \
4705 for (iter = (dev)->adj_list.lower.next, \
4721 void *netdev_adjacent_get_private(struct list_head *adj_list);
/linux-6.1.9/include/net/
Dbonding.h56 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
/linux-6.1.9/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.1.9/net/smc/
Dsmc_pnet.c917 struct list_head *lower = &ndev->adj_list.lower; in __pnet_find_base_ndev()
/linux-6.1.9/drivers/net/usb/
Dqmi_wwan.c158 return !list_empty(&dev->net->adj_list.upper); in qmimux_has_slaves()
/linux-6.1.9/drivers/net/bonding/
Dbond_main.c4327 iter = &dev->adj_list.lower; in bond_get_lowest_level_rcu()
4337 niter = &ldev->adj_list.lower; in bond_get_lowest_level_rcu()