/kernel/linux/linux-5.10/tools/testing/selftests/core/ |
H A D | close_range_test.c | 61 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 D | close_range_test.c | 78 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 D | fs.h | 55 { F_GETFL, "GETFL" }, \ 76 { F_GETFL, "GETFL" }, \
|
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
H A D | pipe_test_003.cpp | 49 int flag = fcntl(*readFd, F_GETFL); in TestPipeSingleProcessFcntl() 83 ret = fcntl(*readFd, F_GETFL, O_NONBLOCK); in TestPipeSingleProcessFcntl()
|
H A D | pipe_test_001.cpp | 49 int flag = fcntl(*readFd, F_GETFL); in TestPipeSingleProcess()
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 102 #define F_GETFL 3 /* get file->f_flags */ macro
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
H A D | fcntl.h | 103 #define F_GETFL 3 /* get file->f_flags */ macro
|
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | fcntl.h | 102 #define F_GETFL 3 /* get file->f_flags */ macro
|
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/ |
H A D | fcntl.h | 102 #define F_GETFL 3 /* get file->f_flags */ macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 73 #define F_GETFL 3 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 87 #define F_GETFL 3 macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
H A D | fcntl.h | 87 #define F_GETFL 3 macro
|
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
H A D | pipe_test_002.cpp | 52 int flag = fcntl(*readFd, F_GETFL); in TestPipeMultiProcess()
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
H A D | file.c | 408 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 D | file.c | 408 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 D | fcntl.c | 38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
|
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | fcntl.c | 38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 187 flags = fcntl(pidfd, F_GETFL, 0); in TEST()
|
/kernel/linux/linux-5.10/samples/timers/ |
H A D | hpet_example.c | 252 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync()
|
/kernel/linux/linux-6.6/samples/timers/ |
H A D | hpet_example.c | 252 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
H A D | net_socket_test_010.cpp | 166 ret = fcntl(sfd, F_GETFL, 0); in IoctlTestInternal()
|
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 265 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 D | test_unix_oob.c | 39 int flags = fcntl(fd, F_GETFL, 0); in set_filemode()
|
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 280 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 D | pidfd_wait.c | 196 flags = fcntl(pidfd, F_GETFL, 0); in TEST()
|