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.c1494 if (rtnl_dereference(bond->primary_slave)) in bond_option_prio_set()
1518 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1527 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1535 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1537 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
H A Dbond_main.c1094 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
2159 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2352 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2353 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2489 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2490 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2809 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3688 slave == rtnl_dereference(bond->primary_slave) || in bond_ab_arp_commit()
3949 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
4013 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()
[all …]
H A Dbond_procfs.c87 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
/linux/include/net/
H A Dbonding.h222 struct slave __rcu *primary_slave; member