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_should_change_active()
767 slave = rcu_dereference(bond->curr_active_slave); in bond_should_notify_peers()
801 old_active = rtnl_dereference(bond->curr_active_slave); in bond_change_active_slave()
844 rcu_assign_pointer(bond->curr_active_slave, new_active); in bond_change_active_slave()
908 if (best_slave != rtnl_dereference(bond->curr_active_slave)) { in bond_select_active_slave()
1628 if (!rcu_access_pointer(bond->curr_active_slave) && in bond_enslave()
1630 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_enslave()
1704 if (rcu_access_pointer(bond->curr_active_slave) == new_slave) { in bond_enslave()
1807 oldcurrent = rcu_access_pointer(bond->curr_active_slave); in __bond_release_one()
1836 RCU_INIT_POINTER(bond->curr_active_slave, NULL); in __bond_release_one()
1971 ignore_updelay = !rcu_dereference(bond->curr_active_slave); in bond_miimon_inspect()
2103 if (!bond->curr_active_slave || slave == primary) in bond_miimon_commit()
2133 if (slave == rcu_access_pointer(bond->curr_active_slave)) in bond_miimon_commit()
2402 struct slave *curr_active_slave, *curr_arp_slave; in bond_arp_rcv() local
2448 curr_active_slave = rcu_dereference(bond->curr_active_slave); in bond_arp_rcv()
2476 else if (curr_active_slave && in bond_arp_rcv()
2477 time_after(slave_last_rx(bond, curr_active_slave), in bond_arp_rcv()
2478 curr_active_slave->last_link_up)) in bond_arp_rcv()
2524 oldcurrent = rcu_dereference(bond->curr_active_slave); in bond_loadbalance_arp_mon()
2704 if (rtnl_dereference(bond->curr_active_slave) != slave || in bond_ab_arp_commit()
2705 (!rtnl_dereference(bond->curr_active_slave) && in bond_ab_arp_commit()
2721 if (!rtnl_dereference(bond->curr_active_slave) || in bond_ab_arp_commit()
2740 if (slave == rtnl_dereference(bond->curr_active_slave)) { in bond_ab_arp_commit()
2770 *curr_active_slave = rcu_dereference(bond->curr_active_slave); in bond_ab_arp_probe() local
2775 if (curr_arp_slave && curr_active_slave) in bond_ab_arp_probe()
2778 curr_active_slave->dev->name); in bond_ab_arp_probe()
2780 if (curr_active_slave) { in bond_ab_arp_probe()
2781 bond_arp_send_all(bond, curr_active_slave); in bond_ab_arp_probe()
3193 slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_open()
3426 slave = rcu_dereference(bond->curr_active_slave); in bond_set_rx_mode()
3702 slave = rcu_dereference(bond->curr_active_slave); in bond_xmit_roundrobin()
3729 slave = rcu_dereference(bond->curr_active_slave); in bond_xmit_activebackup()