Lines Matching refs:slaves

5183 static void bond_skip_slave(struct bond_up_slave *slaves,  in bond_skip_slave()  argument
5196 for (idx = 0; slaves && idx < slaves->count; idx++) { in bond_skip_slave()
5197 if (skipslave == slaves->arr[idx]) { in bond_skip_slave()
5198 slaves->arr[idx] = in bond_skip_slave()
5199 slaves->arr[slaves->count - 1]; in bond_skip_slave()
5200 slaves->count--; in bond_skip_slave()
5306 struct bond_up_slave *slaves) in bond_xmit_3ad_xor_slave_get() argument
5313 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_3ad_xor_slave_get()
5317 slave = slaves->arr[hash % count]; in bond_xmit_3ad_xor_slave_get()
5324 struct bond_up_slave *slaves; in bond_xdp_xmit_3ad_xor_slave_get() local
5329 slaves = rcu_dereference(bond->usable_slaves); in bond_xdp_xmit_3ad_xor_slave_get()
5330 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xdp_xmit_3ad_xor_slave_get()
5334 return slaves->arr[hash % count]; in bond_xdp_xmit_3ad_xor_slave_get()
5376 struct bond_up_slave *slaves; in bond_3ad_xor_xmit() local
5379 slaves = rcu_dereference(bond->usable_slaves); in bond_3ad_xor_xmit()
5380 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves); in bond_3ad_xor_xmit()
5395 struct bond_up_slave *slaves; in bond_xmit_broadcast() local
5401 slaves = rcu_dereference(bond->all_slaves); in bond_xmit_broadcast()
5403 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_broadcast()
5405 slaves_count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_broadcast()
5407 struct slave *slave = slaves->arr[i]; in bond_xmit_broadcast()
5494 struct bond_up_slave *slaves; in bond_xmit_get_slave() local
5507 slaves = rcu_dereference(bond->all_slaves); in bond_xmit_get_slave()
5509 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_get_slave()
5510 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves); in bond_xmit_get_slave()
5580 struct bond_up_slave *slaves; in __bond_sk_get_lower_dev() local
5585 slaves = rcu_dereference(bond->usable_slaves); in __bond_sk_get_lower_dev()
5586 count = slaves ? READ_ONCE(slaves->count) : 0; in __bond_sk_get_lower_dev()
5591 slave = slaves->arr[hash % count]; in __bond_sk_get_lower_dev()