/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 | 65 child(LOCK_SH | LOCK_NB, tc->operation & LOCK_SH, "shared lock"); in verify_flock() 71 child(LOCK_EX | LOCK_NB, 0, "exclusive lock"); in verify_flock()
|
D | flock02.c | 29 {&fd, LOCK_NB, EINVAL},
|
/third_party/toybox/toys/other/ |
D | flock.c | 33 if (toys.optflags & FLAG_n) op |= LOCK_NB; in flock_main() 36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1; in flock_main()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
D | flock.c | 50 result = flock(fd, LOCK_SH | LOCK_NB); in flock_0200() 86 result = flock(fd, LOCK_EX | LOCK_NB); in flock_0400()
|
/third_party/python/Modules/ |
D | fcntlmodule.c | 303 #define LOCK_NB 4 /* don't block when locking */ in fcntl_flock_impl() macro 322 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock_impl() 384 #define LOCK_NB 4 /* don't block when locking */ in fcntl_lockf_impl() macro 426 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf_impl() 461 if (PyModule_AddIntMacro(m, LOCK_NB)) return -1; in all_ins()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 68 if (flags & LOCK_NB) in file_lock() 140 if (flags & LOCK_NB) in record_lock()
|
/third_party/ltp/testcases/kernel/fs/doio/include/ |
D | file_lock.h | 41 #define LOCK_NB 0x0001 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | file.h | 9 #define LOCK_NB 4 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | file.h | 9 #define LOCK_NB 4 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | file.h | 9 #define LOCK_NB 4 macro
|
/third_party/musl/include/sys/ |
D | file.h | 9 #define LOCK_NB 4 macro
|
/third_party/musl/ndk_musl_include/sys/ |
D | file.h | 9 #define LOCK_NB 4 macro
|
/third_party/python/Lib/test/ |
D | test_fcntl.py | 150 fcntl.flock(self.f, fcntl.LOCK_SH | fcntl.LOCK_NB) 161 cmd = fcntl.LOCK_EX | fcntl.LOCK_NB 172 cmd = fcntl.LOCK_SH | fcntl.LOCK_NB
|
D | _test_eintr.py | 505 lock_func(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/third_party/boost/boost/interprocess/detail/ |
D | os_file_functions.hpp | 595 int ret = ::flock(hnd, LOCK_EX | LOCK_NB); 608 int ret = ::flock(hnd, LOCK_SH | LOCK_NB);
|
/third_party/python/Doc/library/ |
D | fcntl.rst | 149 bitwise ORed with :const:`LOCK_NB` to avoid blocking on lock acquisition. 150 If :const:`LOCK_NB` is used and the lock cannot be acquired, an
|
/third_party/mesa3d/src/util/ |
D | fossilize_db.c | 190 err = flock(fd, LOCK_EX | LOCK_NB); in lock_file_with_timeout()
|
D | disk_cache_os.c | 696 int err = flock(fd, LOCK_EX | LOCK_NB); in disk_cache_write_item_to_disk()
|
/third_party/eudev/src/udev/ |
D | udevd.c | 327 if (fd_lock >= 0 && flock(fd_lock, LOCK_SH|LOCK_NB) < 0) { in worker_spawn() 809 r = flock(fd, LOCK_EX|LOCK_NB); in synthesize_change()
|
/third_party/iptables/iptables/ |
D | xshared.c | 279 if (flock(fd, LOCK_EX | LOCK_NB) == 0) in xtables_lock()
|
/third_party/wayland_standard/src/ |
D | wayland-server.c | 1448 if (flock(socket->fd_lock, LOCK_EX | LOCK_NB) < 0) { in wl_socket_lock()
|
/third_party/python/Lib/ |
D | mailbox.py | 2069 fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/third_party/sqlite/src/ |
D | sqlite3.c | 36769 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB); 36847 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {
|