/linux-master/drivers/dma-buf/ |
H A D | sync_file.c | 3 * drivers/dma-buf/sync_file.c 18 #include <linux/sync_file.h> 19 #include <uapi/linux/sync_file.h> 23 static struct sync_file *sync_file_alloc(void) 25 struct sync_file *sync_file; local 27 sync_file = kzalloc(sizeof(*sync_file), GFP_KERNEL); 28 if (!sync_file) 31 sync_file 49 struct sync_file *sync_file; local 67 struct sync_file *sync_file; local 105 struct sync_file *sync_file; local 132 sync_file_get_name(struct sync_file *sync_file, char *buf, int len) argument 162 struct sync_file *sync_file; local 181 struct sync_file *sync_file = file->private_data; local 193 struct sync_file *sync_file = file->private_data; local 207 sync_file_ioctl_merge(struct sync_file *sync_file, unsigned long arg) argument 279 sync_file_ioctl_fence_info(struct sync_file *sync_file, unsigned long arg) argument 350 sync_file_ioctl_set_deadline(struct sync_file *sync_file, unsigned long arg) argument 369 struct sync_file *sync_file = file->private_data; local [all...] |
H A D | sync_debug.c | 36 void sync_file_debug_add(struct sync_file *sync_file) argument 41 list_add_tail(&sync_file->sync_file_list, &sync_file_list_head); 45 void sync_file_debug_remove(struct sync_file *sync_file) argument 50 list_del(&sync_file->sync_file_list); 122 struct sync_file *sync_file) 127 seq_printf(s, "[%p] %s: %s\n", sync_file, 128 sync_file_get_name(sync_file, bu 121 sync_print_sync_file(struct seq_file *s, struct sync_file *sync_file) argument 162 struct sync_file *sync_file = local [all...] |
H A D | sync_debug.h | 21 #include <linux/sync_file.h> 22 #include <uapi/linux/sync_file.h> 71 void sync_file_debug_add(struct sync_file *fence); 72 void sync_file_debug_remove(struct sync_file *fence);
|
H A D | Makefile | 6 obj-$(CONFIG_SYNC_FILE) += sync_file.o
|
H A D | sw_sync.c | 12 #include <linux/sync_file.h> 47 * @fence: return the fd of the new sync_file with the created fence 371 struct sync_file *sync_file; local 388 sync_file = sync_file_create(&pt->base); 390 if (!sync_file) { 397 fput(sync_file->file); 402 fd_install(fd, sync_file->file);
|
H A D | dma-buf.c | 24 #include <linux/sync_file.h> 200 * exported as a &sync_file using &dma_buf_sync_file_export. 342 struct sync_file *sync_file; local 366 sync_file = sync_file_create(fence); 370 if (!sync_file) { 381 fd_install(fd, sync_file->file); 386 fput(sync_file->file);
|
/linux-master/include/linux/ |
H A D | sync_file.h | 2 * include/linux/sync_file.h 24 * struct sync_file - sync file to export to the userspace 28 * @flags: flags for the sync_file 29 * @fence: fence with the fences in the sync_file 35 struct sync_file { struct 58 struct sync_file *sync_file_create(struct dma_fence *fence); 60 char *sync_file_get_name(struct sync_file *sync_file, char *buf, int len);
|
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_submit.c | 13 #include <linux/sync_file.h> 40 struct sync_file *sync_file; member in struct:virtio_gpu_submit 347 if (submit->sync_file) 348 fput(submit->sync_file->file); 363 submit->sync_file = NULL; 427 submit->sync_file = sync_file_create(&out_fence->f); 428 if (!submit->sync_file) 459 if (submit->sync_file) { 461 fd_install(submit->out_fence_fd, submit->sync_file [all...] |
H A D | virtgpu_ioctl.c | 29 #include <linux/sync_file.h>
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem_submit.c | 11 #include <linux/sync_file.h> 423 struct sync_file *sync_file = NULL; local 602 sync_file = sync_file_create(submit->out_fence); 603 if (!sync_file) { 612 fd_install(out_fence_fd, sync_file->file);
|
/linux-master/drivers/gpu/host1x/ |
H A D | fence.c | 12 #include <linux/sync_file.h>
|
/linux-master/tools/testing/selftests/sync/ |
H A D | sync.c | 42 #include <linux/sync_file.h>
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_atomic_uapi.c | 40 #include <linux/sync_file.h> 1119 * merged one, the sync_file framework will handle both cases and use a 1153 struct sync_file *sync_file; member in struct:drm_out_fence_state 1167 fence_state->sync_file = sync_file_create(fence); 1168 if (!fence_state->sync_file) 1312 fence_state[i].sync_file->file); 1335 if (fence_state[i].sync_file) 1336 fput(fence_state[i].sync_file->file);
|
H A D | drm_syncobj.c | 172 * import/export the syncobj's current fence from/to a &sync_file. 201 #include <linux/sync_file.h> 772 struct sync_file *sync_file; local 782 sync_file = sync_file_create(fence); 786 if (!sync_file) { 791 fd_install(fd, sync_file->file);
|
H A D | drm_atomic.c | 30 #include <linux/sync_file.h>
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 8 #include <linux/sync_file.h> 872 struct sync_file *sync_file = sync_file_create(submit->user_fence); local 873 if (!sync_file) { 876 fd_install(out_fence_fd, sync_file->file);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_cs.c | 30 #include <linux/sync_file.h> 1542 struct sync_file *sync_file; local 1578 sync_file = sync_file_create(fence); 1580 if (!sync_file) { 1585 fd_install(fd, sync_file->file);
|
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 9 #include <linux/sync_file.h> 3199 static struct sync_file * 3202 struct sync_file *out_fence = NULL; 3235 /* sync_file now owns fence_arry, drop creation ref */ 3246 static struct sync_file * 3250 struct sync_file *out_fence = NULL; 3308 static struct sync_file * 3312 struct sync_file *out_fence = NULL; 3363 struct sync_file *out_fence = NULL;
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_gem.c | 6 #include <linux/sync_file.h>
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 36 #include <linux/sync_file.h> 4102 struct sync_file *sync_file = NULL; local 4246 sync_file = sync_file_create(&fence->base); 4247 if (!sync_file) { 4260 if (sync_file) { 4263 fput(sync_file->file); 4267 fd_install(out_fence_fd, sync_file->file);
|
H A D | vmwgfx_drv.h | 32 #include <linux/sync_file.h>
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | submit.c | 15 #include <linux/sync_file.h>
|