HomeSort by relevance Sort by last modified time
    Searched refs:LOCK_NB (Results 1 - 25 of 145) sorted by null

1 2 3 4 5 6

  /external/ltp/testcases/kernel/fs/doio/include/
file_lock.h 41 #define LOCK_NB 0x0001
  /external/toybox/toys/other/
flock.c 33 if (toys.optflags & FLAG_n) op |= LOCK_NB;
36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1;
  /external/strace/xlat/
flockcmds.h 8 #if !(defined(LOCK_NB) || (defined(HAVE_DECL_LOCK_NB) && HAVE_DECL_LOCK_NB))
9 # define LOCK_NB 4
37 XLAT(LOCK_NB),
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
file.h 46 #define LOCK_NB 4 /* Don't block when locking. */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
file.h 46 #define LOCK_NB 4 /* Don't block when locking. */
  /external/chromium-trace/catapult/common/py_utils/py_utils/
lock.py 10 LOCK_NB = None # Non-blocking (LockException is raised if resource is locked)
23 LOCK_NB = win32con.LOCKFILE_FAIL_IMMEDIATELY
29 LOCK_NB = fcntl.LOCK_NB
51 flags: can be any of the type LOCK_EX, LOCK_SH, LOCK_NB, or a bitwise
55 LOCK_EX, LOCK_SH, LOCK_NB, LOCK_EX | LOCK_NB, LOCK_SH | LOCK_NB)
cloud_storage.py 289 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB):
295 lock.AcquireFileLock(pseudo_lock_fd, lock.LOCK_EX | lock.LOCK_NB)
317 with lock.FileLock(global_file, lock.LOCK_EX | lock.LOCK_NB):
  /external/ltp/testcases/kernel/syscalls/flock/
flock06.c 100 TEST(flock(fd1, LOCK_EX | LOCK_NB));
112 TEST(flock(fd2, LOCK_EX | LOCK_NB));
124 TEST(flock(fd2, LOCK_EX | LOCK_NB));
flock05.c 112 retval = flock(fd1, LOCK_SH | LOCK_NB);
133 retval = flock(fd1, LOCK_EX | LOCK_NB);
flock03.c 97 TEST(flock(fd, LOCK_EX | LOCK_NB));
139 if (flock(fd2, LOCK_EX | LOCK_NB) != -1) {
156 TEST(flock(fd2, LOCK_EX | LOCK_NB));
flock04.c 111 retval = flock(fd1, LOCK_SH | LOCK_NB);
132 retval = flock(fd1, LOCK_EX | LOCK_NB);
flock02.c 113 TEST(flock(fd, LOCK_NB));
  /external/compiler-rt/lib/profile/
WindowsMMap.h 45 #define LOCK_NB 4 /* don't block when locking */
  /external/ltp/testcases/kernel/fs/doio/
file_lock.c 59 * It will loop if the LOCK_NB flags is NOT set.
68 if (flags & LOCK_NB)
131 * It will loop if the LOCK_NB flags is NOT set.
140 if (flags & LOCK_NB)
  /frameworks/compile/libbcc/lib/
FileBase.cpp 34 #define LOCK_NB 0
159 lock_operation |= LOCK_NB;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/
fcntl.h 151 #define LOCK_NB 4 /* or'd with one of the above to prevent
  /external/autotest/venv/lucifer/
leasing.py 44 fcntl.lockf(f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB)
162 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
  /bionic/libc/kernel/uapi/asm-generic/
fcntl.h 137 #define LOCK_NB 4
  /external/kernel-headers/original/uapi/asm-generic/
fcntl.h 180 #define LOCK_NB 4 /* or'd with one of the above to prevent
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
fcntlmodule.c 268 #define LOCK_NB 4 /* don't block when locking */
286 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);
326 #define LOCK_NB 4 /* don't block when locking */
367 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);
391 LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the\n\
441 if (ins(d, "LOCK_NB", (long)LOCK_NB)) return -1;
  /external/python/cpython2/Modules/
fcntlmodule.c 270 #define LOCK_NB 4 /* don't block when locking */
288 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);
328 #define LOCK_NB 4 /* don't block when locking */
369 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);
393 LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the\n\
443 if (ins(d, "LOCK_NB", (long)LOCK_NB)) return -1;
  /external/python/cpython3/Modules/
fcntlmodule.c 296 #define LOCK_NB 4 /* don't block when locking */
314 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);
346 LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the
370 #define LOCK_NB 4 /* don't block when locking */
411 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);
446 if (PyModule_AddIntMacro(m, LOCK_NB)) return -1;
  /art/libartbase/base/
scoped_flock.cc 49 int operation = block ? LOCK_EX : (LOCK_EX | LOCK_NB);
  /external/selinux/restorecond/
user.c 215 if (flock(local_lock_fd, LOCK_EX | LOCK_NB) < 0) {
  /external/tensorflow/tensorflow/tools/test/
upload_test_benchmarks.py 134 fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)

Completed in 950 milliseconds

1 2 3 4 5 6