Home
last modified time | relevance | path

Searched refs:os_dupfd_cloexec (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/gallium/winsys/lima/drm/
Dlima_drm_winsys.c83 int dup_fd = os_dupfd_cloexec(fd); in lima_drm_screen_create()
106 return lima_screen_create(os_dupfd_cloexec(ro->gpu_fd), ro); in lima_drm_screen_create_renderonly()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_fence.c50 *fence = lima_fence_create(os_dupfd_cloexec(fd)); in lima_create_fence_fd()
87 return os_dupfd_cloexec(fence->fd); in lima_fence_get_fd()
/third_party/mesa3d/src/gallium/winsys/panfrost/drm/
Dpanfrost_drm_winsys.c116 return panfrost_create_screen(os_dupfd_cloexec(fd), NULL); in panfrost_drm_screen_create()
123 return panfrost_create_screen(os_dupfd_cloexec(ro->gpu_fd), ro); in panfrost_drm_screen_create_renderonly()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_fence.c83 *pfence = etna_fence_create(pctx, os_dupfd_cloexec(fd)); in etna_create_fence_fd()
100 return os_dupfd_cloexec(pfence->fence_fd); in etna_screen_fence_get_fd()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_fence.c115 os_dupfd_cloexec(fd)); in vc4_fence_create_fd()
134 return os_dupfd_cloexec(fence->fd); in vc4_fence_get_fd()
/third_party/mesa3d/src/util/
Dos_file.c41 os_dupfd_cloexec(int fd) in os_dupfd_cloexec() function
51 os_dupfd_cloexec(int fd) in os_dupfd_cloexec() function
Dos_file.h31 os_dupfd_cloexec(int fd);
/third_party/mesa3d/src/gallium/winsys/crocus/drm/
Dcrocus_drm_winsys.c35 int newfd = os_dupfd_cloexec(fd); in crocus_drm_screen_create()
/third_party/mesa3d/src/gallium/winsys/iris/drm/
Diris_drm_winsys.c35 int newfd = os_dupfd_cloexec(fd); in iris_drm_screen_create()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_android.c289 .fd = os_dupfd_cloexec(dma_buf), in tu_import_memory_from_gralloc_handle()
486 nativeFenceFd >= 0 ? os_dupfd_cloexec(nativeFenceFd) : nativeFenceFd; in tu_AcquireImageANDROID()
498 int fence_fd = nativeFenceFd >= 0 ? os_dupfd_cloexec(nativeFenceFd) : nativeFenceFd; in tu_AcquireImageANDROID()
/third_party/mesa3d/src/gallium/winsys/tegra/drm/
Dtegra_drm_winsys.c41 fd = os_dupfd_cloexec(fd); in tegra_drm_screen_create()
/third_party/mesa3d/src/gallium/winsys/v3d/drm/
Dv3d_drm_winsys.c36 return v3d_screen_create(os_dupfd_cloexec(fd), config, NULL); in v3d_drm_screen_create()
/third_party/mesa3d/src/gallium/winsys/vc4/drm/
Dvc4_drm_winsys.c51 return vc4_screen_create(os_dupfd_cloexec(fd), NULL); in vc4_drm_screen_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_fence.c194 fence_create(fd_context(pctx), NULL, os_dupfd_cloexec(fd), 0); in fd_create_fence_fd()
261 return os_dupfd_cloexec(fence->submit_fence.fence_fd); in fd_fence_get_fd()
/third_party/mesa3d/src/gallium/winsys/nouveau/drm/
Dnouveau_drm_winsys.c75 dupfd = os_dupfd_cloexec(fd); in nouveau_drm_screen_create()
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_device.c83 int dup_fd = os_dupfd_cloexec(fd); in etna_device_new_dup()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_device.c99 int dup_fd = os_dupfd_cloexec(fd); in fd_device_new_dup()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sync.c598 fence->sync_fd = os_dupfd_cloexec(fd); in brw_dri_create_fence_fd()
615 return os_dupfd_cloexec(fence->sync_fd); in brw_dri_get_fence_fd_locked()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen.c153 vws->ioctl.drm_fd = os_dupfd_cloexec(fd); in vmw_winsys_create()
Dvmw_screen_svga.c450 return os_dupfd_cloexec(vmw_fence_get_fd(fence)); in vmw_svga_winsys_fence_get_fd()
461 *fence = vmw_fence_create(NULL, 0, 0, 0, os_dupfd_cloexec(fd)); in vmw_svga_winsys_fence_create_fd()
/third_party/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader_sw.c181 if (fd < 0 || (sdev->fd = os_dupfd_cloexec(fd)) < 0) in pipe_loader_sw_probe_kms()
Dpipe_loader_drm.c190 if (fd < 0 || (new_fd = os_dupfd_cloexec(fd)) < 0) in pipe_loader_drm_probe_fd()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c488 dup_fd = os_dupfd_cloexec(dma_buf_fd); in vn_android_image_from_anb()
570 fence_fd = os_dupfd_cloexec(nativeFenceFd); in vn_AcquireImageANDROID()
1014 dup_fd = os_dupfd_cloexec(dma_buf_fd); in vn_android_device_import_ahb()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c890 fd = os_dupfd_cloexec(fd); in virgl_drm_fence_create()
1116 return os_dupfd_cloexec(fence->fd); in virgl_fence_get_fd()
1318 int dup_fd = os_dupfd_cloexec(fd); in virgl_drm_screen_create()
/third_party/mesa3d/src/egl/main/
Degldisplay.c673 display->Options.fd = os_dupfd_cloexec(fd); in _eglGetDeviceDisplay()

12