/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/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 | 142 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 148 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 242 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_r()
|
D | fcntl13.c | 78 if (fcntl(1, F_SETLKW, (void *)-1) != -1) { in main()
|
D | fcntl17.c | 233 if (fcntl(file_fd, F_SETLKW, &lock4) < 0) { in do_child2() 271 if (fcntl(file_fd, F_SETLKW, &lock5) < 0) { in do_child3()
|
/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/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 71 cmd = F_SETLKW; in file_lock() 143 cmd = F_SETLKW; in record_lock()
|
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 321 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock_impl() 420 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf_impl() 495 #ifdef F_SETLKW in all_ins() 496 if (PyModule_AddIntMacro(m, F_SETLKW)) return -1; in all_ins()
|
/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/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/libdaemon/libdaemon/ |
D | dpid.c | 83 if (fcntl(fd, F_SETLKW, &f) < 0) { in lock_file() 88 if (fcntl(fd, F_SETLKW, &f) >= 0) in lock_file()
|
/external/python/cpython3/Lib/test/ |
D | test_fcntl.py | 70 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata) 81 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | fcntl.h | 42 #define F_SETLKW 7 macro
|
/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/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/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/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/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 108 #define F_SETLKW 7 macro
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingUtil.c | 94 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofOpenFileEx()
|
D | CMakeLists.txt | 35 fcntl(fd, F_SETLKW, &s_flock);
|
/external/syzkaller/sys/netbsd/ |
D | sys_amd64.const | 23 F_SETLKW = 9
|
/external/syzkaller/sys/freebsd/ |
D | sys_amd64.const | 21 F_SETLKW = 13
|