Searched refs:adj_list (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/net/core/ |
H A D | dev.c | 4743 struct list_head *adj_list) __netdev_find_adj() 4747 list_for_each_entry(adj, adj_list, list) { list_for_each_entry() 4799 if (list_empty(&dev->adj_list.upper)) netdev_master_upper_dev_get() 4802 upper = list_first_entry(&dev->adj_list.upper, netdev_master_upper_dev_get() 4810 void *netdev_adjacent_get_private(struct list_head *adj_list) netdev_adjacent_get_private() argument 4814 adj = list_entry(adj_list, struct netdev_adjacent, list); netdev_adjacent_get_private() 4837 if (&upper->list == &dev->adj_list.upper) netdev_upper_get_next_dev_rcu() 4890 if (&lower->list == &dev->adj_list.lower) netdev_lower_get_next_private() 4918 if (&lower->list == &dev->adj_list.lower) netdev_lower_get_next_private_rcu() 4944 if (&lower->list == &dev->adj_list.lower) netdev_lower_get_next() 4966 lower = list_first_or_null_rcu(&dev->adj_list.lower, netdev_lower_get_first_private_rcu() 4985 upper = list_first_or_null_rcu(&dev->adj_list.upper, netdev_master_upper_dev_get_rcu() 4998 sprintf(linkname, dev_list == &dev->adj_list.upper ? netdev_adjacent_sysfs_add() 5008 sprintf(linkname, dev_list == &dev->adj_list.upper ? netdev_adjacent_sysfs_del() 5017 return (dev_list == &dev->adj_list.upper || netdev_adjacent_is_neigh_list() 5018 dev_list == &dev->adj_list.lower) && netdev_adjacent_is_neigh_list() 5173 &dev->adj_list.upper, __netdev_adjacent_dev_link_neighbour() 5174 &upper_dev->adj_list.lower, __netdev_adjacent_dev_link_neighbour() 5189 &dev->adj_list.upper, __netdev_adjacent_dev_unlink_neighbour() 5190 &upper_dev->adj_list.lower); __netdev_adjacent_dev_unlink_neighbour() 5209 if (__netdev_find_adj(dev, upper_dev, &dev->adj_list.upper)) __netdev_upper_dev_link() 5400 list_for_each_entry(iter, &dev->adj_list.upper, list) { netdev_adjacent_add_links() 5404 &iter->dev->adj_list.lower); netdev_adjacent_add_links() 5406 &dev->adj_list.upper); netdev_adjacent_add_links() 5409 list_for_each_entry(iter, &dev->adj_list.lower, list) { netdev_adjacent_add_links() 5413 &iter->dev->adj_list.upper); netdev_adjacent_add_links() 5415 &dev->adj_list.lower); netdev_adjacent_add_links() 5425 list_for_each_entry(iter, &dev->adj_list.upper, list) { netdev_adjacent_del_links() 5429 &iter->dev->adj_list.lower); netdev_adjacent_del_links() 5431 &dev->adj_list.upper); netdev_adjacent_del_links() 5434 list_for_each_entry(iter, &dev->adj_list.lower, list) { netdev_adjacent_del_links() 5438 &iter->dev->adj_list.upper); netdev_adjacent_del_links() 5440 &dev->adj_list.lower); netdev_adjacent_del_links() 5450 list_for_each_entry(iter, &dev->adj_list.upper, list) { netdev_adjacent_rename_links() 5454 &iter->dev->adj_list.lower); netdev_adjacent_rename_links() 5456 &iter->dev->adj_list.lower); netdev_adjacent_rename_links() 5459 list_for_each_entry(iter, &dev->adj_list.lower, list) { netdev_adjacent_rename_links() 5463 &iter->dev->adj_list.upper); netdev_adjacent_rename_links() 5465 &iter->dev->adj_list.upper); netdev_adjacent_rename_links() 5476 lower = __netdev_find_adj(dev, lower_dev, &dev->adj_list.lower); netdev_lower_dev_get_private() 6843 INIT_LIST_HEAD(&dev->adj_list.upper); alloc_netdev_mqs() 6844 INIT_LIST_HEAD(&dev->adj_list.lower); alloc_netdev_mqs() 4741 __netdev_find_adj(struct net_device *dev, struct net_device *adj_dev, struct list_head *adj_list) __netdev_find_adj() argument
|
/linux-4.1.27/include/net/ |
H A D | bonding.h | 53 #define bond_slave_list(bond) (&(bond)->dev->adj_list.lower)
|
/linux-4.1.27/include/linux/ |
H A D | netdevice.h | 1327 * @adj_list: Directly linked devices, like slaves for bonding 1538 } adj_list; member in struct:net_device 3490 for (iter = &(dev)->adj_list.upper, \ 3508 for (iter = (dev)->adj_list.lower.next, \ 3514 for (iter = &(dev)->adj_list.lower, \ 3522 for (iter = &(dev)->adj_list.lower, \ 3527 void *netdev_adjacent_get_private(struct list_head *adj_list);
|
Completed in 136 milliseconds