Searched refs:fence_info (Results 1 – 2 of 2) sorted by relevance
87 struct sync_fence_info *fence_info; in sync_file_info() local106 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() local155 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()
282 struct sync_fence_info *fence_info = NULL; in sync_file_ioctl_fence_info() local316 size = num_fences * sizeof(*fence_info); in sync_file_ioctl_fence_info()317 fence_info = kzalloc(size, GFP_KERNEL); in sync_file_ioctl_fence_info()318 if (!fence_info) in sync_file_ioctl_fence_info()325 status = sync_fill_fence_info(fence, &fence_info[num_fences++]); in sync_file_ioctl_fence_info()329 if (copy_to_user(u64_to_user_ptr(info.sync_fence_info), fence_info, in sync_file_ioctl_fence_info()345 kfree(fence_info); in sync_file_ioctl_fence_info()