Home
last modified time | relevance | path

Searched refs:fcntl (Results 1 – 25 of 487) sorted by relevance

12345678910>>...20

/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/yocto/poky/scripts/
H A Doepydevshell-internal.py10 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 D0002-modules-fcntl-allow-being-detected-by-importing-proj.patch4 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 D0003-posixfcn-fcntl-gnulib-make-emulated.patch4 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 Ddistro_check.py195 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 Dfile.c206 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 Dsigio.c197 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 D0001-include-fcntl.h-for-O_RDWR-define.patch4 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 Dinputthread.c426 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 Dlocks.rst34 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 Dcross-answers-arm.txt32 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 Dcross-answers-aarch64.txt31 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 Dcross-answers-riscv64.txt31 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 Dcross-answers-mipsel.txt32 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 Dcross-answers-mips.txt32 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 Dcross-answers-mips64.txt31 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 Dcross-answers-i586.txt32 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 Dcross-answers-i686.txt32 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 Dcross-answers-armeb.txt32 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 Dcross-answers-powerpc64.txt32 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 Dcross-answers-aarch64_be.txt31 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 Dcross-answers-powerpc64le.txt32 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 Dcross-answers-x86_64.txt31 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 Dcross-answers-powerpc.txt32 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 Dfuse_test.c67 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()

12345678910>>...20