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()
574 struct dma_fence **new_fences; in dma_resv_get_fences() local583 new_fences = krealloc_array(*fences, count, in dma_resv_get_fences()586 if (count && !new_fences) { in dma_resv_get_fences()593 *fences = new_fences; in dma_resv_get_fences()