Home
last modified time | relevance | path

Searched refs:curr_active_slave (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/bonding/
Dbond_alb.c379 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()
[all …]
Dbond_main.c492 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()
[all …]
Dbond_procfs.c64 curr = rcu_dereference(bond->curr_active_slave); in bond_info_show_master()
Dbond_options.c806 RCU_INIT_POINTER(bond->curr_active_slave, NULL); in bond_option_active_slave_set()
809 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set()
/Linux-v4.19/include/net/
Dbonding.h191 struct slave __rcu *curr_active_slave; member
320 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu()
/Linux-v4.19/Documentation/networking/
Dbonding.txt696 curr_active_slave) while having a unique hardware
698 curr_active_slave fails its hardware address is
699 swapped with the new curr_active_slave that was