Lines Matching refs:bond_dev
19 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument
35 const struct net_device *bond_dev, in bond_fill_slave_info() argument
144 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument
149 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
183 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument
187 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
210 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
370 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
555 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument
561 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink()
565 err = register_netdevice(bond_dev); in bond_newlink()
567 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
569 netif_carrier_off(bond_dev); in bond_newlink()
576 static size_t bond_get_size(const struct net_device *bond_dev) in bond_get_size() argument
634 const struct net_device *bond_dev) in bond_fill_info() argument
636 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()