Lines Matching refs:master_dev
531 struct net_device *master_dev; in rtnl_link_get_slave_info_data_size() local
537 master_dev = netdev_master_upper_dev_get_rcu((struct net_device *)dev); in rtnl_link_get_slave_info_data_size()
538 if (!master_dev) in rtnl_link_get_slave_info_data_size()
541 ops = master_dev->rtnl_link_ops; in rtnl_link_get_slave_info_data_size()
546 ops->get_slave_size(master_dev, dev); in rtnl_link_get_slave_info_data_size()
646 struct net_device *master_dev; in rtnl_have_link_slave_info() local
651 master_dev = netdev_master_upper_dev_get_rcu((struct net_device *)dev); in rtnl_have_link_slave_info()
652 if (master_dev && master_dev->rtnl_link_ops) in rtnl_have_link_slave_info()
661 struct net_device *master_dev; in rtnl_link_slave_info_fill() local
666 master_dev = netdev_master_upper_dev_get((struct net_device *) dev); in rtnl_link_slave_info_fill()
667 if (!master_dev) in rtnl_link_slave_info_fill()
669 ops = master_dev->rtnl_link_ops; in rtnl_link_slave_info_fill()
678 err = ops->fill_slave_info(skb, master_dev, dev); in rtnl_link_slave_info_fill()
3491 struct net_device *master_dev; in __rtnl_newlink() local
3526 master_dev = NULL; in __rtnl_newlink()
3529 master_dev = netdev_master_upper_dev_get(dev); in __rtnl_newlink()
3530 if (master_dev) in __rtnl_newlink()
3531 m_ops = master_dev->rtnl_link_ops; in __rtnl_newlink()
3616 err = m_ops->slave_changelink(master_dev, dev, tb, in __rtnl_newlink()