• Home
  • Raw
  • Download

Lines Matching refs:upper

6901 	return !list_empty(&dev->adj_list.upper);  in netdev_has_any_upper_dev()
6914 struct netdev_adjacent *upper; in netdev_master_upper_dev_get() local
6918 if (list_empty(&dev->adj_list.upper)) in netdev_master_upper_dev_get()
6921 upper = list_first_entry(&dev->adj_list.upper, in netdev_master_upper_dev_get()
6923 if (likely(upper->master)) in netdev_master_upper_dev_get()
6924 return upper->dev; in netdev_master_upper_dev_get()
6931 struct netdev_adjacent *upper; in __netdev_master_upper_dev_get() local
6935 if (list_empty(&dev->adj_list.upper)) in __netdev_master_upper_dev_get()
6938 upper = list_first_entry(&dev->adj_list.upper, in __netdev_master_upper_dev_get()
6940 if (likely(upper->master) && !upper->ignore) in __netdev_master_upper_dev_get()
6941 return upper->dev; in __netdev_master_upper_dev_get()
6980 struct netdev_adjacent *upper; in netdev_upper_get_next_dev_rcu() local
6984 upper = list_entry_rcu((*iter)->next, struct netdev_adjacent, list); in netdev_upper_get_next_dev_rcu()
6986 if (&upper->list == &dev->adj_list.upper) in netdev_upper_get_next_dev_rcu()
6989 *iter = &upper->list; in netdev_upper_get_next_dev_rcu()
6991 return upper->dev; in netdev_upper_get_next_dev_rcu()
6999 struct netdev_adjacent *upper; in __netdev_next_upper_dev() local
7001 upper = list_entry((*iter)->next, struct netdev_adjacent, list); in __netdev_next_upper_dev()
7003 if (&upper->list == &dev->adj_list.upper) in __netdev_next_upper_dev()
7006 *iter = &upper->list; in __netdev_next_upper_dev()
7007 *ignore = upper->ignore; in __netdev_next_upper_dev()
7009 return upper->dev; in __netdev_next_upper_dev()
7015 struct netdev_adjacent *upper; in netdev_next_upper_dev_rcu() local
7019 upper = list_entry_rcu((*iter)->next, struct netdev_adjacent, list); in netdev_next_upper_dev_rcu()
7021 if (&upper->list == &dev->adj_list.upper) in netdev_next_upper_dev_rcu()
7024 *iter = &upper->list; in netdev_next_upper_dev_rcu()
7026 return upper->dev; in netdev_next_upper_dev_rcu()
7040 iter = &dev->adj_list.upper; in __netdev_walk_all_upper_dev()
7058 niter = &udev->adj_list.upper; in __netdev_walk_all_upper_dev()
7088 iter = &dev->adj_list.upper; in netdev_walk_all_upper_dev_rcu()
7104 niter = &udev->adj_list.upper; in netdev_walk_all_upper_dev_rcu()
7370 for (iter = &dev->adj_list.upper, in __netdev_upper_depth()
7514 struct netdev_adjacent *upper; in netdev_master_upper_dev_get_rcu() local
7516 upper = list_first_or_null_rcu(&dev->adj_list.upper, in netdev_master_upper_dev_get_rcu()
7518 if (upper && likely(upper->master)) in netdev_master_upper_dev_get_rcu()
7519 return upper->dev; in netdev_master_upper_dev_get_rcu()
7530 sprintf(linkname, dev_list == &dev->adj_list.upper ? in netdev_adjacent_sysfs_add()
7541 sprintf(linkname, dev_list == &dev->adj_list.upper ? in netdev_adjacent_sysfs_del()
7550 return (dev_list == &dev->adj_list.upper || in netdev_adjacent_is_neigh_list()
7695 &dev->adj_list.upper, in __netdev_adjacent_dev_link_neighbour()
7704 &dev->adj_list.upper, in __netdev_adjacent_dev_unlink_neighbour()
7896 adj = __netdev_find_adj(upper_dev, &lower_dev->adj_list.upper); in __netdev_adjacent_dev_set()
8300 list_for_each_entry(iter, &dev->adj_list.upper, list) { in netdev_adjacent_add_links()
8306 &dev->adj_list.upper); in netdev_adjacent_add_links()
8313 &iter->dev->adj_list.upper); in netdev_adjacent_add_links()
8325 list_for_each_entry(iter, &dev->adj_list.upper, list) { in netdev_adjacent_del_links()
8331 &dev->adj_list.upper); in netdev_adjacent_del_links()
8338 &iter->dev->adj_list.upper); in netdev_adjacent_del_links()
8350 list_for_each_entry(iter, &dev->adj_list.upper, list) { in netdev_adjacent_rename_links()
8363 &iter->dev->adj_list.upper); in netdev_adjacent_rename_links()
8365 &iter->dev->adj_list.upper); in netdev_adjacent_rename_links()
9271 struct net_device *upper; in dev_xdp_attach() local
9312 netdev_for_each_upper_dev_rcu(dev, upper, iter) { in dev_xdp_attach()
9313 if (dev_xdp_prog_count(upper) > 0) { in dev_xdp_attach()
9679 struct net_device *upper, netdev_features_t features) in netdev_sync_upper_features() argument
9687 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()
9690 &feature, upper->name); in netdev_sync_upper_features()
9698 static void netdev_sync_lower_features(struct net_device *upper, in netdev_sync_lower_features() argument
9708 netdev_dbg(upper, "Disabling feature %pNF on lower dev %s.\n", in netdev_sync_lower_features()
9714 netdev_WARN(upper, "failed to disable %pNF on %s!\n", in netdev_sync_lower_features()
9824 struct net_device *upper, *lower; in __netdev_update_features() local
9840 netdev_for_each_upper_dev_rcu(dev, upper, iter) in __netdev_update_features()
9841 features = netdev_sync_upper_features(dev, upper, features); in __netdev_update_features()
10832 INIT_LIST_HEAD(&dev->adj_list.upper); in alloc_netdev_mqs()