Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 – 22 of 22) sorted by relevance

/linux/tools/testing/selftests/core/
A Dclose_range_test.c73 EXPECT_EQ(-1, fcntl(open_fds[i], F_GETFL)); in TEST()
76 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
100 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
139 if (fcntl(open_fds[i], F_GETFL) != -1) in TEST()
143 if (fcntl(open_fds[i], F_GETFL) == -1) in TEST()
160 if (fcntl(open_fds[i], F_GETFL) != -1) in TEST()
164 if (fcntl(open_fds[i], F_GETFL) == -1) in TEST()
174 if (fcntl(open_fds[i], F_GETFL) != -1) in TEST()
177 if (fcntl(open_fds[100], F_GETFL) == -1) in TEST()
185 if (fcntl(open_fds[100], F_GETFL) != -1) in TEST()
[all …]
/linux/tools/testing/selftests/filesystems/eventfd/
A Deventfd_test.c52 flags = fcntl(fd, F_GETFL); in TEST()
80 flags = fcntl(fd, F_GETFL); in TEST()
95 flags = fcntl(fd, F_GETFL); in TEST()
174 ret = fcntl(fd, F_GETFL); in TEST()
/linux/include/trace/misc/
A Dfs.h55 { F_GETFL, "GETFL" }, \
76 { F_GETFL, "GETFL" }, \
/linux/include/uapi/asm-generic/
A Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/linux/tools/testing/selftests/net/packetdrill/
A Dtcp_inq_client.pkt8 +0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
/linux/arch/um/os-Linux/
A Dfile.c419 flags = fcntl(fd, F_GETFL); in os_set_fd_async()
446 flags = fcntl(fd, F_GETFL); in os_clear_fd_async()
460 flags = fcntl(fd, F_GETFL); in os_set_fd_block()
A Dsigio.c433 flags = fcntl(master, F_GETFL); in async_pty()
/linux/tools/perf/trace/beauty/
A Dfcntl.c38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
/linux/samples/timers/
A Dhpet_example.c252 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync()
/linux/tools/testing/selftests/pidfd/
A Dpidfd_wait.c196 flags = fcntl(pidfd, F_GETFL, 0); in TEST()
/linux/tools/testing/selftests/net/tcp_ao/lib/
A Dsock.c27 flags = fcntl(sk, F_GETFL); in __test_listen_socket()
94 flags = fcntl(sk, F_GETFL); in __test_connect_socket()
A Drepair.c174 flags = fcntl(sk, F_GETFL); in __test_sock_restore()
/linux/tools/testing/selftests/openat2/
A Dopenat2_test.c281 fdflags = fcntl(fd, F_GETFL); in test_openat2_flags()
/linux/tools/power/acpi/tools/acpidbg/
A Dacpidbg.c101 ret = fcntl(fd, F_GETFL, 0); in acpi_aml_set_fl()
/linux/tools/perf/bench/
A Dinject-buildid.c255 flag = fcntl(data->output_pipe[0], F_GETFL); in data_reader()
/linux/fs/
A Dfcntl.c469 case F_GETFL: in do_fcntl()
565 case F_GETFL: in check_fcntl_cmd()
/linux/tools/testing/selftests/tpm2/
A Dtpm2.py369 flags = fcntl.fcntl(self.tpm, fcntl.F_GETFL)
/linux/tools/testing/selftests/net/
A Dnettest.c1530 flags = fcntl(sd, F_GETFL); in lsock_init()
1714 flags = fcntl(sd, F_GETFL); in connectsock()
A Dtls.c1290 flags = fcntl(self->fd, F_GETFL, 0); in TEST_F()
/linux/tools/testing/selftests/net/mptcp/
A Dmptcp_connect.c593 int flags = fcntl(fd, F_GETFL); in set_nonblock()
/linux/tools/perf/
A Dbuiltin-kvm.c1436 arg = fcntl(fd, F_GETFL); in fd_set_nonblock()
/linux/security/selinux/
A Dhooks.c3909 case F_GETFL: in selinux_file_fcntl()

Completed in 68 milliseconds