Searched refs:sync_file (Results 1 - 22 of 22) sorted by relevance

/linux-master/drivers/dma-buf/
H A Dsync_file.c3 * 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 Dsync_debug.c36 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 Dsync_debug.h21 #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 DMakefile6 obj-$(CONFIG_SYNC_FILE) += sync_file.o
H A Dsw_sync.c12 #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 Ddma-buf.c24 #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 Dsync_file.h2 * 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 Dvirtgpu_submit.c13 #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 Dvirtgpu_ioctl.c29 #include <linux/sync_file.h>
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c11 #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 Dfence.c12 #include <linux/sync_file.h>
/linux-master/tools/testing/selftests/sync/
H A Dsync.c42 #include <linux/sync_file.h>
/linux-master/drivers/gpu/drm/
H A Ddrm_atomic_uapi.c40 #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 Ddrm_syncobj.c172 * 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 Ddrm_atomic.c30 #include <linux/sync_file.h>
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c8 #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 Damdgpu_cs.c30 #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 Di915_gem_execbuffer.c9 #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 Dlima_gem.c6 #include <linux/sync_file.h>
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c36 #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 Dvmwgfx_drv.h32 #include <linux/sync_file.h>
/linux-master/drivers/gpu/drm/tegra/
H A Dsubmit.c15 #include <linux/sync_file.h>

Completed in 276 milliseconds