Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/bonding/
Dbond_options.c1138 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
1148 rcu_assign_pointer(bond->primary_slave, slave); in bond_option_primary_set()
1156 if (rtnl_dereference(bond->primary_slave)) { in bond_option_primary_set()
1158 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_option_primary_set()
Dbond_main.c714 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
1638 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
1793 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
1794 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
1922 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
1923 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2211 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
2854 slave == rtnl_dereference(bond->primary_slave)) in bond_ab_arp_commit()
3101 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
3158 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()
[all …]
Dbond_procfs.c86 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
Dbond_netlink.c574 primary = rtnl_dereference(bond->primary_slave); in bond_fill_info()
Dbond_sysfs.c421 primary = rcu_dereference(bond->primary_slave); in bonding_show_primary()
/Linux-v4.19/include/net/
Dbonding.h193 struct slave __rcu *primary_slave; member