Lines Matching refs:curr_active_slave
387 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in rlb_teach_disabled_mac_on_primary()
448 if (slave != rtnl_dereference(bond->curr_active_slave)) in rlb_clear_slave()
584 struct slave *assigned_slave, *curr_active_slave; in rlb_choose_channel() local
590 curr_active_slave = rcu_dereference(bond->curr_active_slave); in rlb_choose_channel()
615 if (curr_active_slave && in rlb_choose_channel()
616 client_info->slave != curr_active_slave) { in rlb_choose_channel()
617 client_info->slave = curr_active_slave; in rlb_choose_channel()
1141 struct slave *has_bond_addr = rcu_access_pointer(bond->curr_active_slave); in alb_handle_addr_collision_on_attach()
1298 tx_slave = rcu_dereference(bond->curr_active_slave); in bond_do_alb_xmit()
1304 if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_do_alb_xmit()
1489 strict_match = (slave != rcu_access_pointer(bond->curr_active_slave) || in bond_alb_monitor()
1501 if (slave == rcu_access_pointer(bond->curr_active_slave)) { in bond_alb_monitor()
1528 dev_set_promiscuity(rtnl_dereference(bond->curr_active_slave)->dev, in bond_alb_monitor()
1646 curr_active = rtnl_dereference(bond->curr_active_slave); in bond_alb_handle_active_change()
1657 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_alb_handle_active_change()
1728 curr_active = rtnl_dereference(bond->curr_active_slave); in bond_alb_set_mac_address()