Home
last modified time | relevance | path

Searched refs:sync_file (Results 1 – 10 of 10) sorted by relevance

/openbsd/games/sail/
H A Dsync.c57 static char sync_file[sizeof LF]; variable
115 char buf[sizeof sync_file]; in sync_exists()
145 (void) snprintf(sync_file, sizeof sync_file, SF, game); in sync_open()
147 if (stat(sync_file, &tmp) == -1) { in sync_open()
149 sync_fp = fopen(sync_file, "w+"); in sync_open()
152 sync_fp = fopen(sync_file, "r+"); in sync_open()
167 (void) unlink(sync_file); in sync_close()
221 if (link(sync_file, sync_lock) >= 0) { in Sync()
/openbsd/sys/dev/pci/drm/include/linux/
H A Dsync_file.h10 struct sync_file { struct
16 struct sync_file *sync_file_create(struct dma_fence *); argument
/openbsd/usr.sbin/rpc.statd/
H A Dstatd.c196 sync_file(); in notify_handler()
207 sync_file() in sync_file() function
501 sync_file(); in init_file()
536 sync_file(); in reset_database()
550 sync_file(); in unmon_hosts()
H A Dprocs.c131 sync_file(); in sm_mon_1_svc()
201 sync_file(); in sm_unmon_1_svc()
236 sync_file(); in sm_unmon_all_1_svc()
314 sync_file(); in sm_notify_1_svc()
H A Dstatd.h110 void sync_file(void);
/openbsd/sys/dev/pci/drm/
H A Ddrm_atomic_uapi.c1131 struct sync_file *sync_file; member
1145 fence_state->sync_file = sync_file_create(fence); in setup_out_fence()
1146 if (!fence_state->sync_file) in setup_out_fence()
1310 fence_state[i].sync_file->file); in complete_signaling()
1333 if (fence_state[i].sync_file) in complete_signaling()
1334 fput(fence_state[i].sync_file->file); in complete_signaling()
H A Ddrm_syncobj.c784 struct sync_file *sync_file; in drm_syncobj_export_sync_file() local
794 sync_file = sync_file_create(fence); in drm_syncobj_export_sync_file()
798 if (!sync_file) { in drm_syncobj_export_sync_file()
803 fd_install(fd, sync_file->file); in drm_syncobj_export_sync_file()
H A Ddrm_linux.c3082 struct sync_file *sf = fp->f_data; in syncfile_close()
3086 free(sf, M_DRM, sizeof(struct sync_file)); in syncfile_close()
3189 struct sync_file *sf; in sync_file_get_fence()
3205 struct sync_file *
3209 struct sync_file *sf; in sync_file_create()
3217 sf = malloc(sizeof(struct sync_file), M_DRM, M_WAITOK | M_ZERO); in sync_file_create()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_cs.c1540 struct sync_file *sync_file; in amdgpu_cs_fence_to_handle_ioctl() local
1576 sync_file = sync_file_create(fence); in amdgpu_cs_fence_to_handle_ioctl()
1578 if (!sync_file) { in amdgpu_cs_fence_to_handle_ioctl()
1583 fd_install(fd, sync_file->file); in amdgpu_cs_fence_to_handle_ioctl()
/openbsd/sys/dev/pci/drm/i915/gem/
H A Di915_gem_execbuffer.c3230 static struct sync_file *
3233 struct sync_file *out_fence = NULL; in eb_composite_fence_create()
3277 static struct sync_file *
3281 struct sync_file *out_fence = NULL; in eb_fences_add()
3339 static struct sync_file *
3343 struct sync_file *out_fence = NULL; in eb_requests_create()
3394 struct sync_file *out_fence = NULL; in i915_gem_do_execbuffer()