Searched refs:nfences (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/i915/selftests/ |
D | i915_sw_fence.c | 452 int nfences = 4096; in test_chain() local 457 fences = kmalloc_array(nfences, sizeof(*fences), GFP_KERNEL); in test_chain() 461 for (i = 0; i < nfences; i++) { in test_chain() 464 nfences = i; in test_chain() 474 nfences = i + 1; in test_chain() 483 for (i = nfences; --i; ) { in test_chain() 491 for (i = 0; ret == 0 && i < nfences; i++) { in test_chain() 499 for (i = 0; i < nfences; i++) in test_chain()
|
/drivers/dma-buf/ |
D | sync_file.c | 214 struct dma_fence **fences, **nfences, **a_fences, **b_fences; in sync_file_merge() local 273 nfences = krealloc(fences, i * sizeof(*fences), in sync_file_merge() 275 if (!nfences) in sync_file_merge() 278 fences = nfences; in sync_file_merge()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_execbuffer.c | 2356 const unsigned long nfences = args->num_cliprects; in get_fence_array() local 2367 if (nfences > min_t(unsigned long, in get_fence_array() 2373 if (!access_ok(user, nfences * sizeof(*user))) in get_fence_array() 2376 fences = kvmalloc_array(nfences, sizeof(*fences), in get_fence_array() 2381 for (n = 0; n < nfences; n++) { in get_fence_array() 2427 const unsigned int nfences = eb->args->num_cliprects; in await_fence_array() local 2431 for (n = 0; n < nfences; n++) { in await_fence_array() 2457 const unsigned int nfences = eb->args->num_cliprects; in signal_fence_array() local 2461 for (n = 0; n < nfences; n++) { in signal_fence_array()
|