Home
last modified time | relevance | path

Searched refs:dup_fd (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl29.c48 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/
Detnaviv_device.c64 int dup_fd = dup(fd); in etna_device_new_dup() local
65 struct etna_device *dev = etna_device_new(dup_fd); in etna_device_new_dup()
70 close(dup_fd); in etna_device_new_dup()
/external/libdrm/freedreno/
Dfreedreno_device.c94 int dup_fd = dup(fd); in fd_device_new_dup() local
95 struct fd_device *dev = fd_device_new(dup_fd); in fd_device_new_dup()
99 close(dup_fd); in fd_device_new_dup()
/external/syzkaller/pkg/report/testdata/linux/report/
D24212 PC is at dup_fd+0x154/0x39c
13 LR is at dup_fd+0x148/0x39c
34 [<8028bd5c>] (dup_fd) from [<80132060>] (copy_process.part.3+0x58c/0x1844)
/external/bcc/src/cc/includes/
Dfile_desc.h52 int dup_fd = ::dup(fd_); in dup() local
53 return FileDesc(dup_fd); in dup()
/external/bcc/src/cc/
Dfile_desc.h52 int dup_fd = ::dup(fd_); in dup() local
53 return FileDesc(dup_fd); in dup()
/external/wayland/src/
Dconnection.c533 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/
Dvirgl_drm_winsys.c880 int dup_fd = fcntl(fd, F_DUPFD_CLOEXEC, 3); in virgl_drm_screen_create() local
882 vws = virgl_drm_winsys_create(dup_fd); in virgl_drm_screen_create()
886 util_hash_table_set(fd_tab, intptr_to_pointer(dup_fd), pscreen); in virgl_drm_screen_create()