Home
last modified time | relevance | path

Searched refs:num_fences (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/dma-buf/
Dsync_file.c158 struct dma_fence **fences, int num_fences) in sync_file_set_fence() argument
168 if (num_fences == 1) { in sync_file_set_fence()
172 array = dma_fence_array_create(num_fences, fences, in sync_file_set_fence()
185 int *num_fences) in get_fences() argument
190 *num_fences = array->num_fences; in get_fences()
194 *num_fences = 1; in get_fences()
224 int i = 0, i_a, i_b, num_fences, a_num_fences, b_num_fences; in sync_file_merge() local
235 num_fences = a_num_fences + b_num_fences; in sync_file_merge()
237 fences = kcalloc(num_fences, sizeof(*fences), GFP_KERNEL); in sync_file_merge()
280 if (num_fences > i) { in sync_file_merge()
[all …]
Ddma-fence-array.c61 for (i = 0; i < array->num_fences; ++i) { in dma_fence_array_enable_signaling()
95 for (i = 0; i < array->num_fences; ++i) in dma_fence_array_release()
130 struct dma_fence_array *dma_fence_array_create(int num_fences, in dma_fence_array_create() argument
139 size += num_fences * sizeof(struct dma_fence_array_cb); in dma_fence_array_create()
149 array->num_fences = num_fences; in dma_fence_array_create()
150 atomic_set(&array->num_pending, signal_on_any ? 1 : num_fences); in dma_fence_array_create()
174 for (i = 0; i < array->num_fences; i++) { in dma_fence_match_context()
Dsync_debug.c143 for (i = 0; i < array->num_fences; ++i) in sync_print_sync_file()
/linux-4.19.296/include/linux/
Ddma-fence-array.h48 unsigned num_fences; member
84 struct dma_fence_array *dma_fence_array_create(int num_fences,
/linux-4.19.296/include/uapi/linux/
Dsync_file.h64 __u32 num_fences; member