Lines Matching refs:curr_active_slave
500 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_promiscuity()
523 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_allmulti()
717 struct slave *curr = rtnl_dereference(bond->curr_active_slave); in bond_choose_primary_or_current()
784 slave = rcu_dereference(bond->curr_active_slave); in bond_should_notify_peers()
819 old_active = rtnl_dereference(bond->curr_active_slave); in bond_change_active_slave()
862 rcu_assign_pointer(bond->curr_active_slave, new_active); in bond_change_active_slave()
926 if (best_slave != rtnl_dereference(bond->curr_active_slave)) { in bond_select_active_slave()
1641 if (!rcu_access_pointer(bond->curr_active_slave) && in bond_enslave()
1643 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_enslave()
1717 if (rcu_access_pointer(bond->curr_active_slave) == new_slave) { in bond_enslave()
1828 oldcurrent = rcu_access_pointer(bond->curr_active_slave); in __bond_release_one()
1857 RCU_INIT_POINTER(bond->curr_active_slave, NULL); in __bond_release_one()
1992 ignore_updelay = !rcu_dereference(bond->curr_active_slave); in bond_miimon_inspect()
2124 if (!bond->curr_active_slave || slave == primary) in bond_miimon_commit()
2154 if (slave == rcu_access_pointer(bond->curr_active_slave)) in bond_miimon_commit()
2423 struct slave *curr_active_slave, *curr_arp_slave; in bond_arp_rcv() local
2469 curr_active_slave = rcu_dereference(bond->curr_active_slave); in bond_arp_rcv()
2497 else if (curr_active_slave && in bond_arp_rcv()
2498 time_after(slave_last_rx(bond, curr_active_slave), in bond_arp_rcv()
2499 curr_active_slave->last_link_up)) in bond_arp_rcv()
2545 oldcurrent = rcu_dereference(bond->curr_active_slave); in bond_loadbalance_arp_mon()
2725 if (rtnl_dereference(bond->curr_active_slave) != slave || in bond_ab_arp_commit()
2726 (!rtnl_dereference(bond->curr_active_slave) && in bond_ab_arp_commit()
2742 if (!rtnl_dereference(bond->curr_active_slave) || in bond_ab_arp_commit()
2761 if (slave == rtnl_dereference(bond->curr_active_slave)) { in bond_ab_arp_commit()
2791 *curr_active_slave = rcu_dereference(bond->curr_active_slave); in bond_ab_arp_probe() local
2796 if (curr_arp_slave && curr_active_slave) in bond_ab_arp_probe()
2799 curr_active_slave->dev->name); in bond_ab_arp_probe()
2801 if (curr_active_slave) { in bond_ab_arp_probe()
2802 bond_arp_send_all(bond, curr_active_slave); in bond_ab_arp_probe()
3207 slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_open()
3444 slave = rcu_dereference(bond->curr_active_slave); in bond_set_rx_mode()
3720 slave = rcu_dereference(bond->curr_active_slave); in bond_xmit_roundrobin()
3747 slave = rcu_dereference(bond->curr_active_slave); in bond_xmit_activebackup()