Searched refs:primary_slave (Results 1 – 4 of 4) sorted by relevance
1511 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()
1096 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()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()2499 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()2500 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()2822 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()3702 slave == rtnl_dereference(bond->primary_slave) || in bond_ab_arp_commit()3963 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()4027 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()[all …]
794 primary = rcu_dereference(bond->primary_slave); in bond_fill_info()
220 struct slave __rcu *primary_slave; member