| /xsrc/external/mit/libdrm/dist/etnaviv/ |
| H A D | etnaviv_device.c | 63 int dup_fd = dup(fd); local in function:etna_device_new_dup 64 struct etna_device *dev = etna_device_new(dup_fd); 69 close(dup_fd);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/lima/drm/ |
| H A D | lima_drm_winsys.c | 83 int dup_fd = os_dupfd_cloexec(fd); local in function:lima_drm_screen_create 85 pscreen = lima_screen_create(dup_fd, NULL); 87 _mesa_hash_table_insert(fd_tab, intptr_to_pointer(dup_fd), pscreen);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/lima/drm/ |
| H A D | lima_drm_winsys.c | 100 int dup_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); local in function:lima_drm_screen_create 102 pscreen = lima_screen_create(dup_fd, NULL); 104 util_hash_table_set(fd_tab, intptr_to_pointer(dup_fd), pscreen);
|
| /xsrc/external/mit/libdrm/dist/freedreno/ |
| H A D | freedreno_device.c | 95 int dup_fd = dup(fd); local in function:fd_device_new_dup 96 struct fd_device *dev = fd_device_new(dup_fd); 100 close(dup_fd);
|
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/drm/ |
| H A D | freedreno_device.c | 106 int dup_fd = dup(fd); local in function:fd_device_new_dup 107 struct fd_device *dev = fd_device_new(dup_fd); 111 close(dup_fd);
|
| /xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/ |
| H A D | etnaviv_device.c | 83 int dup_fd = os_dupfd_cloexec(fd); local in function:etna_device_new_dup 84 struct etna_device *dev = etna_device_new(dup_fd); 89 close(dup_fd);
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/drm/ |
| H A D | freedreno_device.c | 99 int dup_fd = os_dupfd_cloexec(fd); local in function:fd_device_new_dup 100 struct fd_device *dev = fd_device_new(dup_fd); 104 close(dup_fd);
|
| /xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/ |
| H A D | vn_android.c | 429 int dup_fd = -1; local in function:vn_android_image_from_anb 488 dup_fd = os_dupfd_cloexec(dma_buf_fd); 489 if (dup_fd < 0) { 499 .fd = dup_fd, 509 /* only need to close the dup_fd on import failure */ 510 close(dup_fd); 945 int dup_fd = -1; local in function:vn_android_device_import_ahb 1014 dup_fd = os_dupfd_cloexec(dma_buf_fd); 1015 if (dup_fd < 0) 1037 force_unmappable, dup_fd); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/virgl/drm/ |
| H A D | virgl_drm_winsys.c | 1103 int dup_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); local in function:virgl_drm_screen_create 1105 vws = virgl_drm_winsys_create(dup_fd); 1107 close(dup_fd); 1113 util_hash_table_set(fd_tab, intptr_to_pointer(dup_fd), pscreen);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/virgl/drm/ |
| H A D | virgl_drm_winsys.c | 1318 int dup_fd = os_dupfd_cloexec(fd); local in function:virgl_drm_screen_create 1320 vws = virgl_drm_winsys_create(dup_fd); 1322 close(dup_fd); 1328 _mesa_hash_table_insert(fd_tab, intptr_to_pointer(dup_fd), pscreen);
|