Home
last modified time | relevance | path

Searched refs:LOCK_SH (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock.py9 LOCK_SH = None # Shared lock variable
22 LOCK_SH = 0 # the default variable
28 LOCK_SH = fcntl.LOCK_SH variable
55 LOCK_EX, LOCK_SH, LOCK_NB, LOCK_EX | LOCK_NB, LOCK_SH | LOCK_NB)
Dlock_unittest.py29 lock.AcquireFileLock(f, lock.LOCK_SH)
84 lock.AcquireFileLock(f, lock.LOCK_SH)
127 lock.AcquireFileLock(f, lock.LOCK_SH)
/external/strace/xlat/
Dflockcmds.h2 #if !(defined(LOCK_SH) || (defined(HAVE_DECL_LOCK_SH) && HAVE_DECL_LOCK_SH))
3 # define LOCK_SH 1 macro
35 XLAT(LOCK_SH),
Dflockcmds.in1 LOCK_SH 1
/external/python/cpython2/Modules/
Dfcntlmodule.c267 #ifndef LOCK_SH in fcntl_flock()
268 #define LOCK_SH 1 /* shared lock */ in fcntl_flock()
277 else if (code & LOCK_SH) in fcntl_flock()
325 #ifndef LOCK_SH in fcntl_lockf()
326 #define LOCK_SH 1 /* shared lock */ in fcntl_lockf() macro
335 else if (code & LOCK_SH) in fcntl_lockf()
441 if (ins(d, "LOCK_SH", (long)LOCK_SH)) return -1; in all_ins()
/external/ltp/testcases/kernel/syscalls/flock/
Dflock02.c102 TEST(flock(-1, LOCK_SH)); in main()
122 TEST(flock(fd, LOCK_SH | LOCK_EX)); in main()
Dflock04.c101 TEST(flock(fd, LOCK_SH)); in main()
110 retval = flock(fd1, LOCK_SH | LOCK_NB); in main()
Dflock01.c86 { LOCK_SH, "Shared Lock" },
Dflock05.c112 retval = flock(fd1, LOCK_SH | LOCK_NB); in main()
/external/ltp/testcases/kernel/fs/doio/
Dfile_lock.c81 else if (flags & LOCK_SH) in file_lock()
153 else if (flags & LOCK_SH) in record_lock()
Dgrowfiles.c2511 lkfile(fd, LOCK_SH, LKLVL0); in check_write()
2719 lkfile(fd, LOCK_SH, LKLVL0); in check_file()
2755 lkfile(fd, LOCK_SH, LKLVL0); /* get lock on file before getting file size */ in check_file()
2949 case LOCK_SH: in lkfile()
2987 case LOCK_SH: in lkfile()
/external/ltp/testcases/kernel/fs/doio/include/
Dfile_lock.h44 #define LOCK_SH 0x0008 macro
/external/strace/tests-m32/
Dflock.c15 long rc = syscall(__NR_flock, fd, LOCK_SH); in main()
/external/strace/tests-mx32/
Dflock.c15 long rc = syscall(__NR_flock, fd, LOCK_SH); in main()
/external/strace/tests/
Dflock.c15 long rc = syscall(__NR_flock, fd, LOCK_SH); in main()
/external/toybox/toys/other/
Dflock.c31 else op = (toys.optflags & FLAG_s) ? LOCK_SH : LOCK_EX; in flock_main()
/external/compiler-rt/lib/profile/
DWindowsMMap.h43 #define LOCK_SH 1 /* shared lock */ macro
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h177 #define LOCK_SH 1 /* shared lock */ macro
/external/python/cpython2/Lib/plat-irix5/
DFILE.py232 LOCK_SH = 1 variable
/external/minijail/linux-x86/
Dlibconstants.gen.c677 #ifdef LOCK_SH
678 { "LOCK_SH", (unsigned long) LOCK_SH },
/external/toolchain-utils/binary_search_tool/
Dbisect_driver.py63 lock_type = fcntl.LOCK_SH
/external/python/cpython2/Doc/library/
Dfcntl.rst120 * :const:`LOCK_SH` -- acquire a shared lock
123 When *operation* is :const:`LOCK_SH` or :const:`LOCK_EX`, it can also be
/external/python/cpython2/Lib/plat-irix6/
DFILE.py667 LOCK_SH = 1 variable
/external/python/cpython2/Lib/plat-unixware7/
DIN.py526 def LOCK_SH_PLMIN(lockp): return LOCK_SH((lockp), PLMIN)
/external/python/cpython2/Lib/plat-atheos/
DIN.py653 LOCK_SH = 1 variable

12