Lines Matching defs:old
184 struct dma_resv_list *old, *new;
189 old = dma_resv_fences_list(obj);
190 if (old && old->max_fences) {
191 if ((old->num_fences + num_fences) <= old->max_fences)
193 max = max(old->num_fences + num_fences, old->max_fences * 2);
205 * references from the old struct are carried over to
208 for (i = 0, j = 0, k = max; i < (old ? old->num_fences : 0); ++i) {
212 dma_resv_list_entry(old, i, obj, &fence, &usage);
225 * old array are protected by RCU and so will not vanish under
230 if (!old)
241 kfree_rcu(old, rcu);
284 struct dma_fence *old;
302 dma_resv_list_entry(fobj, i, obj, &old, &old_usage);
303 if ((old->context == fence->context && old_usage >= usage &&
304 dma_fence_is_later_or_same(fence, old)) ||
305 dma_fence_is_signaled(old)) {
307 dma_fence_put(old);
346 struct dma_fence *old;
348 dma_resv_list_entry(list, i, obj, &old, NULL);
349 if (old->context != context)
353 dma_fence_put(old);