Lines Matching refs:curr_active_slave
379 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in rlb_teach_disabled_mac_on_primary()
439 if (slave != rtnl_dereference(bond->curr_active_slave)) in rlb_clear_slave()
575 struct slave *assigned_slave, *curr_active_slave; in rlb_choose_channel() local
581 curr_active_slave = rcu_dereference(bond->curr_active_slave); in rlb_choose_channel()
606 if (curr_active_slave && in rlb_choose_channel()
607 client_info->slave != curr_active_slave) { in rlb_choose_channel()
608 client_info->slave = curr_active_slave; in rlb_choose_channel()
1162 struct slave *has_bond_addr = rcu_access_pointer(bond->curr_active_slave); in alb_handle_addr_collision_on_attach()
1326 tx_slave = rcu_dereference(bond->curr_active_slave); in bond_do_alb_xmit()
1332 if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_do_alb_xmit()
1533 strict_match = (slave != rcu_access_pointer(bond->curr_active_slave) || in bond_alb_monitor()
1545 if (slave == rcu_access_pointer(bond->curr_active_slave)) { in bond_alb_monitor()
1572 dev_set_promiscuity(rtnl_dereference(bond->curr_active_slave)->dev, in bond_alb_monitor()
1691 curr_active = rtnl_dereference(bond->curr_active_slave); in bond_alb_handle_active_change()
1702 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_alb_handle_active_change()
1777 curr_active = rtnl_dereference(bond->curr_active_slave); in bond_alb_set_mac_address()