Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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_main.c992 struct slave *prim = rtnl_dereference(bond->primary_slave); in bond_choose_primary_or_current()
1970 rcu_assign_pointer(bond->primary_slave, new_slave); in bond_enslave()
2120 if (rcu_access_pointer(bond->primary_slave) == new_slave) in bond_enslave()
2121 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_enslave()
2247 if (rtnl_dereference(bond->primary_slave) == slave) in __bond_release_one()
2248 RCU_INIT_POINTER(bond->primary_slave, NULL); in __bond_release_one()
2539 primary = rtnl_dereference(bond->primary_slave); in bond_miimon_commit()
3188 slave == rtnl_dereference(bond->primary_slave)) in bond_ab_arp_commit()
3451 primary = rtnl_dereference(bond->primary_slave); in bond_slave_netdev_event()
3515 RCU_INIT_POINTER(bond->primary_slave, NULL); in bond_slave_netdev_event()
[all …]
H A Dbond_procfs.c86 primary = rcu_dereference(bond->primary_slave); in bond_info_show_master()
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()
/OK3568_Linux_fs/kernel/include/net/
H A Dbonding.h215 struct slave __rcu *primary_slave; member