Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/bonding/
Dbond_options.c1204 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1213 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1221 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1223 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
Dbond_procfs.c87 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
Dbond_main.c1028 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
2030 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2217 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2218 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2355 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2356 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2648 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3297 slave == rtnl_dereference(bond->primary_slave)) in bond_ab_arp_commit()
3558 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
3622 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()
[all …]
Dbond_sysfs.c432 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
Dbond_netlink.c595 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
/Linux-v5.15/include/net/
Dbonding.h213 struct slave __rcu *primary_slave; member