/third_party/ltp/testcases/kernel/syscalls/flock/ |
D | flock06.c | 27 TEST(flock(fd1, LOCK_EX | LOCK_NB)); in verify_flock() 34 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in verify_flock() 46 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in verify_flock()
|
D | flock03.c | 30 if (flock(fd2, LOCK_EX | LOCK_NB) != -1) in childfunc() 42 TEST(flock(fd2, LOCK_EX | LOCK_NB)); in childfunc() 68 TEST(flock(fd1, LOCK_EX | LOCK_NB)); in verify_flock()
|
D | flock04.c | 25 {LOCK_EX, "exclusive lock"}, 71 child(LOCK_EX | LOCK_NB, 0, "exclusive lock"); in verify_flock()
|
D | flock01.c | 22 {LOCK_EX, "Exclusive Lock"},
|
D | flock02.c | 30 {&fd, LOCK_SH | LOCK_EX, EINVAL},
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | flock.c | 68 result = flock(fd, LOCK_EX); in flock_0300() 86 result = flock(fd, LOCK_EX | LOCK_NB); in flock_0400() 117 int result = flock(-1, LOCK_EX); in flock_0600()
|
/third_party/python/Modules/ |
D | fcntlmodule.c | 302 #define LOCK_EX 2 /* exclusive lock */ in fcntl_flock_impl() macro 312 else if (code & LOCK_EX) in fcntl_flock_impl() 383 #define LOCK_EX 2 /* exclusive lock */ in fcntl_lockf_impl() macro 393 else if (code & LOCK_EX) in fcntl_lockf_impl() 460 if (PyModule_AddIntMacro(m, LOCK_EX)) return -1; in all_ins()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 79 else if (flags & LOCK_EX) in file_lock() 151 else if (flags & LOCK_EX) in record_lock()
|
D | growfiles.c | 1461 lkfile(fd, LOCK_EX, LKLVL1); /* lock if lockfile is LKLVL1 */ in main() 2039 lkfile(fd, LOCK_EX, LKLVL0); /* get exclusive lock */ in growfile() 2079 lkfile(fd, LOCK_EX, LKLVL0); /* get exclusive lock */ in growfile() 2192 lkfile(fd, LOCK_EX, LKLVL0); /* get exclusive lock */ in growfile() 2383 lkfile(fd, LOCK_EX, LKLVL0); in shrinkfile() 2965 case LOCK_EX: in lkfile() 3003 case LOCK_EX: in lkfile()
|
/third_party/ltp/testcases/kernel/fs/doio/include/ |
D | file_lock.h | 43 #define LOCK_EX 0x0004 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | file.h | 8 #define LOCK_EX 2 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | file.h | 8 #define LOCK_EX 2 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | file.h | 8 #define LOCK_EX 2 macro
|
/third_party/musl/include/sys/ |
D | file.h | 8 #define LOCK_EX 2 macro
|
/third_party/musl/ndk_musl_include/sys/ |
D | file.h | 8 #define LOCK_EX 2 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/python/Lib/test/ |
D | test_fcntl.py | 152 fcntl.flock(fileno, fcntl.LOCK_EX) 161 cmd = fcntl.LOCK_EX | fcntl.LOCK_NB
|
D | _test_eintr.py | 505 lock_func(f, fcntl.LOCK_EX | fcntl.LOCK_NB) 513 lock_func(f, fcntl.LOCK_EX)
|
/third_party/python/Doc/library/ |
D | fcntl.rst | 146 * :const:`LOCK_EX` -- acquire an exclusive lock 148 When *cmd* is :const:`LOCK_SH` or :const:`LOCK_EX`, it can also be 154 systems, :const:`LOCK_EX` can only be used if the file descriptor refers to a
|
/third_party/boost/boost/interprocess/detail/ |
D | os_file_functions.hpp | 591 { return 0 == ::flock(hnd, LOCK_EX); } 595 int ret = ::flock(hnd, LOCK_EX | LOCK_NB);
|
/third_party/weston/tests/ |
D | weston-test-fixture-compositor.c | 144 if (flock(fd, LOCK_EX) == -1) { in wait_for_lock()
|
/third_party/iptables/iptables/ |
D | xshared.c | 270 if (flock(fd, LOCK_EX) == 0) in xtables_lock() 279 if (flock(fd, LOCK_EX | LOCK_NB) == 0) in xtables_lock()
|
/third_party/mindspore/mindspore/ |
D | log.py | 85 fcntl.lockf(file_pointer.fileno(), fcntl.LOCK_EX)
|
/third_party/mesa3d/src/util/ |
D | fossilize_db.c | 190 err = flock(fd, LOCK_EX | LOCK_NB); in lock_file_with_timeout()
|
/third_party/mksh/ |
D | histrap.c | 1593 (void)flock(fd, LOCK_EX); in mksh_lockfd() 1599 rv = flock(fd, LOCK_EX); in mksh_lockfd()
|