Searched refs:new_slave (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/bonding/ |
D | bond_main.c | 1380 struct slave *new_slave = NULL, *prev_slave; in bond_enslave() local 1510 new_slave = bond_alloc_slave(bond); in bond_enslave() 1511 if (!new_slave) { in bond_enslave() 1516 new_slave->bond = bond; in bond_enslave() 1517 new_slave->dev = slave_dev; in bond_enslave() 1521 new_slave->queue_id = 0; in bond_enslave() 1524 new_slave->original_mtu = slave_dev->mtu; in bond_enslave() 1535 bond_hw_addr_copy(new_slave->perm_hwaddr, slave_dev->dev_addr, in bond_enslave() 1565 dev_get_stats(new_slave->dev, &new_slave->slave_stats); in bond_enslave() 1571 res = bond_alb_init_slave(bond, new_slave); in bond_enslave() [all …]
|
D | bond_alb.c | 1670 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave) in bond_alb_handle_active_change() argument 1676 if (curr_active == new_slave) in bond_alb_handle_active_change() 1686 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_alb_handle_active_change() 1688 if (!new_slave || !bond_has_slaves(bond)) in bond_alb_handle_active_change() 1703 tlb_clear_slave(bond, new_slave, 1); in bond_alb_handle_active_change() 1712 bond_hw_addr_copy(tmp_addr, new_slave->dev->dev_addr, in bond_alb_handle_active_change() 1713 new_slave->dev->addr_len); in bond_alb_handle_active_change() 1719 dev_set_mac_address(new_slave->dev, (struct sockaddr *)&ss, in bond_alb_handle_active_change() 1722 bond_hw_addr_copy(new_slave->dev->dev_addr, tmp_addr, in bond_alb_handle_active_change() 1723 new_slave->dev->addr_len); in bond_alb_handle_active_change() [all …]
|
/Linux-v5.4/include/net/ |
D | bond_alb.h | 158 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
|