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

1 2 3 4 5

  /external/ltp/testcases/kernel/fs/doio/include/
file_lock.h 44 #define LOCK_SH 0x0008
  /external/strace/xlat/
flockcmds.h 2 #if !(defined(LOCK_SH) || (defined(HAVE_DECL_LOCK_SH) && HAVE_DECL_LOCK_SH))
3 # define LOCK_SH 1
35 XLAT(LOCK_SH),
  /external/strace/tests/
flock.c 15 long rc = syscall(__NR_flock, fd, LOCK_SH);
16 printf("flock(%d, LOCK_SH) = %ld %s (%m)\n",
  /external/strace/tests-m32/
flock.c 15 long rc = syscall(__NR_flock, fd, LOCK_SH);
16 printf("flock(%d, LOCK_SH) = %ld %s (%m)\n",
  /external/strace/tests-mx32/
flock.c 15 long rc = syscall(__NR_flock, fd, LOCK_SH);
16 printf("flock(%d, LOCK_SH) = %ld %s (%m)\n",
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/
file.h 41 #define LOCK_SH 1 /* Shared lock. */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/
file.h 41 #define LOCK_SH 1 /* Shared lock. */
  /external/chromium-trace/catapult/common/py_utils/py_utils/
lock.py 9 LOCK_SH = None # Shared lock
22 LOCK_SH = 0 # the default
28 LOCK_SH = fcntl.LOCK_SH
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)
lock_unittest.py 29 lock.AcquireFileLock(f, lock.LOCK_SH)
84 lock.AcquireFileLock(f, lock.LOCK_SH)
127 lock.AcquireFileLock(f, lock.LOCK_SH)
  /external/toybox/toys/other/
flock.c 31 else op = (toys.optflags & FLAG_s) ? LOCK_SH : LOCK_EX;
  /external/ltp/testcases/kernel/syscalls/flock/
flock02.c 38 * if the argument operation does not include LOCK_SH,LOCK_EX,LOCK_UN.$
40 * if an invalid combination of locking modes is used i.e LOCK_SH with LOCK_EX
103 TEST(flock(-1, LOCK_SH));
123 TEST(flock(fd, LOCK_SH | LOCK_EX));
flock04.c 35 * with LOCK_SH.
102 TEST(flock(fd, LOCK_SH));
111 retval = flock(fd1, LOCK_SH | LOCK_NB);
flock01.c 88 { LOCK_SH, "Shared Lock" },
flock05.c 112 retval = flock(fd1, LOCK_SH | LOCK_NB);
  /external/compiler-rt/lib/profile/
WindowsMMap.h 43 #define LOCK_SH 1 /* shared lock */
  /external/python/cpython3/Lib/test/
test_fcntl.py 131 fcntl.flock(fileno, fcntl.LOCK_SH)
133 fcntl.flock(self.f, fcntl.LOCK_SH | fcntl.LOCK_NB)
138 self.assertRaises(ValueError, fcntl.flock, -1, fcntl.LOCK_SH)
139 self.assertRaises(TypeError, fcntl.flock, 'spam', fcntl.LOCK_SH)
145 fcntl.LOCK_SH)
  /external/ltp/testcases/kernel/fs/doio/
file_lock.c 81 else if (flags & LOCK_SH)
153 else if (flags & LOCK_SH)
  /frameworks/compile/libbcc/lib/
FileBase.cpp 32 #define LOCK_SH 0
150 lock_operation = LOCK_SH;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/
fcntl.h 149 #define LOCK_SH 1 /* shared lock */
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
fcntlmodule.c 265 #ifndef LOCK_SH
266 #define LOCK_SH 1 /* shared lock */
275 else if (code & LOCK_SH)
323 #ifndef LOCK_SH
324 #define LOCK_SH 1 /* shared lock */
328 #endif /* LOCK_SH */
333 else if (code & LOCK_SH)
387 LOCK_SH - acquire a shared lock\n\
390 When operation is LOCK_SH or LOCK_EX, it can also be bitwise ORed with\n\
439 if (ins(d, "LOCK_SH", (long)LOCK_SH)) return -1;
    [all...]
  /external/python/cpython2/Modules/
fcntlmodule.c 267 #ifndef LOCK_SH
268 #define LOCK_SH 1 /* shared lock */
277 else if (code & LOCK_SH)
325 #ifndef LOCK_SH
326 #define LOCK_SH 1 /* shared lock */
330 #endif /* LOCK_SH */
335 else if (code & LOCK_SH)
389 LOCK_SH - acquire a shared lock\n\
392 When operation is LOCK_SH or LOCK_EX, it can also be bitwise ORed with\n\
441 if (ins(d, "LOCK_SH", (long)LOCK_SH)) return -1
    [all...]
  /external/python/cpython3/Modules/
fcntlmodule.c 293 #ifndef LOCK_SH
294 #define LOCK_SH 1 /* shared lock */
303 else if (code & LOCK_SH)
342 LOCK_SH - acquire a shared lock
345 When operation is LOCK_SH or LOCK_EX, it can also be bitwise ORed with
367 #ifndef LOCK_SH
368 #define LOCK_SH 1 /* shared lock */
372 #endif /* LOCK_SH */
377 else if (code & LOCK_SH)
444 if (PyModule_AddIntMacro(m, LOCK_SH)) return -1
    [all...]
  /bionic/libc/kernel/uapi/asm-generic/
fcntl.h 135 #define LOCK_SH 1
  /external/kernel-headers/original/uapi/asm-generic/
fcntl.h 178 #define LOCK_SH 1 /* shared lock */
  /external/autotest/client/cros/power/
sys_power.py 155 fcntl.flock(pause_ethernet_fd, fcntl.LOCK_SH)

Completed in 1241 milliseconds

1 2 3 4 5