Home
last modified time | relevance | path

Searched refs:F_SETLKW (Results 1 - 25 of 103) sorted by relevance

12345

/third_party/ltp/testcases/network/nfs/nfslock01/
H A Dnfs_flock.h23 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 Dfcntl.h36 #define F_SETLKW 14 macro
40 #define F_SETLKW 7 macro
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl10.c42 * 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 Dfcntl36.c126 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 Dfile_lock.c71 cmd = F_SETLKW; in file_lock()
143 cmd = F_SETLKW; in record_lock()
/third_party/python/Modules/
H A Dfcntlmodule.c322 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 Dfcntl.h35 #define F_SETLKW 14 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dfcntl.h40 #define F_SETLKW 14 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dfcntl.h35 #define F_SETLKW 14 macro
/third_party/musl/porting/liteos_m/user/include/bits/
H A Dfcntl.h35 #define F_SETLKW 14 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dfcntl.h35 #define F_SETLKW 14 macro
/third_party/musl/arch/aarch64/bits/
H A Dfcntl.h29 #define F_SETLKW 7 macro
/third_party/musl/arch/m68k/bits/
H A Dfcntl.h35 #define F_SETLKW 14 macro
/third_party/musl/arch/mipsn32/bits/
H A Dfcntl.h35 #define F_SETLKW 35 macro
/third_party/musl/arch/arm/bits/
H A Dfcntl.h35 #define F_SETLKW 14 macro
/third_party/musl/arch/mips/bits/
H A Dfcntl.h35 #define F_SETLKW 35 macro
/third_party/musl/arch/mips64/bits/
H A Dfcntl.h35 #define F_SETLKW 7 macro
/third_party/musl/arch/powerpc/bits/
H A Dfcntl.h35 #define F_SETLKW 14 macro
/third_party/musl/arch/powerpc64/bits/
H A Dfcntl.h30 #define F_SETLKW 7 macro
/third_party/musl/arch/s390x/bits/
H A Dfcntl.h30 #define F_SETLKW 7 macro
/third_party/musl/arch/x32/bits/
H A Dfcntl.h35 #define F_SETLKW 7 macro
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dlockf.c28 return fcntl(fd, F_SETLKW, &l); in lockf()
/third_party/musl/src/misc/
H A Dlockf.c29 return fcntl(fd, F_SETLKW, &l); in lockf()
/third_party/musl/src/fcntl/
H A Dfcntl.c17 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 Dfcntl.c14 if (cmd == F_SETLKW) return syscall_cp(SYS_fcntl, fd, cmd, (void *)arg); in fcntl()

Completed in 11 milliseconds

12345