Lines Matching refs:all_slaves
5042 struct bond_up_slave *all_slaves)
5050 all = rtnl_dereference(bond->all_slaves);
5051 rcu_assign_pointer(bond->all_slaves, all_slaves);
5070 struct bond_up_slave *usable_slaves = NULL, *all_slaves = NULL;
5080 all_slaves = kzalloc(struct_size(all_slaves, arr,
5082 if (!usable_slaves || !all_slaves) {
5106 all_slaves->arr[all_slaves->count++] = slave;
5123 bond_set_slave_arr(bond, usable_slaves, all_slaves);
5127 bond_skip_slave(rtnl_dereference(bond->all_slaves),
5132 kfree_rcu(all_slaves, rcu);
5284 bool all_slaves)
5299 if (all_slaves)
5300 slaves = rcu_dereference(bond->all_slaves);