Searched refs:nfences (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/dev/pci/drm/i915/selftests/ |
H A 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()
|
/openbsd/sys/dev/pci/drm/ |
H A D | dma-resv.c | 566 struct dma_fence **nfences; in dma_resv_get_fences() local 589 nfences = kmalloc(count * sizeof(void *), in dma_resv_get_fences() 591 if (nfences != NULL && *fences != NULL) { in dma_resv_get_fences() 592 memcpy(nfences, *fences, in dma_resv_get_fences() 596 new_fences = nfences; in dma_resv_get_fences()
|
/openbsd/sys/dev/pci/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 2817 u64 nfences; in add_timeline_fence_array() local 2820 nfences = timeline_fences->fence_count; in add_timeline_fence_array() 2821 if (!nfences) in add_timeline_fence_array() 2826 if (nfences > min_t(unsigned long, in add_timeline_fence_array() 2832 if (!access_ok(user_fences, nfences * sizeof(*user_fences))) in add_timeline_fence_array() 2836 if (!access_ok(user_values, nfences * sizeof(*user_values))) in add_timeline_fence_array() 2841 (eb->num_fences + nfences) * sizeof(*f), in add_timeline_fence_array() 2846 f = kmalloc((eb->num_fences + nfences) * sizeof(*f), in add_timeline_fence_array() 2862 while (nfences--) { in add_timeline_fence_array()
|