/third_party/ltp/testcases/network/nfs/nfslock01/ |
H A D | nfs_flock.h | 23 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLKW) 25 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLKW) 27 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLKW)
|
/third_party/musl/arch/generic/bits/ |
H A D | fcntl.h | 36 #define F_SETLKW 14 macro 40 #define F_SETLKW 7 macro
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl10.c | 42 * TEST TITLE : Basic test for fcntl(2) using F_SETLKW argument. 157 * Call fcntl(2) with F_SETLKW flocks.l_type = F_UNLCK argument on fname in main() 159 TEST(fcntl(fd, F_SETLKW, &flocks)); in main() 164 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = %s Failed, errno=%d : %s", in main() 169 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = %s returned %ld", in main() 176 * Call fcntl(2) with F_SETLKW flocks.l_type = F_UNLCK argument on fname in main() 178 TEST(fcntl(fd, F_SETLKW, &flocks)); in main() 183 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = F_UNLCK Failed, errno=%d : %s", in main() 189 "fcntl(%s, F_SETLKW, &flocks) flocks.l_type = F_UNLCK returned %ld", in main()
|
H A D | fcntl36.c | 126 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 132 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 226 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_r()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | file_lock.c | 71 cmd = F_SETLKW; in file_lock() 143 cmd = F_SETLKW; in record_lock()
|
/third_party/python/Modules/ |
H A D | fcntlmodule.c | 322 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_flock_impl() 426 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l); in fcntl_lockf_impl() 501 #ifdef F_SETLKW in all_ins() 502 if (PyModule_AddIntMacro(m, F_SETLKW)) return -1; in all_ins()
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 14 macro
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
H A D | fcntl.h | 40 #define F_SETLKW 14 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 14 macro
|
/third_party/musl/porting/liteos_m/user/include/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 14 macro
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 14 macro
|
/third_party/musl/arch/aarch64/bits/ |
H A D | fcntl.h | 29 #define F_SETLKW 7 macro
|
/third_party/musl/arch/m68k/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 14 macro
|
/third_party/musl/arch/mipsn32/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 35 macro
|
/third_party/musl/arch/arm/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 14 macro
|
/third_party/musl/arch/mips/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 35 macro
|
/third_party/musl/arch/mips64/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 7 macro
|
/third_party/musl/arch/powerpc/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 14 macro
|
/third_party/musl/arch/powerpc64/bits/ |
H A D | fcntl.h | 30 #define F_SETLKW 7 macro
|
/third_party/musl/arch/s390x/bits/ |
H A D | fcntl.h | 30 #define F_SETLKW 7 macro
|
/third_party/musl/arch/x32/bits/ |
H A D | fcntl.h | 35 #define F_SETLKW 7 macro
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | lockf.c | 28 return fcntl(fd, F_SETLKW, &l); in lockf()
|
/third_party/musl/src/misc/ |
H A D | lockf.c | 29 return fcntl(fd, F_SETLKW, &l); in lockf()
|
/third_party/musl/src/fcntl/ |
H A D | fcntl.c | 17 if (cmd == F_SETLKW) return syscall_cp(SYS_fcntl, fd, cmd, (void *)arg); in fcntl()
|
/third_party/musl/porting/liteos_a/user/src/fcntl/ |
H A D | fcntl.c | 14 if (cmd == F_SETLKW) return syscall_cp(SYS_fcntl, fd, cmd, (void *)arg); in fcntl()
|