Lines Matching defs:new
95 * Allocate a new dma_resv_list and make sure to correctly initialize
184 struct dma_resv_list *old, *new;
198 new = dma_resv_list_alloc(max);
199 if (!new)
206 * the new.
214 RCU_INIT_POINTER(new->table[--k], fence);
216 dma_resv_list_set(new, j++, fence, usage);
218 new->num_fences = j;
222 * merely update the pointer to the new array; both existing
223 * readers and new readers will see exactly the same set of
228 rcu_assign_pointer(obj->fences, new);
237 fence = rcu_dereference_protected(new->table[i],
325 * @replacement: the new fence to use instead
326 * @usage: how the new fence is used, see enum dma_resv_usage
328 * Replace fences with a specified context with a new fence. Only valid if the
330 * resources represented by the dma_resv object when the new fence completes.