• Home
  • Raw
  • Download

Lines Matching refs:upper_dev

5718 static int __netdev_has_upper_dev(struct net_device *upper_dev, void *data)  in __netdev_has_upper_dev()  argument
5722 return upper_dev == dev; in __netdev_has_upper_dev()
5735 struct net_device *upper_dev) in netdev_has_upper_dev() argument
5740 upper_dev); in netdev_has_upper_dev()
5755 struct net_device *upper_dev) in netdev_has_upper_dev_all_rcu() argument
5758 upper_dev); in netdev_has_upper_dev_all_rcu()
6235 struct net_device *upper_dev, in __netdev_adjacent_dev_link_lists() argument
6242 ret = __netdev_adjacent_dev_insert(dev, upper_dev, up_list, in __netdev_adjacent_dev_link_lists()
6247 ret = __netdev_adjacent_dev_insert(upper_dev, dev, down_list, in __netdev_adjacent_dev_link_lists()
6250 __netdev_adjacent_dev_remove(dev, upper_dev, 1, up_list); in __netdev_adjacent_dev_link_lists()
6258 struct net_device *upper_dev, in __netdev_adjacent_dev_unlink_lists() argument
6263 __netdev_adjacent_dev_remove(dev, upper_dev, ref_nr, up_list); in __netdev_adjacent_dev_unlink_lists()
6264 __netdev_adjacent_dev_remove(upper_dev, dev, ref_nr, down_list); in __netdev_adjacent_dev_unlink_lists()
6268 struct net_device *upper_dev, in __netdev_adjacent_dev_link_neighbour() argument
6271 return __netdev_adjacent_dev_link_lists(dev, upper_dev, in __netdev_adjacent_dev_link_neighbour()
6273 &upper_dev->adj_list.lower, in __netdev_adjacent_dev_link_neighbour()
6278 struct net_device *upper_dev) in __netdev_adjacent_dev_unlink_neighbour() argument
6280 __netdev_adjacent_dev_unlink_lists(dev, upper_dev, 1, in __netdev_adjacent_dev_unlink_neighbour()
6282 &upper_dev->adj_list.lower); in __netdev_adjacent_dev_unlink_neighbour()
6286 struct net_device *upper_dev, bool master, in __netdev_upper_dev_link() argument
6294 if (dev == upper_dev) in __netdev_upper_dev_link()
6298 if (netdev_has_upper_dev(upper_dev, dev)) in __netdev_upper_dev_link()
6301 if (netdev_has_upper_dev(dev, upper_dev)) in __netdev_upper_dev_link()
6307 changeupper_info.upper_dev = upper_dev; in __netdev_upper_dev_link()
6318 ret = __netdev_adjacent_dev_link_neighbour(dev, upper_dev, upper_priv, in __netdev_upper_dev_link()
6332 __netdev_adjacent_dev_unlink_neighbour(dev, upper_dev); in __netdev_upper_dev_link()
6348 struct net_device *upper_dev) in netdev_upper_dev_link() argument
6350 return __netdev_upper_dev_link(dev, upper_dev, false, NULL, NULL); in netdev_upper_dev_link()
6368 struct net_device *upper_dev, in netdev_master_upper_dev_link() argument
6371 return __netdev_upper_dev_link(dev, upper_dev, true, in netdev_master_upper_dev_link()
6385 struct net_device *upper_dev) in netdev_upper_dev_unlink() argument
6391 changeupper_info.upper_dev = upper_dev; in netdev_upper_dev_unlink()
6392 changeupper_info.master = netdev_master_upper_dev_get(dev) == upper_dev; in netdev_upper_dev_unlink()
6398 __netdev_adjacent_dev_unlink_neighbour(dev, upper_dev); in netdev_upper_dev_unlink()