/external/strace/xlat/ |
D | fcntlcmds.h | 74 #if defined(F_SETLKW) || (defined(HAVE_DECL_F_SETLKW) && HAVE_DECL_F_SETLKW) 76 static_assert((F_SETLKW) == (9), "F_SETLKW != 9"); 79 # define F_SETLKW 9 89 #if defined(F_SETLKW) || (defined(HAVE_DECL_F_SETLKW) && HAVE_DECL_F_SETLKW) 91 static_assert((F_SETLKW) == (7), "F_SETLKW != 7"); 94 # define F_SETLKW 7 415 XLAT(F_SETLKW), 418 XLAT(F_SETLKW),
|
D | fcntlcmds.in | 18 F_SETLKW 9 21 F_SETLKW 7
|
/external/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock.h | 17 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLKW) 19 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLKW) 21 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLKW)
|
/external/openssh/openbsd-compat/ |
D | bsd-flock.c | 48 #if defined(F_SETLK) && defined(F_SETLKW) in flock() 70 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl); in flock()
|
/external/llvm-project/lldb/source/Host/posix/ |
D | LockFilePosix.cpp | 45 return fileLock(m_fd, F_SETLKW, F_WRLCK, start, len); in DoWriteLock() 53 return fileLock(m_fd, F_SETLKW, F_RDLCK, start, len); in DoReadLock()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl10.c | 159 TEST(fcntl(fd, F_SETLKW, &flocks)); in main() 178 TEST(fcntl(fd, F_SETLKW, &flocks)); in main()
|
D | fcntl36.c | 127 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 133 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 227 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_r()
|
D | fcntl13.c | 78 if (fcntl(1, F_SETLKW, (void *)-1) != -1) { in main()
|
/external/mtools/ |
D | lockdev.c | 53 # if (defined ALRM && defined F_SETLKW) 116 ret = fcntl(fd, F_SETLKW, &flk); in lock_dev()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 71 cmd = F_SETLKW; in file_lock() 143 cmd = F_SETLKW; in record_lock()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 386 if (tdb_brlock(tdb, offset, F_WRLCK, F_SETLKW, 1, len) == 0) { in tdb_brlock_upgrade() 479 ret = _tdb_lock(tdb, list, ltype, F_SETLKW); in tdb_lock() 553 F_SETLKW, 0, 1); in tdb_unlock() 590 F_SETLKW, 0, 1) == -1) { in tdb_transaction_lock() 608 ret = tdb->methods->tdb_brlock(tdb, TRANSACTION_LOCK, F_UNLCK, F_SETLKW, 0, 1); in tdb_transaction_unlock() 647 if (op == F_SETLKW) { in _tdb_lockall() 683 tdb->methods->tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, in _tdb_unlockall() 698 return _tdb_lockall(tdb, F_WRLCK, F_SETLKW); in tdb_lockall() 704 return _tdb_lockall(tdb, F_WRLCK | TDB_MARK_LOCK, F_SETLKW); in tdb_lockall_mark() 728 return _tdb_lockall(tdb, F_RDLCK, F_SETLKW); in tdb_lockall_read() [all …]
|
/external/python/cpython2/Modules/ |
D | fcntlmodule.c | 288 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock() 369 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf() 480 #ifdef F_SETLKW in all_ins() 481 if (ins(d, "F_SETLKW", (long)F_SETLKW)) return -1; in all_ins()
|
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 334 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock_impl() 438 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf_impl() 513 #ifdef F_SETLKW in all_ins() 514 if (PyModule_AddIntMacro(m, F_SETLKW)) return -1; in all_ins()
|
/external/python/cpython2/Lib/test/ |
D | test_fcntl.py | 77 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata) 87 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
|
/external/vboot_reference/futility/ |
D | futility.c | 78 if (fcntl(log_fd, F_SETLKW, &lock)) in log_close() 116 ret = fcntl(log_fd, F_SETLKW, &lock); /* this blocks */ in log_open()
|
/external/llvm-project/compiler-rt/lib/profile/ |
D | InstrProfilingUtil.c | 135 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofLockFd() 160 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofUnlockFd()
|
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/ |
D | mod.rs | 167 pub const F_SETLKW: ::c_int = 9; constant 213 pub const F_SETLKW: ::c_int = 7; constant
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 108 #define F_SETLKW 7 macro
|
/external/strace/tests-mx32/ |
D | fcntl-common.c | 109 TEST_FLOCK_EINVAL(F_SETLKW); in test_flock() 128 invoke_test_syscall(0, F_SETLKW, fl); in test_flock()
|
/external/strace/tests/ |
D | fcntl-common.c | 109 TEST_FLOCK_EINVAL(F_SETLKW); in test_flock() 128 invoke_test_syscall(0, F_SETLKW, fl); in test_flock()
|
/external/ltp/pan/ |
D | zoolib.c | 320 ret = fcntl(fileno(fp), F_SETLKW, &zlock); in zoo_lock() 356 ret = fcntl(fileno(fp), F_SETLKW, &zlock); in zoo_unlock()
|
/external/strace/tests-m32/ |
D | fcntl-common.c | 109 TEST_FLOCK_EINVAL(F_SETLKW); in test_flock() 128 invoke_test_syscall(0, F_SETLKW, fl); in test_flock()
|
/external/python/cpython3/Lib/test/ |
D | test_fcntl.py | 85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata) 96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingUtil.c | 94 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofOpenFileEx()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate04.c | 123 SAFE_FCNTL(fd, F_SETLKW, &flocks); in dochild()
|