Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/bonding/
Dbond_alb.c387 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in rlb_teach_disabled_mac_on_primary()
448 if (slave != rtnl_dereference(bond->curr_active_slave)) in rlb_clear_slave()
584 struct slave *assigned_slave, *curr_active_slave; in rlb_choose_channel() local
590 curr_active_slave = rcu_dereference(bond->curr_active_slave); in rlb_choose_channel()
615 if (curr_active_slave && in rlb_choose_channel()
616 client_info->slave != curr_active_slave) { in rlb_choose_channel()
617 client_info->slave = curr_active_slave; in rlb_choose_channel()
1141 struct slave *has_bond_addr = rcu_access_pointer(bond->curr_active_slave); in alb_handle_addr_collision_on_attach()
1298 tx_slave = rcu_dereference(bond->curr_active_slave); in bond_do_alb_xmit()
1304 if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_do_alb_xmit()
[all …]
Dbond_main.c500 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()
[all …]
Dbond_procfs.c63 curr = rcu_dereference(bond->curr_active_slave); in bond_info_show_master()
Dbond_options.c774 RCU_INIT_POINTER(bond->curr_active_slave, NULL); in bond_option_active_slave_set()
777 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set()
Dbond_sysfs.c484 bool active = !!rcu_access_pointer(bond->curr_active_slave); in bonding_show_mii_status()
/linux-4.4.14/include/net/
Dbonding.h201 struct slave __rcu *curr_active_slave; member
316 struct slave *slave = rcu_dereference(bond->curr_active_slave); in bond_option_active_slave_get_rcu()
/linux-4.4.14/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