Home
last modified time | relevance | path

Searched refs:usable_slaves (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_main.c4414 struct bond_up_slave *usable_slaves, in bond_set_slave_arr() argument
4419 usable = rtnl_dereference(bond->usable_slaves); in bond_set_slave_arr()
4420 rcu_assign_pointer(bond->usable_slaves, usable_slaves); in bond_set_slave_arr()
4432 usable = rtnl_dereference(bond->usable_slaves); in bond_reset_slave_arr()
4434 RCU_INIT_POINTER(bond->usable_slaves, NULL); in bond_reset_slave_arr()
4455 struct bond_up_slave *usable_slaves = NULL, *all_slaves = NULL; in bond_update_slave_arr() local
4465 usable_slaves = kzalloc(struct_size(usable_slaves, arr, in bond_update_slave_arr()
4469 if (!usable_slaves || !all_slaves) { in bond_update_slave_arr()
4502 usable_slaves->count); in bond_update_slave_arr()
4504 usable_slaves->arr[usable_slaves->count++] = slave; in bond_update_slave_arr()
[all …]
Dbond_alb.c1363 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_tlb_slave_get()
1506 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_alb_slave_get()
/kernel/linux/linux-5.10/include/net/
Dbonding.h216 struct bond_up_slave __rcu *usable_slaves; member