Home
last modified time | relevance | path

Searched refs:F_GETFL (Results 1 - 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/tools/testing/selftests/core/
H A 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) ! in TEST()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/core/
H A Dclose_range_test.c78 EXPECT_EQ(-1, fcntl(open_fds[i], F_GETFL)); in TEST()
81 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
94 EXPECT_EQ(-1, fcntl(open_fds[i], F_GETFL)); in TEST()
97 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
103 EXPECT_EQ(-1, fcntl(open_fds[i], F_GETFL)); in TEST()
105 EXPECT_GT(fcntl(open_fds[i], F_GETFL), -1); in TEST()
109 EXPECT_EQ(-1, fcntl(open_fds[100], F_GETFL)); in TEST()
144 if (fcntl(open_fds[i], F_GETFL) != -1) in TEST()
148 if (fcntl(open_fds[i], F_GETFL) == -1) in TEST()
165 if (fcntl(open_fds[i], F_GETFL) ! in TEST()
[all...]
/kernel/linux/linux-6.6/include/trace/misc/
H A Dfs.h55 { F_GETFL, "GETFL" }, \
76 { F_GETFL, "GETFL" }, \
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
H A Dpipe_test_003.cpp49 int flag = fcntl(*readFd, F_GETFL); in TestPipeSingleProcessFcntl()
83 ret = fcntl(*readFd, F_GETFL, O_NONBLOCK); in TestPipeSingleProcessFcntl()
H A Dpipe_test_001.cpp49 int flag = fcntl(*readFd, F_GETFL); in TestPipeSingleProcess()
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/
H A Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/kernel/linux/linux-5.10/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_GETFL 3 /* get file->f_flags */ macro
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
H A Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dfcntl.h73 #define F_GETFL 3 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dfcntl.h87 #define F_GETFL 3 macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dfcntl.h87 #define F_GETFL 3 macro
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
H A Dpipe_test_002.cpp52 int flag = fcntl(*readFd, F_GETFL); in TestPipeMultiProcess()
/kernel/linux/linux-5.10/arch/um/os-Linux/
H A Dfile.c408 flags = fcntl(fd, F_GETFL); in os_set_fd_async()
435 flags = fcntl(fd, F_GETFL); in os_clear_fd_async()
449 flags = fcntl(fd, F_GETFL); in os_set_fd_block()
/kernel/linux/linux-6.6/arch/um/os-Linux/
H A Dfile.c408 flags = fcntl(fd, F_GETFL); in os_set_fd_async()
435 flags = fcntl(fd, F_GETFL); in os_clear_fd_async()
449 flags = fcntl(fd, F_GETFL); in os_set_fd_block()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dfcntl.c38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dfcntl.c38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c187 flags = fcntl(pidfd, F_GETFL, 0); in TEST()
/kernel/linux/linux-5.10/samples/timers/
H A Dhpet_example.c252 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync()
/kernel/linux/linux-6.6/samples/timers/
H A Dhpet_example.c252 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync()
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
H A Dnet_socket_test_010.cpp166 ret = fcntl(sfd, F_GETFL, 0); in IoctlTestInternal()
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dopenat2_test.c265 fdflags = fcntl(fd, F_GETFL); in test_openat2_flags()
269 E_assert(fdflags >= 0, "fcntl F_GETFL of new fd"); in test_openat2_flags()
272 /* O_CLOEXEC isn't shown in F_GETFL. */ in test_openat2_flags()
275 /* O_CREAT is hidden from F_GETFL. */ in test_openat2_flags()
/kernel/linux/linux-6.6/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c39 int flags = fcntl(fd, F_GETFL, 0); in set_filemode()
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/
H A Dopenat2_test.c280 fdflags = fcntl(fd, F_GETFL); in test_openat2_flags()
284 E_assert(fdflags >= 0, "fcntl F_GETFL of new fd"); in test_openat2_flags()
287 /* O_CLOEXEC isn't shown in F_GETFL. */ in test_openat2_flags()
290 /* O_CREAT is hidden from F_GETFL. */ in test_openat2_flags()
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c196 flags = fcntl(pidfd, F_GETFL, 0); in TEST()

Completed in 11 milliseconds

123