| /OK3568_Linux_fs/kernel/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) != -1) in TEST() [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/ |
| H A D | oepydevshell-internal.py | 10 import fcntl 16 fcntl.fcntl(fd, fcntl.F_SETFL, fcntl.fcntl(fd, fcntl.F_GETFL) | os.O_NONBLOCK)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/make/make/ |
| H A D | 0002-modules-fcntl-allow-being-detected-by-importing-proj.patch | 4 Subject: [PATCH 2/2] modules: fcntl: allow being detected by importing 8 functions - including an `fcntl`, which fails on mingw. 29 AC_LIBOBJ([fcntl]) 30 + AC_DEFINE(HAVE_GNULIB_FCNTL, 1, [Define to 1 if you have the `fcntl' function via gnulib.]) 32 gl_FCNTL_MODULE_INDICATOR([fcntl])
|
| H A D | 0003-posixfcn-fcntl-gnulib-make-emulated.patch | 4 Subject: [PATCH 3/3] posixfcn: fcntl: gnulib > make-emulated 6 Rate the fcntl emulation from gnulib higher than the own one. 52 int fcntl (intptr_t fd, int cmd, ...); 66 /* Emulation of fcntl that supports only F_GETFD and F_SETLKW. */ 68 fcntl (intptr_t fd, int cmd, ...) 69 @@ -142,6 +143,7 @@ fcntl (intptr_t fd, int cmd, ...)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | distro_check.py | 195 import fcntl 201 fcntl.lockf(f, fcntl.LOCK_EX) 213 fcntl.lockf(f, fcntl.LOCK_UN) 307 import fcntl 308 fcntl.lockf(f, fcntl.LOCK_EX) 311 fcntl.lockf(f, fcntl.LOCK_UN)
|
| /OK3568_Linux_fs/kernel/arch/um/os-Linux/ |
| H A D | file.c | 206 if (flags.cl && fcntl(fd, F_SETFD, 1)) { in os_open_file() 368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close() 408 flags = fcntl(fd, F_GETFL); in os_set_fd_async() 413 if (fcntl(fd, F_SETFL, flags) < 0) { in os_set_fd_async() 420 if ((fcntl(fd, F_SETSIG, SIGIO) < 0) || in os_set_fd_async() 421 (fcntl(fd, F_SETOWN, os_getpid()) < 0)) { in os_set_fd_async() 435 flags = fcntl(fd, F_GETFL); in os_clear_fd_async() 440 if (fcntl(fd, F_SETFL, flags) < 0) in os_clear_fd_async() 449 flags = fcntl(fd, F_GETFL); in os_set_fd_block() 458 if (fcntl(fd, F_SETFL, flags) < 0) in os_set_fd_block() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/ |
| H A D | sigio.c | 197 if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_ASYNC) == -1) { in xf86InstallSIGIOHandler() 202 if (fcntl(fd, F_SETOWN, getpid()) == -1) { in xf86InstallSIGIOHandler() 281 fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_ASYNC); in xf86RemoveSIGIOHandler()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/libuio/libuio/ |
| H A D | 0001-include-fcntl.h-for-O_RDWR-define.patch | 4 Subject: [PATCH] include fcntl.h for O_RDWR define 20 +#include <fcntl.h> 32 +#include <fcntl.h>
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | inputthread.c | 426 fcntl(inputThreadInfo->readPipe, F_SETFL, O_NONBLOCK); in InputThreadPreInit() 427 flags = fcntl(inputThreadInfo->readPipe, F_GETFD); in InputThreadPreInit() 430 (void)fcntl(inputThreadInfo->readPipe, F_SETFD, &flags); in InputThreadPreInit() 437 fcntl(hotplugPipeRead, F_SETFL, O_NONBLOCK); in InputThreadPreInit() 438 flags = fcntl(hotplugPipeRead, F_GETFD); in InputThreadPreInit() 441 (void)fcntl(hotplugPipeRead, F_SETFD, &flags); in InputThreadPreInit()
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | locks.rst | 34 installations use fcntl() instead of flock(). This is true of Slackware 3.0 37 file with fcntl() at the same time as the GDBM routines tried to lock this 46 is to make flock() and fcntl() locks oblivious to each other. Both can 53 cooperative flock()/fcntl() are those that emulate flock() using 54 fcntl(), with all the problems that implies.
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/files/waf-cross-answers/ |
| H A D | cross-answers-arm.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-aarch64.txt | 31 Checking whether fcntl locking is available: OK 39 Checking whether fcntl lock supports open file description locks: OK 44 Checking whether fcntl supports flags to send direct I/O availability signals: NO 45 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-riscv64.txt | 31 Checking whether fcntl locking is available: OK 39 Checking whether fcntl lock supports open file description locks: OK 44 Checking whether fcntl supports flags to send direct I/O availability signals: NO 45 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-mipsel.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-mips.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-mips64.txt | 31 Checking whether fcntl locking is available: OK 39 Checking whether fcntl lock supports open file description locks: OK 44 Checking whether fcntl supports flags to send direct I/O availability signals: NO 45 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-i586.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-i686.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-armeb.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-powerpc64.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-aarch64_be.txt | 31 Checking whether fcntl locking is available: OK 39 Checking whether fcntl lock supports open file description locks: OK 44 Checking whether fcntl supports flags to send direct I/O availability signals: NO 45 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-powerpc64le.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-x86_64.txt | 31 Checking whether fcntl locking is available: OK 39 Checking whether fcntl lock supports open file description locks: OK 44 Checking whether fcntl supports flags to send direct I/O availability signals: NO 45 Checking whether fcntl supports setting/geting hints: NO
|
| H A D | cross-answers-powerpc.txt | 32 Checking whether fcntl locking is available: OK 40 Checking whether fcntl lock supports open file description locks: OK 45 Checking whether fcntl supports flags to send direct I/O availability signals: NO 46 Checking whether fcntl supports setting/geting hints: NO
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/memfd/ |
| H A D | fuse_test.c | 67 r = fcntl(fd, F_GET_SEALS); in mfd_assert_get_seals() 94 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_assert_add_seals() 107 r = fcntl(fd, F_GET_SEALS); in mfd_busy_add_seals() 113 r = fcntl(fd, F_ADD_SEALS, seals); in mfd_busy_add_seals()
|