Home
last modified time | relevance | path

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

/tools/testing/selftests/core/
Dclose_range_test.c61 EXPECT_EQ(-1, fcntl(open_fds[i], F_GETFL)); in TEST()
64 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
77 EXPECT_EQ(-1, fcntl(open_fds[i], F_GETFL)); in TEST()
80 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
86 EXPECT_EQ(-1, fcntl(open_fds[i], F_GETFL)); in TEST()
88 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
92 EXPECT_EQ(-1, fcntl(open_fds[100], F_GETFL)); in TEST()
127 if (fcntl(open_fds[i], F_GETFL) != -1) in TEST()
131 if (fcntl(open_fds[i], F_GETFL) == -1) in TEST()
148 if (fcntl(open_fds[i], F_GETFL) != -1) in TEST()
[all …]
/tools/include/uapi/asm-generic/
Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/tools/perf/trace/beauty/
Dfcntl.c38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
/tools/testing/selftests/pidfd/
Dpidfd_wait.c187 flags = fcntl(pidfd, F_GETFL, 0); in TEST()
/tools/testing/selftests/openat2/
Dopenat2_test.c265 fdflags = fcntl(fd, F_GETFL); in test_openat2_flags()
/tools/power/acpi/tools/acpidbg/
Dacpidbg.c101 ret = fcntl(fd, F_GETFL, 0); in acpi_aml_set_fl()
/tools/perf/bench/
Dinject-buildid.c254 flag = fcntl(data->output_pipe[0], F_GETFL); in data_reader()
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c332 int flags = fcntl(fd, F_GETFL); in set_nonblock()
/tools/testing/selftests/tpm2/
Dtpm2.py368 flags = fcntl.fcntl(self.tpm, fcntl.F_GETFL)
/tools/testing/selftests/net/
Dnettest.c1166 flags = fcntl(sd, F_GETFL); in lsock_init()
1315 flags = fcntl(sd, F_GETFL); in connectsock()
Dtls.c942 flags = fcntl(self->fd, F_GETFL, 0); in TEST_F()
/tools/perf/
Dbuiltin-kvm.c916 arg = fcntl(fd, F_GETFL); in fd_set_nonblock()