Home
last modified time | relevance | path

Searched refs:primary_slave (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/bonding/
H A Dbond_options.c1511 if (rtnl_dereference(bond->primary_slave)) in bond_option_prio_set()
1535 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1544 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1552 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1554 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
H A Dbond_main.c1096 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
1365 * - The primary_slave has got its link back.
2169 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2362 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2363 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2370 /* either primary_slave or curr_active_slave might've changed */ in bond_enslave()
2499 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2500 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2820 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3513 /* primary_slave ha in bond_loadbalance_arp_mon()
[all...]
H A Dbond_netlink.c794 primary = rcu_dereference(bond->primary_slave); in bond_fill_info()
/linux/include/net/
H A Dbonding.h220 struct slave __rcu *primary_slave; member