Home
last modified time | relevance | path

Searched refs:primary_slave (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_options.c1327 if (rtnl_dereference(bond->primary_slave)) in bond_option_prio_set()
1351 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1360 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1368 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1370 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.c1045 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
1269 * - The primary_slave has got its link back.
2109 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2296 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2297 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2304 /* either primary_slave or curr_active_slave might've changed */ in bond_enslave()
2432 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2433 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2740 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3437 /* primary_slave ha in bond_loadbalance_arp_mon()
[all...]
H A Dbond_netlink.c715 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
H A Dbond_sysfs.c444 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_options.c1157 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1166 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1174 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1176 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
H A Dbond_procfs.c86 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
H A Dbond_main.c993 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
1202 * - The primary_slave has got its link back.
1982 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2132 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2133 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2140 /* either primary_slave or curr_active_slave might've changed */ in bond_enslave()
2259 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2260 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2560 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3025 /* primary_slave ha in bond_loadbalance_arp_mon()
[all...]
H A Dbond_sysfs.c417 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
H A Dbond_netlink.c583 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
/kernel/linux/linux-5.10/include/net/
H A Dbonding.h215 struct slave __rcu *primary_slave; member
/kernel/linux/linux-6.6/include/net/
H A Dbonding.h218 struct slave __rcu *primary_slave; member

Completed in 23 milliseconds