Lines Matching refs:swap_slave
1708 struct slave *swap_slave; in bond_alb_handle_active_change() local
1721 swap_slave = curr_active; in bond_alb_handle_active_change()
1730 if (!swap_slave) in bond_alb_handle_active_change()
1731 swap_slave = bond_slave_has_mac(bond, bond->dev->dev_addr); in bond_alb_handle_active_change()
1737 if (swap_slave) in bond_alb_handle_active_change()
1738 tlb_clear_slave(bond, swap_slave, 1); in bond_alb_handle_active_change()
1762 if (swap_slave) { in bond_alb_handle_active_change()
1764 alb_swap_mac_addr(swap_slave, new_slave); in bond_alb_handle_active_change()
1765 alb_fasten_mac_swap(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1781 struct slave *swap_slave; in bond_alb_set_mac_address() local
1801 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1803 if (swap_slave) { in bond_alb_set_mac_address()
1804 alb_swap_mac_addr(swap_slave, curr_active); in bond_alb_set_mac_address()
1805 alb_fasten_mac_swap(bond, swap_slave, curr_active); in bond_alb_set_mac_address()