Lines Matching refs:swap_slave
1711 struct slave *swap_slave; in bond_alb_handle_active_change() local
1724 swap_slave = curr_active; in bond_alb_handle_active_change()
1733 if (!swap_slave) in bond_alb_handle_active_change()
1734 swap_slave = bond_slave_has_mac(bond, bond->dev->dev_addr); in bond_alb_handle_active_change()
1740 if (swap_slave) in bond_alb_handle_active_change()
1741 tlb_clear_slave(bond, swap_slave, 1); in bond_alb_handle_active_change()
1766 if (swap_slave) { in bond_alb_handle_active_change()
1768 alb_swap_mac_addr(swap_slave, new_slave); in bond_alb_handle_active_change()
1769 alb_fasten_mac_swap(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1785 struct slave *swap_slave; in bond_alb_set_mac_address() local
1805 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1807 if (swap_slave) { in bond_alb_set_mac_address()
1808 alb_swap_mac_addr(swap_slave, curr_active); in bond_alb_set_mac_address()
1809 alb_fasten_mac_swap(bond, swap_slave, curr_active); in bond_alb_set_mac_address()