Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/core/
H 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-6.15/tools/testing/selftests/filesystems/eventfd/
H 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-6.15/include/trace/misc/
H A Dfs.h55 { F_GETFL, "GETFL" }, \
76 { F_GETFL, "GETFL" }, \
/linux-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_tcp_info_tcp-info-last_data_recv.pkt7 +0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
H A Dtcp_tcp_info_tcp-info-sndbuf-limited.pkt7 +0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
H A Dtcp_inq_client.pkt8 +0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
H A Dtcp_tcp_info_tcp-info-rwnd-limited.pkt8 +0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
H A Dtcp_timestamping_client-only-last-byte.pkt9 +0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
H A Dtcp_timestamping_partial.pkt8 +0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
/linux-6.15/include/uapi/asm-generic/
H A Dfcntl.h101 #define F_GETFL 3 /* get file->f_flags */ macro
/linux-6.15/arch/um/os-Linux/
H A Dfile.c413 flags = fcntl(fd, F_GETFL); in os_set_fd_async()
440 flags = fcntl(fd, F_GETFL); in os_clear_fd_async()
454 flags = fcntl(fd, F_GETFL); in os_set_fd_block()
H A Dsigio.c186 flags = fcntl(master, F_GETFL); in async_pty()
/linux-6.15/tools/perf/trace/beauty/
H A Dfcntl.c38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
/linux-6.15/samples/timers/
H A Dhpet_example.c252 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync()
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c185 flags = fcntl(pidfd, F_GETFL, 0); in TEST()
/linux-6.15/tools/testing/selftests/net/
H A Dbusy_poller.c195 flags = fcntl(sockfd, F_GETFL, 0); in setnonblock()
H A Dnettest.c1530 flags = fcntl(sd, F_GETFL); in lsock_init()
1714 flags = fcntl(sd, F_GETFL); in connectsock()
/linux-6.15/tools/testing/selftests/net/tcp_ao/lib/
H A Drepair.c174 flags = fcntl(sk, F_GETFL); in __test_sock_restore()
H A Dsock.c27 flags = fcntl(sk, F_GETFL); in __test_listen_socket()
126 flags = fcntl(sk, F_GETFL); in __test_connect_socket()
/linux-6.15/tools/testing/selftests/openat2/
H A Dopenat2_test.c281 fdflags = fcntl(fd, F_GETFL); in test_openat2_flags()
/linux-6.15/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c101 ret = fcntl(fd, F_GETFL, 0); in acpi_aml_set_fl()
/linux-6.15/tools/perf/bench/
H A Dinject-buildid.c255 flag = fcntl(data->output_pipe[0], F_GETFL); in data_reader()
/linux-6.15/fs/
H A Dfcntl.c474 case F_GETFL: in do_fcntl()
570 case F_GETFL: in check_fcntl_cmd()
/linux-6.15/tools/testing/selftests/tpm2/
H A Dtpm2.py369 flags = fcntl.fcntl(self.tpm, fcntl.F_GETFL)
/linux-6.15/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c595 int flags = fcntl(fd, F_GETFL); in set_nonblock()

12