Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/bonding/
H A Dbond_options.c1465 if (rtnl_dereference(bond->primary_slave)) in bond_option_prio_set()
1489 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1498 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1506 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1508 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
H A Dbond_procfs.c87 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
H A Dbond_main.c1161 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
2231 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2422 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2423 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2558 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2559 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2877 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3759 slave == rtnl_dereference(bond->primary_slave) || in bond_ab_arp_commit()
4024 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
4088 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()
[all …]
H A Dbond_sysfs.c443 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
H A Dbond_netlink.c730 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
/linux-6.15/include/net/
H A Dbonding.h220 struct slave __rcu *primary_slave; member