Lines Matching refs:curr_active_slave
492 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_promiscuity()
515 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_allmulti()
715 struct slave *curr = rtnl_dereference(bond->curr_active_slave); in bond_choose_primary_or_current()
782 slave = rcu_dereference(bond->curr_active_slave); in bond_should_notify_peers()
817 old_active = rtnl_dereference(bond->curr_active_slave); in bond_change_active_slave()
861 rcu_assign_pointer(bond->curr_active_slave, new_active); in bond_change_active_slave()
925 if (best_slave != rtnl_dereference(bond->curr_active_slave)) { in bond_select_active_slave()
1683 if (!rcu_access_pointer(bond->curr_active_slave) && in bond_enslave()
1685 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_enslave()
1795 if (rcu_access_pointer(bond->curr_active_slave) == new_slave) { in bond_enslave()
1909 oldcurrent = rcu_access_pointer(bond->curr_active_slave); in __bond_release_one()
1938 RCU_INIT_POINTER(bond->curr_active_slave, NULL); in __bond_release_one()
2076 ignore_updelay = !rcu_dereference(bond->curr_active_slave); in bond_miimon_inspect()
2230 if (!bond->curr_active_slave || slave == primary) in bond_miimon_commit()
2252 if (slave == rcu_access_pointer(bond->curr_active_slave)) in bond_miimon_commit()
2527 struct slave *curr_active_slave, *curr_arp_slave; in bond_arp_rcv() local
2574 curr_active_slave = rcu_dereference(bond->curr_active_slave); in bond_arp_rcv()
2602 else if (curr_active_slave && in bond_arp_rcv()
2603 time_after(slave_last_rx(bond, curr_active_slave), in bond_arp_rcv()
2604 curr_active_slave->last_link_up)) in bond_arp_rcv()
2648 oldcurrent = rcu_dereference(bond->curr_active_slave); in bond_loadbalance_arp_mon()
2835 if (rtnl_dereference(bond->curr_active_slave) != slave || in bond_ab_arp_commit()
2836 (!rtnl_dereference(bond->curr_active_slave) && in bond_ab_arp_commit()
2853 if (!rtnl_dereference(bond->curr_active_slave) || in bond_ab_arp_commit()
2873 if (slave == rtnl_dereference(bond->curr_active_slave)) { in bond_ab_arp_commit()
2903 *curr_active_slave = rcu_dereference(bond->curr_active_slave); in bond_ab_arp_probe() local
2908 if (curr_arp_slave && curr_active_slave) in bond_ab_arp_probe()
2911 curr_active_slave->dev->name); in bond_ab_arp_probe()
2913 if (curr_active_slave) { in bond_ab_arp_probe()
2914 bond_arp_send_all(bond, curr_active_slave); in bond_ab_arp_probe()
3338 slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_open()
3583 slave = rcu_dereference(bond->curr_active_slave); in bond_set_rx_mode()
3861 slave = rcu_dereference(bond->curr_active_slave); in bond_xmit_roundrobin()
3889 slave = rcu_dereference(bond->curr_active_slave); in bond_xmit_activebackup()