Home
last modified time | relevance | path

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

123456

/external/ltp/testcases/kernel/syscalls/epoll_create1/
Depoll_create1_01.c30 coe = SAFE_FCNTL(fd, F_GETFD); in verify_epoll_create1()
40 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.c31 {SOCK_STREAM, 0, F_GETFD, "no close-on-exec"},
32 {SOCK_STREAM | SOCK_CLOEXEC, FD_CLOEXEC, F_GETFD, "close-on-exec"},
/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/timerfd/
Dtimerfd02.c147 coe = fcntl(fd, F_GETFD); in main()
165 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.c34 {SOCK_STREAM, 0, F_GETFD, "no close-on-exec"},
35 {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/crosvm/sys_util/src/linux/
Dsyslog.rs16 closelog, fcntl, localtime_r, openlog, time, time_t, tm, F_GETFD, LOG_NDELAY, LOG_PERROR,
138 if fcntl(fd, F_GETFD) >= 0 { in openlog_and_get_socket()
/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.c24 TEST(fcntl(fd, F_GETFD, 0)); in verify_fcntl()
Dfcntl29.c64 TEST(fcntl(dup_fd, F_GETFD)); in main()
/external/libcups/scheduler/
Dutil.c256 if (fcntl(fds[0], F_SETFD, fcntl(fds[0], F_GETFD) | FD_CLOEXEC)) in cupsdPipeCommand()
266 if (fcntl(fds[1], F_SETFD, fcntl(fds[1], F_GETFD) | FD_CLOEXEC)) in cupsdPipeCommand()
Dfile.c261 if (fcntl(fds[0], F_SETFD, fcntl(fds[0], F_GETFD) | FD_CLOEXEC)) in cupsdOpenPipe()
272 if (fcntl(fds[1], F_SETFD, fcntl(fds[1], F_GETFD) | FD_CLOEXEC)) in cupsdOpenPipe()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D11-1.c34 flags = fcntl(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/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsocket_utils_posix.cc46 flags = fcntl(fd, F_GETFD, 0); in grpc_accept4()
/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_utils_posix.cc46 flags = fcntl(fd, F_GETFD, 0); in grpc_accept4()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify08.c35 ret = SAFE_FCNTL(fd_notify, F_GETFD); in test_init_bit()
/external/libusb/libusb/os/
Devents_posix.c70 ret = fcntl(event->pipefd[0], F_GETFD); in usbi_create_event()
81 ret = fcntl(event->pipefd[1], F_GETFD); in usbi_create_event()
/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/ltp/testcases/kernel/syscalls/dup/
Ddup06.c45 if (fcntl(maxfd, F_GETFD) == -1 && errno == EBADF) in cnt_free_fds()
/external/wayland/cursor/
Dos-compatibility.c52 flags = fcntl(fd, F_GETFD); in set_cloexec_or_close()

123456