/third_party/ltp/testcases/kernel/syscalls/flock/ |
D | flock04.c | 24 {LOCK_SH, "shared lock"}, 65 child(LOCK_SH | LOCK_NB, tc->operation & LOCK_SH, "shared lock"); in verify_flock()
|
D | flock02.c | 28 {&badfd, LOCK_SH, EBADF}, 30 {&fd, LOCK_SH | LOCK_EX, EINVAL},
|
D | flock01.c | 20 {LOCK_SH, "Shared Lock" },
|
/third_party/python/Lib/test/ |
D | test_fcntl.py | 148 fcntl.flock(fileno, fcntl.LOCK_SH) 150 fcntl.flock(self.f, fcntl.LOCK_SH | fcntl.LOCK_NB) 155 self.assertRaises(ValueError, fcntl.flock, -1, fcntl.LOCK_SH) 156 self.assertRaises(TypeError, fcntl.flock, 'spam', fcntl.LOCK_SH) 172 cmd = fcntl.LOCK_SH | fcntl.LOCK_NB 184 fcntl.LOCK_SH)
|
/third_party/python/Modules/ |
D | fcntlmodule.c | 300 #ifndef LOCK_SH in fcntl_flock_impl() 301 #define LOCK_SH 1 /* shared lock */ in fcntl_flock_impl() macro 310 else if (code & LOCK_SH) in fcntl_flock_impl() 381 #ifndef LOCK_SH in fcntl_lockf_impl() 382 #define LOCK_SH 1 /* shared lock */ in fcntl_lockf_impl() macro 391 else if (code & LOCK_SH) in fcntl_lockf_impl() 459 if (PyModule_AddIntMacro(m, LOCK_SH)) return -1; in all_ins()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | flock.c | 32 result = flock(fd, LOCK_SH); in flock_0100() 50 result = flock(fd, LOCK_SH | LOCK_NB); in flock_0200()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 81 else if (flags & LOCK_SH) in file_lock() 153 else if (flags & LOCK_SH) in record_lock()
|
D | growfiles.c | 2524 lkfile(fd, LOCK_SH, LKLVL0); in check_write() 2732 lkfile(fd, LOCK_SH, LKLVL0); in check_file() 2768 lkfile(fd, LOCK_SH, LKLVL0); /* get lock on file before getting file size */ in check_file() 2959 case LOCK_SH: in lkfile() 2997 case LOCK_SH: in lkfile()
|
/third_party/ltp/testcases/kernel/fs/doio/include/ |
D | file_lock.h | 44 #define LOCK_SH 0x0008 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | file.h | 7 #define LOCK_SH 1 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | file.h | 7 #define LOCK_SH 1 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | file.h | 7 #define LOCK_SH 1 macro
|
/third_party/musl/include/sys/ |
D | file.h | 7 #define LOCK_SH 1 macro
|
/third_party/musl/ndk_musl_include/sys/ |
D | file.h | 7 #define LOCK_SH 1 macro
|
/third_party/toybox/toys/other/ |
D | flock.c | 31 else op = (toys.optflags & FLAG_s) ? LOCK_SH : LOCK_EX; in flock_main()
|
/third_party/boost/boost/interprocess/detail/ |
D | os_file_functions.hpp | 604 { return 0 == ::flock(hnd, LOCK_SH); } 608 int ret = ::flock(hnd, LOCK_SH | LOCK_NB);
|
/third_party/python/Doc/library/ |
D | fcntl.rst | 145 * :const:`LOCK_SH` -- acquire a shared lock 148 When *cmd* is :const:`LOCK_SH` or :const:`LOCK_EX`, it can also be
|
/third_party/eudev/src/udev/ |
D | udevd.c | 327 if (fd_lock >= 0 && flock(fd_lock, LOCK_SH|LOCK_NB) < 0) { in worker_spawn()
|