Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/sync/
A Dsync.c87 struct sync_fence_info *fence_info; in sync_file_info() local
106 fence_info = calloc(num_fences, sizeof(*fence_info)); in sync_file_info()
107 if (!fence_info) { in sync_file_info()
112 info->sync_fence_info = (uint64_t)(unsigned long)fence_info; in sync_file_info()
116 free(fence_info); in sync_file_info()
149 struct sync_fence_info *fence_info = NULL; in sync_fence_count_with_status() local
155 fence_info = (struct sync_fence_info *)(unsigned long)info->sync_fence_info; in sync_fence_count_with_status()
157 if (fence_info[i].status == status) in sync_fence_count_with_status()
/linux/drivers/dma-buf/
A Dsync_file.c402 struct sync_fence_info *fence_info = NULL; in sync_file_ioctl_fence_info() local
431 size = num_fences * sizeof(*fence_info); in sync_file_ioctl_fence_info()
432 fence_info = kzalloc(size, GFP_KERNEL); in sync_file_ioctl_fence_info()
433 if (!fence_info) in sync_file_ioctl_fence_info()
437 int status = sync_fill_fence_info(fences[i], &fence_info[i]); in sync_file_ioctl_fence_info()
441 if (copy_to_user(u64_to_user_ptr(info.sync_fence_info), fence_info, in sync_file_ioctl_fence_info()
457 kfree(fence_info); in sync_file_ioctl_fence_info()

Completed in 6 milliseconds