Searched refs:primary_slave (Results 1 – 4 of 4) sorted by relevance
1494 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()
1094 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 …]
87 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
222 struct slave __rcu *primary_slave; member