Home
last modified time | relevance | path

Searched refs:new_fences (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/i915/
Di915_deps.c82 struct dma_fence **new_fences; in i915_deps_grow() local
85 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()
/Linux-v6.6/drivers/dma-buf/
Ddma-resv.c574 struct dma_fence **new_fences; in dma_resv_get_fences() local
583 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()