Lines Matching refs:old_active

880 			      struct slave *old_active)  in bond_hw_addr_swap()  argument
882 if (old_active) { in bond_hw_addr_swap()
884 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
887 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()
890 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()
959 struct slave *old_active) in bond_do_fail_over_mac() argument
982 if (!old_active) in bond_do_fail_over_mac()
983 old_active = bond_get_old_active(bond, new_active); in bond_do_fail_over_mac()
985 if (old_active) { in bond_do_fail_over_mac()
989 old_active->dev->dev_addr, in bond_do_fail_over_mac()
990 old_active->dev->addr_len); in bond_do_fail_over_mac()
1006 if (!old_active) in bond_do_fail_over_mac()
1011 ss.ss_family = old_active->dev->type; in bond_do_fail_over_mac()
1013 rv = dev_set_mac_address(old_active->dev, in bond_do_fail_over_mac()
1016 slave_err(bond->dev, old_active->dev, "Error %d setting MAC of old active slave\n", in bond_do_fail_over_mac()
1158 struct slave *old_active; in bond_change_active_slave() local
1162 old_active = rtnl_dereference(bond->curr_active_slave); in bond_change_active_slave()
1164 if (old_active == new_active) in bond_change_active_slave()
1196 bond_hw_addr_swap(bond, new_active, old_active); in bond_change_active_slave()
1200 if (old_active) in bond_change_active_slave()
1201 bond_set_slave_inactive_flags(old_active, in bond_change_active_slave()
1211 if (old_active) in bond_change_active_slave()
1212 bond_set_slave_inactive_flags(old_active, in bond_change_active_slave()
1223 old_active); in bond_change_active_slave()