Home
last modified time | relevance | path

Searched refs:F_GETFD (Results 1 – 25 of 133) sorted by relevance

123456

/external/ltp/testcases/kernel/syscalls/epoll_create1/
Depoll_create1_01.c45 coe = SAFE_FCNTL(fd, F_GETFD); in verify_epoll_create1()
55 coe = SAFE_FCNTL(fd, F_GETFD); in verify_epoll_create1()
/external/ltp/testcases/kernel/syscalls/dup3/
Ddup3_01.c94 coe = fcntl(fd, F_GETFD); in main()
107 coe = fcntl(fd, F_GETFD); in main()
/external/ltp/testcases/kernel/syscalls/eventfd2/
Deventfd2_01.c99 coe = fcntl(fd, F_GETFD); in main()
112 coe = fcntl(fd, F_GETFD); in main()
/external/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c43 {SOCK_STREAM, 0, F_GETFD, "no close-on-exec"},
44 {SOCK_STREAM | SOCK_CLOEXEC, FD_CLOEXEC, F_GETFD, "close-on-exec"},
/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd02.c147 coe = fcntl(fd, F_GETFD); in main()
165 coe = fcntl(fd, F_GETFD); in main()
/external/ltp/testcases/kernel/syscalls/inotify_init/
Dinotify_init1_01.c144 coe = fcntl(fd, F_GETFD); in main()
160 coe = fcntl(fd, F_GETFD); in main()
/external/ltp/testcases/kernel/syscalls/signalfd4/
Dsignalfd4_01.c151 coe = fcntl(fd, F_GETFD); in main()
169 coe = fcntl(fd, F_GETFD); in main()
/external/ltp/testcases/kernel/syscalls/pipe2/
Dpipe2_01.c149 coe = fcntl(fd[i], F_GETFD); in main()
168 coe = fcntl(fd[i], F_GETFD); in main()
/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c46 {SOCK_STREAM, 0, F_GETFD, "no close-on-exec"},
47 {SOCK_STREAM | SOCK_CLOEXEC, FD_CLOEXEC, F_GETFD, "close-on-exec"},
/external/strace/xlat/
Dfcntlcmds.h13 #if defined(F_GETFD) || (defined(HAVE_DECL_F_GETFD) && HAVE_DECL_F_GETFD)
15 static_assert((F_GETFD) == (1), "F_GETFD != 1");
18 # define F_GETFD 1
400 XLAT(F_GETFD),
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl01.c142 if ((flags = fcntl(fd[2], F_GETFD, 0)) < 0) in main()
150 if ((flags = fcntl(fd[2], F_GETFD, 0)) == -1) in main()
Dfcntl03.c52 TEST(fcntl(fd, F_GETFD, 0)); in verify_fcntl()
Dfcntl29.c64 TEST(fcntl(dup_fd, F_GETFD)); in main()
/external/vboot_reference/cgpt/
Dcgpt_nor.c212 int fd_flags = fcntl(1, F_GETFD); in ReadNorFlash()
237 int fd_flags = fcntl(1, F_GETFD); in WriteNorFlash()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D11-1.c34 flags = fcntl(fd, F_GETFD); in main()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify08.c35 ret = SAFE_FCNTL(fd_notify, F_GETFD); in test_init_bit()
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_posix.cc46 flags = fcntl(fd, F_GETFD, 0); in grpc_accept4()
/external/jemalloc_new/src/
Dpages.c461 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in os_overcommits_proc()
472 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in os_overcommits_proc()
481 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in os_overcommits_proc()
/external/honggfuzz/libhfuzz/
Dfetch.c27 if (fcntl(_HF_INPUT_FD, F_GETFD) == -1 && errno == EBADF) { in init()
/external/wayland/cursor/
Dos-compatibility.c47 flags = fcntl(fd, F_GETFD); in set_cloexec_or_close()
/external/ltp/testcases/kernel/syscalls/dup/
Ddup06.c45 if (fcntl(maxfd, F_GETFD) == -1 && errno == EBADF) in cnt_free_fds()
/external/strace/tests-m32/
Dfcntl-common.c357 { 0, ARG_STR(F_GETFD), .print_flags = print_flags_getfd }, in test_fcntl_others()
358 { 1, ARG_STR(F_GETFD), .print_flags = print_flags_getfd }, in test_fcntl_others()
/external/strace/tests/
Dfcntl-common.c357 { 0, ARG_STR(F_GETFD), .print_flags = print_flags_getfd }, in test_fcntl_others()
358 { 1, ARG_STR(F_GETFD), .print_flags = print_flags_getfd }, in test_fcntl_others()
/external/strace/tests-mx32/
Dfcntl-common.c357 { 0, ARG_STR(F_GETFD), .print_flags = print_flags_getfd }, in test_fcntl_others()
358 { 1, ARG_STR(F_GETFD), .print_flags = print_flags_getfd }, in test_fcntl_others()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h101 #define F_GETFD 1 /* get close_on_exec */ macro

123456