Searched refs:dup_fd (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl29.c | 48 int lc, dup_fd; in main() local 62 dup_fd = TEST_RETURN; in main() 64 TEST(fcntl(dup_fd, F_GETFD)); in main() 66 SAFE_CLOSE(cleanup, dup_fd); in main() 79 SAFE_CLOSE(cleanup, dup_fd); in main()
|
/external/libdrm/etnaviv/ |
D | etnaviv_device.c | 68 int dup_fd = dup(fd); in etna_device_new_dup() local 69 struct etna_device *dev = etna_device_new(dup_fd); in etna_device_new_dup() 74 close(dup_fd); in etna_device_new_dup()
|
/external/libdrm/freedreno/ |
D | freedreno_device.c | 98 int dup_fd = dup(fd); in fd_device_new_dup() local 99 struct fd_device *dev = fd_device_new(dup_fd); in fd_device_new_dup() 103 close(dup_fd); in fd_device_new_dup()
|
/external/wayland/src/ |
D | connection.c | 533 int i, count, fd, dup_fd; in wl_closure_marshal() local 582 dup_fd = wl_os_dupfd_cloexec(fd, 0); in wl_closure_marshal() 583 if (dup_fd < 0) in wl_closure_marshal() 585 closure->args[i].h = dup_fd; in wl_closure_marshal()
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 870 int dup_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); in virgl_drm_screen_create() local 872 vws = virgl_drm_winsys_create(dup_fd); in virgl_drm_screen_create() 876 util_hash_table_set(fd_tab, intptr_to_pointer(dup_fd), pscreen); in virgl_drm_screen_create()
|