Lines Matching refs:usable_slaves
1190 usable = rcu_dereference_rtnl(bond->usable_slaves); in bond_should_notify_peers()
2659 struct bond_up_slave *usable_slaves; in bond_miimon_inspect() local
2661 usable_slaves = rcu_dereference(bond->usable_slaves); in bond_miimon_inspect()
2663 if (usable_slaves && usable_slaves->count == 0) in bond_miimon_inspect()
5120 struct bond_up_slave *usable_slaves, in bond_set_slave_arr() argument
5130 kfree_rcu(usable_slaves, rcu); in bond_set_slave_arr()
5134 usable = rtnl_dereference(bond->usable_slaves); in bond_set_slave_arr()
5135 rcu_assign_pointer(bond->usable_slaves, usable_slaves); in bond_set_slave_arr()
5154 struct bond_up_slave *usable_slaves = NULL, *all_slaves = NULL; in bond_update_slave_arr() local
5162 usable_slaves = kzalloc_flex(*usable_slaves, arr, bond->slave_cnt); in bond_update_slave_arr()
5164 if (!usable_slaves || !all_slaves) { in bond_update_slave_arr()
5200 usable_slaves->count); in bond_update_slave_arr()
5202 usable_slaves->arr[usable_slaves->count++] = slave; in bond_update_slave_arr()
5205 bond_set_slave_arr(bond, usable_slaves, all_slaves); in bond_update_slave_arr()
5211 bond_skip_slave(rtnl_dereference(bond->usable_slaves), in bond_update_slave_arr()
5215 kfree_rcu(usable_slaves, rcu); in bond_update_slave_arr()
5245 slaves = rcu_dereference(bond->usable_slaves); in bond_xdp_xmit_3ad_xor_slave_get()
5295 slaves = rcu_dereference(bond->usable_slaves); in bond_3ad_xor_xmit()
5319 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_broadcast()
5425 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_get_slave()
5501 slaves = rcu_dereference(bond->usable_slaves); in __bond_sk_get_lower_dev()