Searched refs:adj_list (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/net/core/
H A Ddev.c4910 struct list_head *adj_list) __netdev_find_adj()
4914 list_for_each_entry(adj, adj_list, list) { list_for_each_entry()
4966 if (list_empty(&dev->adj_list.upper)) netdev_master_upper_dev_get()
4969 upper = list_first_entry(&dev->adj_list.upper, netdev_master_upper_dev_get()
4977 void *netdev_adjacent_get_private(struct list_head *adj_list) netdev_adjacent_get_private() argument
4981 adj = list_entry(adj_list, struct netdev_adjacent, list); netdev_adjacent_get_private()
5004 if (&upper->list == &dev->adj_list.upper) netdev_upper_get_next_dev_rcu()
5057 if (&lower->list == &dev->adj_list.lower) netdev_lower_get_next_private()
5085 if (&lower->list == &dev->adj_list.lower) netdev_lower_get_next_private_rcu()
5111 if (&lower->list == &dev->adj_list.lower) netdev_lower_get_next()
5133 lower = list_first_or_null_rcu(&dev->adj_list.lower, netdev_lower_get_first_private_rcu()
5152 upper = list_first_or_null_rcu(&dev->adj_list.upper, netdev_master_upper_dev_get_rcu()
5165 sprintf(linkname, dev_list == &dev->adj_list.upper ? netdev_adjacent_sysfs_add()
5175 sprintf(linkname, dev_list == &dev->adj_list.upper ? netdev_adjacent_sysfs_del()
5184 return (dev_list == &dev->adj_list.upper || netdev_adjacent_is_neigh_list()
5185 dev_list == &dev->adj_list.lower) && netdev_adjacent_is_neigh_list()
5340 &dev->adj_list.upper, __netdev_adjacent_dev_link_neighbour()
5341 &upper_dev->adj_list.lower, __netdev_adjacent_dev_link_neighbour()
5356 &dev->adj_list.upper, __netdev_adjacent_dev_unlink_neighbour()
5357 &upper_dev->adj_list.lower); __netdev_adjacent_dev_unlink_neighbour()
5377 if (__netdev_find_adj(upper_dev, &dev->adj_list.upper)) __netdev_upper_dev_link()
5588 list_for_each_entry(iter, &dev->adj_list.upper, list) { netdev_adjacent_add_links()
5592 &iter->dev->adj_list.lower); netdev_adjacent_add_links()
5594 &dev->adj_list.upper); netdev_adjacent_add_links()
5597 list_for_each_entry(iter, &dev->adj_list.lower, list) { netdev_adjacent_add_links()
5601 &iter->dev->adj_list.upper); netdev_adjacent_add_links()
5603 &dev->adj_list.lower); netdev_adjacent_add_links()
5613 list_for_each_entry(iter, &dev->adj_list.upper, list) { netdev_adjacent_del_links()
5617 &iter->dev->adj_list.lower); netdev_adjacent_del_links()
5619 &dev->adj_list.upper); netdev_adjacent_del_links()
5622 list_for_each_entry(iter, &dev->adj_list.lower, list) { netdev_adjacent_del_links()
5626 &iter->dev->adj_list.upper); netdev_adjacent_del_links()
5628 &dev->adj_list.lower); netdev_adjacent_del_links()
5638 list_for_each_entry(iter, &dev->adj_list.upper, list) { netdev_adjacent_rename_links()
5642 &iter->dev->adj_list.lower); netdev_adjacent_rename_links()
5644 &iter->dev->adj_list.lower); netdev_adjacent_rename_links()
5647 list_for_each_entry(iter, &dev->adj_list.lower, list) { netdev_adjacent_rename_links()
5651 &iter->dev->adj_list.upper); netdev_adjacent_rename_links()
5653 &iter->dev->adj_list.upper); netdev_adjacent_rename_links()
5664 lower = __netdev_find_adj(lower_dev, &dev->adj_list.lower); netdev_lower_dev_get_private()
7122 INIT_LIST_HEAD(&dev->adj_list.upper); alloc_netdev_mqs()
7123 INIT_LIST_HEAD(&dev->adj_list.lower); alloc_netdev_mqs()
4909 __netdev_find_adj(struct net_device *adj_dev, struct list_head *adj_list) __netdev_find_adj() argument
/linux-4.4.14/include/linux/
H A Dnetdevice.h1354 * @adj_list: Directly linked devices, like slaves for bonding
1571 } adj_list; member in struct:net_device
3573 for (iter = &(dev)->adj_list.upper, \
3591 for (iter = (dev)->adj_list.lower.next, \
3597 for (iter = &(dev)->adj_list.lower, \
3605 for (iter = &(dev)->adj_list.lower, \
3610 void *netdev_adjacent_get_private(struct list_head *adj_list);
/linux-4.4.14/include/net/
H A Dbonding.h53 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)

Completed in 162 milliseconds