Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A Ddev.c6818 struct list_head *adj_list) in __netdev_find_adj() argument
6822 list_for_each_entry(adj, adj_list, list) { in __netdev_find_adj()
6893 return !list_empty(&dev->adj_list.upper); in netdev_has_any_upper_dev()
6910 if (list_empty(&dev->adj_list.upper)) in netdev_master_upper_dev_get()
6913 upper = list_first_entry(&dev->adj_list.upper, in netdev_master_upper_dev_get()
6927 if (list_empty(&dev->adj_list.upper)) in __netdev_master_upper_dev_get()
6930 upper = list_first_entry(&dev->adj_list.upper, in __netdev_master_upper_dev_get()
6948 return !list_empty(&dev->adj_list.lower); in netdev_has_any_lower_dev()
6951 void *netdev_adjacent_get_private(struct list_head *adj_list) in netdev_adjacent_get_private() argument
6955 adj = list_entry(adj_list, struct netdev_adjacent, list); in netdev_adjacent_get_private()
[all …]
/openbmc/linux/include/linux/
H A Dnetdevice.h2097 } adj_list; member
4757 for (iter = &(dev)->adj_list.upper, \
4778 for (iter = (dev)->adj_list.lower.next, \
4784 for (iter = &(dev)->adj_list.lower, \
4793 for (iter = (dev)->adj_list.lower.next, \
4809 void *netdev_adjacent_get_private(struct list_head *adj_list);
/openbmc/linux/include/net/
H A Dbonding.h54 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
/openbmc/linux/drivers/s390/net/
H A 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()
/openbmc/linux/net/smc/
H A Dsmc_pnet.c931 struct list_head *lower = &ndev->adj_list.lower; in __pnet_find_base_ndev()
/openbmc/linux/drivers/net/usb/
H A Dqmi_wwan.c159 return !list_empty(&dev->net->adj_list.upper); in qmimux_has_slaves()
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c4442 iter = &dev->adj_list.lower; in bond_get_lowest_level_rcu()
4452 niter = &ldev->adj_list.lower; in bond_get_lowest_level_rcu()