Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/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) != -1) in TEST()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/
H A Dsigio.c197 if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_ASYNC) == -1) { in xf86InstallSIGIOHandler()
281 fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_ASYNC); in xf86RemoveSIGIOHandler()
/OK3568_Linux_fs/u-boot/arch/sandbox/cpu/
H A Deth-raw-os.c65 flags = fcntl(priv->sd, F_GETFL, 0); in _raw_packet_start()
129 flags = fcntl(priv->sd, F_GETFL, 0); in _local_inet_start()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_GETFL 3 /* get file->f_flags */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm-generic/
H A Dfcntl.h103 #define F_GETFL 3 /* get file->f_flags */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/asm-generic/
H A Dfcntl.h103 #define F_GETFL 3 /* get file->f_flags */ macro
/OK3568_Linux_fs/kernel/tools/include/uapi/asm-generic/
H A Dfcntl.h102 #define F_GETFL 3 /* get file->f_flags */ macro
/OK3568_Linux_fs/external/linux-rga/samples/utils/allocator/
H A Ddma_alloc.cpp121 if (fcntl(buf_data.fd, F_GETFL) & O_RDWR) in dma_buf_alloc()
/OK3568_Linux_fs/external/linux-rga/samples/im2d_slt/sources/
H A Ddma_alloc.cpp126 if (fcntl(buf_data.fd, F_GETFL) & O_RDWR) in dma_buf_alloc()
/OK3568_Linux_fs/app/forlinx/quectelCM/
H A Dquectel-mbim-proxy.c131 if (fcntl(mbim_server_fd, F_SETFL, fcntl(mbim_server_fd, F_GETFL) | O_NONBLOCK) < 0) in proxy_make_server()
168 if (fcntl(client_fd, F_SETFL, fcntl(client_fd, F_GETFL) | O_NONBLOCK) < 0) in handle_client_connect()
H A Dutil.c45 fcntl(fd, F_SETFL, fcntl(fd,F_GETFL) | O_NONBLOCK); in cm_open_dev()
91 fcntl(sockfd, F_SETFL, fcntl(sockfd,F_GETFL) | O_NONBLOCK); in cm_open_proxy()
/OK3568_Linux_fs/kernel/tools/perf/trace/beauty/
H A Dfcntl.c38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
/OK3568_Linux_fs/yocto/poky/scripts/
H A Doepydevshell-internal.py16 fcntl.fcntl(fd, fcntl.F_SETFL, fcntl.fcntl(fd, fcntl.F_GETFL) | os.O_NONBLOCK)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dfcntl-linux.h170 #define F_GETFL 3 /* Get file status flags. */ macro
/OK3568_Linux_fs/kernel/samples/timers/
H A Dhpet_example.c252 ((value = fcntl(fd, F_GETFL)) == 1) || in hpet_fasync()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dfcntl-linux.h170 #define F_GETFL 3 /* Get file status flags. */ macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c187 flags = fcntl(pidfd, F_GETFL, 0); in TEST()
/OK3568_Linux_fs/u-boot/common/
H A Dzglobal.h125 # ifdef F_GETFL
H A Drbsb.c199 savestat = fcntl(fd, F_GETFL) ; in rdchk()
/OK3568_Linux_fs/external/mpp/osal/allocator/
H A Dallocator_dma_heap.c308 if (fcntl(data->fd, F_GETFL) & O_RDWR) in os_allocator_dma_heap_mmap()
H A Dallocator_drm.c306 if (fcntl(data->fd, F_GETFL) & O_RDWR) in os_allocator_drm_mmap()
/OK3568_Linux_fs/external/drm-cursor/
H A Ddrm_cursor.c483 int flags = fcntl(ctx->fd, F_GETFL, 0); in drm_get_ctx()
484 if (fcntl(fd, F_GETFL, 0) == flags) { in drm_get_ctx()
486 if (fcntl(fd, F_GETFL, 0) != flags) { in drm_get_ctx()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dbt_test.c727 int flags = fcntl(fd, F_GETFL, 0);
777 int flags = fcntl(fd, F_GETFL, 0); in check_Sofia3gr_bluedroid_test()
/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dopenat2_test.c265 fdflags = fcntl(fd, F_GETFL); in test_openat2_flags()

1234