/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl23.c | 26 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_RDLCK argument. 132 #ifdef F_SETLEASE in main() 134 * Call fcntl(2) with F_SETLEASE & F_RDLCK argument on fname in main() 136 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in main() 141 "fcntl(%s, F_SETLEASE, F_RDLCK) Failed, errno=%d : %s", in main() 151 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main() 154 "fcntl(%s, F_SETLEASE, F_UNLCK) did not return 0, returned %ld", in main() 158 "fcntl(%s, F_SETLEASE, F_RDLCK)", in main() 169 tst_resm(TINFO, "F_SETLEASE not defined, skipping test"); in main()
|
H A D | fcntl25.c | 27 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument. 139 #ifdef F_SETLEASE in main() 141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname in main() 143 TEST(fcntl(fd, F_SETLEASE, F_WRLCK)); in main() 149 "fcntl(F_SETLEASE, F_WRLCK) failed on overlayfs as expected"); in main() 152 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s", in main() 162 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main() 165 "fcntl(%s, F_SETLEASE, F_UNLCK) did not return 0, returned %ld", in main() 169 "fcntl(%s, F_SETLEASE, F_WRLCK)", in main() 174 tst_resm(TINFO, "F_SETLEASE no in main() [all...] |
H A D | fcntl26.c | 27 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument. 139 #ifdef F_SETLEASE in main() 141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname in main() 143 TEST(fcntl(fd, F_SETLEASE, F_WRLCK)); in main() 149 "fcntl(F_SETLEASE, F_WRLCK) failed on overlayfs as expected"); in main() 152 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s", in main() 162 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main() 165 "fcntl(%s, F_SETLEASE, F_UNLCK) did not return 0, returned %ld", in main() 169 "fcntl(%s, F_SETLEASE, F_WRLCK)", in main() 174 tst_resm(TINFO, "F_SETLEASE no in main() [all...] |
H A D | fcntl24.c | 26 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument. 138 #ifdef F_SETLEASE in main() 140 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname in main() 142 TEST(fcntl(fd, F_SETLEASE, F_WRLCK)); in main() 148 "fcntl(F_SETLEASE, F_WRLCK) failed on overlayfs as expected"); in main() 151 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s", in main() 161 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main() 164 "fcntl(%s, F_SETLEASE, F_UNLCK) did not return 0, returned %ld", in main() 168 "fcntl(%s, F_SETLEASE, F_WRLCK)", in main() 173 tst_resm(TINFO, "F_SETLEASE no in main() [all...] |
H A D | fcntl33.c | 9 * Test for feature F_SETLEASE of fcntl(2). 10 * "F_SETLEASE is used to establish a lease which provides a mechanism: 61 "open(O_RDONLY) conflicts with fcntl(F_SETLEASE, F_WRLCK)"}, 63 "open(O_WRONLY) conflicts with fcntl(F_SETLEASE, F_WRLCK)"}, 65 "open(O_RDWR) conflicts with fcntl(F_SETLEASE, F_WRLCK)"}, 67 "truncate() conflicts with fcntl(F_SETLEASE, F_WRLCK)"}, 69 "open(O_WRONLY) conflicts with fcntl(F_SETLEASE, F_RDLCK)"}, 71 "open(O_RDWR) conflicts with fcntl(F_SETLEASE, F_RDLCK)"}, 73 "truncate() conflicts with fcntl(F_SETLEASE, F_RDLCK)"}, 105 TEST(fcntl(fd, F_SETLEASE, test_case in do_test() [all...] |
H A D | fcntl27.c | 27 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_RDLCK argument. 129 #ifdef F_SETLEASE in main() 131 * Call fcntl(2) with F_SETLEASE & F_RDLCK argument on fname in main() 133 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in main() 138 "fcntl(fd, F_SETLEASE, F_RDLCK) succeeded"); in main() 140 tst_resm(TFAIL, "fcntl(%s, F_SETLEASE, F_RDLCK)" in main() 145 tst_resm(TINFO, "F_SETLEASE not defined, skipping test"); in main()
|
H A D | fcntl28.c | 24 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_RDLCK argument. 126 #ifdef F_SETLEASE in main() 128 * Call fcntl(2) with F_SETLEASE & F_RDLCK argument on fname in main() 130 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in main() 135 "fcntl(fd, F_SETLEASE, F_RDLCK) succeeded"); in main() 137 tst_resm(TFAIL, "fcntl(%s, F_SETLEASE, F_RDLCK)" in main() 143 tst_resm(TINFO, "F_SETLEASE not defined, skipping test"); in main()
|
H A D | fcntl32.c | 19 * Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument. 89 "Cannot do fcntl(F_SETLEASE, F_WRLCK) " in setup() 104 TEST(fcntl(fd1, F_SETLEASE, F_WRLCK)); in verify_fcntl() 107 tst_resm(TFAIL, "fcntl(F_SETLEASE, F_WRLCK) " in verify_fcntl() 112 "fcntl(F_SETLEASE, F_WRLCK) " in verify_fcntl() 116 "fcntl(F_SETLEASE, F_WRLCK) " in verify_fcntl()
|
/third_party/libbpf/include/uapi/linux/ |
H A D | fcntl.h | 8 #define F_SETLEASE (F_LINUX_SPECIFIC_BASE + 0) macro
|
/third_party/musl/porting/linux/user/include/ |
H A D | fcntl.h | 125 #define F_SETLEASE 1024 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 124 #define F_SETLEASE 1024 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 124 #define F_SETLEASE 1024 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 124 #define F_SETLEASE 1024 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 127 #define F_SETLEASE 1024 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 124 #define F_SETLEASE 1024 macro
|
/third_party/musl/include/ |
H A D | fcntl.h | 127 #define F_SETLEASE 1024 macro
|
/third_party/python/Modules/ |
H A D | fcntlmodule.c | 551 #ifdef F_SETLEASE in all_ins() 552 if (PyModule_AddIntMacro(m, F_SETLEASE)) return -1; in all_ins()
|
/third_party/rust/crates/libc/src/unix/linux_like/ |
H A D | mod.rs | 469 pub const F_SETLEASE: ::c_int = 1024; consts
|
/third_party/rust/crates/linux-raw-sys/src/aarch64/ |
H A D | general.rs | 242 pub const F_SETLEASE: u32 = 1024; consts
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | mod.rs | 1417 pub const F_SETLEASE: ::c_int = 1024; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv64/ |
H A D | general.rs | 247 pub const F_SETLEASE: u32 = 1024; consts
|
/third_party/rust/crates/linux-raw-sys/src/riscv32/ |
H A D | general.rs | 247 pub const F_SETLEASE: u32 = 1024; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc64/ |
H A D | general.rs | 254 pub const F_SETLEASE: u32 = 1024; consts
|
/third_party/rust/crates/linux-raw-sys/src/mips64/ |
H A D | general.rs | 251 pub const F_SETLEASE: u32 = 1024; consts
|
/third_party/rust/crates/linux-raw-sys/src/powerpc/ |
H A D | general.rs | 254 pub const F_SETLEASE: u32 = 1024; consts
|