Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/bonding/
Dbond_alb.c363 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in rlb_teach_disabled_mac_on_primary()
423 if (slave != rtnl_dereference(bond->curr_active_slave)) in rlb_clear_slave()
560 struct slave *assigned_slave, *curr_active_slave; in rlb_choose_channel() local
566 curr_active_slave = rcu_dereference(bond->curr_active_slave); in rlb_choose_channel()
591 if (curr_active_slave && in rlb_choose_channel()
592 client_info->slave != curr_active_slave) { in rlb_choose_channel()
593 client_info->slave = curr_active_slave; in rlb_choose_channel()
1147 struct slave *has_bond_addr = rcu_access_pointer(bond->curr_active_slave); in alb_handle_addr_collision_on_attach()
1310 tx_slave = rcu_dereference(bond->curr_active_slave); in bond_do_alb_xmit()
1316 if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_do_alb_xmit()
[all …]
Dbond_main.c491 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_promiscuity()
514 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_allmulti()
725 struct slave *curr = rtnl_dereference(bond->curr_active_slave); in bond_choose_primary_or_current()
792 slave = rcu_dereference(bond->curr_active_slave); in bond_should_notify_peers()
829 old_active = rtnl_dereference(bond->curr_active_slave); in bond_change_active_slave()
871 rcu_assign_pointer(bond->curr_active_slave, new_active); in bond_change_active_slave()
938 if (best_slave != rtnl_dereference(bond->curr_active_slave)) { in bond_select_active_slave()
1697 if (!rcu_access_pointer(bond->curr_active_slave) && in bond_enslave()
1699 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_enslave()
1806 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.c809 RCU_INIT_POINTER(bond->curr_active_slave, NULL); in bond_option_active_slave_set()
812 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set()
/Linux-v5.4/include/net/
Dbonding.h200 struct slave __rcu *curr_active_slave; member
329 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu()
/Linux-v5.4/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