Lines Matching refs:bond_dev
18 static size_t bond_get_slave_size(const struct net_device *bond_dev, in bond_get_slave_size() argument
33 const struct net_device *bond_dev, in bond_fill_slave_info() argument
130 static int bond_slave_changelink(struct net_device *bond_dev, in bond_slave_changelink() argument
135 struct bonding *bond = netdev_priv(bond_dev); in bond_slave_changelink()
158 static int bond_changelink(struct net_device *bond_dev, struct nlattr *tb[], in bond_changelink() argument
162 struct bonding *bond = netdev_priv(bond_dev); in bond_changelink()
184 slave_dev = __dev_get_by_index(dev_net(bond_dev), in bond_changelink()
300 dev = __dev_get_by_index(dev_net(bond_dev), ifindex); in bond_changelink()
448 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument
454 err = bond_changelink(bond_dev, tb, data, extack); in bond_newlink()
458 err = register_netdevice(bond_dev); in bond_newlink()
460 struct bonding *bond = netdev_priv(bond_dev); in bond_newlink()
462 netif_carrier_off(bond_dev); in bond_newlink()
469 static size_t bond_get_size(const struct net_device *bond_dev) in bond_get_size() argument
522 const struct net_device *bond_dev) in bond_fill_info() argument
524 struct bonding *bond = netdev_priv(bond_dev); in bond_fill_info()