Lines Matching refs:swap_slave
1672 struct slave *swap_slave; in bond_alb_handle_active_change() local
1685 swap_slave = curr_active; in bond_alb_handle_active_change()
1694 if (!swap_slave) in bond_alb_handle_active_change()
1695 swap_slave = bond_slave_has_mac(bond, bond->dev->dev_addr); in bond_alb_handle_active_change()
1701 if (swap_slave) in bond_alb_handle_active_change()
1702 tlb_clear_slave(bond, swap_slave, 1); in bond_alb_handle_active_change()
1727 if (swap_slave) { in bond_alb_handle_active_change()
1729 alb_swap_mac_addr(swap_slave, new_slave); in bond_alb_handle_active_change()
1730 alb_fasten_mac_swap(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1746 struct slave *swap_slave; in bond_alb_set_mac_address() local
1766 swap_slave = bond_slave_has_mac(bond, bond_dev->dev_addr); in bond_alb_set_mac_address()
1768 if (swap_slave) { in bond_alb_set_mac_address()
1769 alb_swap_mac_addr(swap_slave, curr_active); in bond_alb_set_mac_address()
1770 alb_fasten_mac_swap(bond, swap_slave, curr_active); in bond_alb_set_mac_address()