Lines Matching refs:usable_slaves
4678 struct bond_up_slave *usable_slaves, in bond_set_slave_arr() argument
4683 usable = rtnl_dereference(bond->usable_slaves); in bond_set_slave_arr()
4684 rcu_assign_pointer(bond->usable_slaves, usable_slaves); in bond_set_slave_arr()
4696 usable = rtnl_dereference(bond->usable_slaves); in bond_reset_slave_arr()
4698 RCU_INIT_POINTER(bond->usable_slaves, NULL); in bond_reset_slave_arr()
4719 struct bond_up_slave *usable_slaves = NULL, *all_slaves = NULL; in bond_update_slave_arr() local
4727 usable_slaves = kzalloc(struct_size(usable_slaves, arr, in bond_update_slave_arr()
4731 if (!usable_slaves || !all_slaves) { in bond_update_slave_arr()
4767 usable_slaves->count); in bond_update_slave_arr()
4769 usable_slaves->arr[usable_slaves->count++] = slave; in bond_update_slave_arr()
4772 bond_set_slave_arr(bond, usable_slaves, all_slaves); in bond_update_slave_arr()
4778 bond_skip_slave(rtnl_dereference(bond->usable_slaves), in bond_update_slave_arr()
4782 kfree_rcu(usable_slaves, rcu); in bond_update_slave_arr()
4812 slaves = rcu_dereference(bond->usable_slaves); in bond_xdp_xmit_3ad_xor_slave_get()
4831 slaves = rcu_dereference(bond->usable_slaves); in bond_3ad_xor_xmit()
4937 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_get_slave()
5013 slaves = rcu_dereference(bond->usable_slaves); in __bond_sk_get_lower_dev()
5459 usable = rtnl_dereference(bond->usable_slaves); in bond_uninit()
5461 RCU_INIT_POINTER(bond->usable_slaves, NULL); in bond_uninit()