Lines Matching refs:swap_slave
1643 struct slave *swap_slave; in bond_alb_handle_active_change() local
1656 swap_slave = curr_active; in bond_alb_handle_active_change()
1665 if (!swap_slave) in bond_alb_handle_active_change()
1666 swap_slave = bond_slave_has_mac(bond, bond->dev->dev_addr); in bond_alb_handle_active_change()
1672 if (swap_slave) in bond_alb_handle_active_change()
1673 tlb_clear_slave(bond, swap_slave, 1); in bond_alb_handle_active_change()
1694 if (swap_slave) { in bond_alb_handle_active_change()
1696 alb_swap_mac_addr(swap_slave, new_slave); in bond_alb_handle_active_change()
1697 alb_fasten_mac_swap(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1712 struct slave *swap_slave; in bond_alb_set_mac_address() local
1732 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1734 if (swap_slave) { in bond_alb_set_mac_address()
1735 alb_swap_mac_addr(swap_slave, curr_active); in bond_alb_set_mac_address()
1736 alb_fasten_mac_swap(bond, swap_slave, curr_active); in bond_alb_set_mac_address()