Searched refs:new_fences (Results 1 – 2 of 2) sorted by relevance
82 struct dma_fence **new_fences; in i915_deps_grow() local85 new_fences = kmalloc_array(new_size, sizeof(*new_fences), deps->gfp); in i915_deps_grow()86 if (!new_fences) in i915_deps_grow()89 memcpy(new_fences, deps->fences, in i915_deps_grow()90 deps->fences_size * sizeof(*new_fences)); in i915_deps_grow()91 swap(new_fences, deps->fences); in i915_deps_grow()92 if (new_fences != &deps->single) in i915_deps_grow()93 kfree(new_fences); in i915_deps_grow()
569 struct dma_fence **new_fences; in dma_resv_get_fences() local578 new_fences = krealloc_array(*fences, count, in dma_resv_get_fences()581 if (count && !new_fences) { in dma_resv_get_fences()588 *fences = new_fences; in dma_resv_get_fences()