Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/winsys/panfrost/drm/
Dpanfrost_drm_winsys.c37 return panfrost_create_screen(os_dupfd_cloexec(fd), NULL); in panfrost_drm_screen_create()
43 return panfrost_create_screen(os_dupfd_cloexec(ro->gpu_fd), ro); in panfrost_drm_screen_create_renderonly()
/external/mesa3d/src/gallium/winsys/lima/drm/
Dlima_drm_winsys.c77 int dup_fd = os_dupfd_cloexec(fd); in lima_drm_screen_create()
100 return lima_screen_create(os_dupfd_cloexec(ro->gpu_fd), ro); in lima_drm_screen_create_renderonly()
/external/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()
/external/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()
/external/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()
/external/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);
/external/mesa3d/src/freedreno/vulkan/
Dtu_android.c210 .fd = os_dupfd_cloexec(dma_buf), in tu_import_memory_from_gralloc_handle()
401 nativeFenceFd >= 0 ? os_dupfd_cloexec(nativeFenceFd) : nativeFenceFd; in tu_AcquireImageANDROID()
412 int fence_fd = nativeFenceFd >= 0 ? os_dupfd_cloexec(nativeFenceFd) : nativeFenceFd; in tu_AcquireImageANDROID()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_fence.c133 *pfence = fence_create(fd_context(pctx), NULL, 0, os_dupfd_cloexec(fd), 0); in fd_create_fence_fd()
182 return os_dupfd_cloexec(fence->fence_fd); in fd_fence_get_fd()
/external/mesa3d/src/gallium/winsys/iris/drm/
Diris_drm_winsys.c35 int newfd = os_dupfd_cloexec(fd); in iris_drm_screen_create()
/external/mesa3d/src/gallium/winsys/tegra/drm/
Dtegra_drm_winsys.c41 fd = os_dupfd_cloexec(fd); in tegra_drm_screen_create()
/external/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()
/external/mesa3d/src/gallium/winsys/vc4/drm/
Dvc4_drm_winsys.c51 return vc4_screen_create(os_dupfd_cloexec(fd), NULL); in vc4_drm_screen_create()
/external/mesa3d/src/gallium/winsys/nouveau/drm/
Dnouveau_drm_winsys.c75 dupfd = os_dupfd_cloexec(fd); in nouveau_drm_screen_create()
/external/mesa3d/src/etnaviv/drm/
Detnaviv_device.c65 int dup_fd = os_dupfd_cloexec(fd); in etna_device_new_dup()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_sync.c506 fence->sync_fd = os_dupfd_cloexec(fd); in brw_dri_create_fence_fd()
523 return os_dupfd_cloexec(fence->sync_fd); in brw_dri_get_fence_fd_locked()
/external/mesa3d/src/freedreno/drm/
Dfreedreno_device.c95 int dup_fd = os_dupfd_cloexec(fd); in fd_device_new_dup()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen.c94 vws->ioctl.drm_fd = os_dupfd_cloexec(fd); in vmw_winsys_create()
Dvmw_screen_svga.c147 return os_dupfd_cloexec(vmw_fence_get_fd(fence)); in vmw_svga_winsys_fence_get_fd()
158 *fence = vmw_fence_create(NULL, 0, 0, 0, os_dupfd_cloexec(fd)); in vmw_svga_winsys_fence_create_fd()
/external/mesa3d/src/amd/vulkan/
Dradv_android.c141 .fd = os_dupfd_cloexec(dma_buf), in radv_image_from_gralloc()
393 int semaphore_fd = nativeFenceFd >= 0 ? os_dupfd_cloexec(nativeFenceFd) : nativeFenceFd; in radv_AcquireImageANDROID()
405 int fence_fd = nativeFenceFd >= 0 ? os_dupfd_cloexec(nativeFenceFd) : nativeFenceFd; in radv_AcquireImageANDROID()
/external/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader_drm.c185 if (fd < 0 || (new_fd = os_dupfd_cloexec(fd)) < 0) in pipe_loader_drm_probe_fd()
Dpipe_loader_sw.c183 if (fd < 0 || (sdev->fd = os_dupfd_cloexec(fd)) < 0) in pipe_loader_sw_probe_kms()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c778 fd = os_dupfd_cloexec(fd); in virgl_drm_fence_create()
1005 return os_dupfd_cloexec(fence->fd); in virgl_fence_get_fd()
1159 int dup_fd = os_dupfd_cloexec(fd); in virgl_drm_screen_create()
/external/mesa3d/src/egl/main/
Degldisplay.c622 display->Options.fd = os_dupfd_cloexec(fd); in _eglGetDeviceDisplay()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c352 ws->fd = os_dupfd_cloexec(fd); in amdgpu_winsys_create()

12