/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl16.c | 58 #if (SKIPVAL == F_RDLCK) || (SKIPVAL == F_WRLCK) 59 #error invalid SKIP, must not be F_RDLCK or F_WRLCK 83 {F_RDLCK, 0, 0L, 5L, NOBLOCK}, 85 {F_RDLCK, 0, 6L, 5L, NOBLOCK}, 89 {F_RDLCK, 0, 0L, 0L, IGNORED}, 98 {F_RDLCK, 0, 0L, 5L, WILLBLOCK}, 100 {F_RDLCK, 0, 6L, 5L, WILLBLOCK}, 114 {F_RDLCK, 0, 2L, 3L, WILLBLOCK}, 116 {F_RDLCK, 0, 6L, 3L, WILLBLOCK}, 121 {F_RDLCK, 0, 3L, 5L, IGNORED}, [all …]
|
D | fcntl14.c | 54 #if SKIP == F_RDLCK || SKIP== F_WRLCK 55 #error invalid value for SKIP, must be distinct from F_RDLCK and F_WRLCK 90 F_RDLCK, 0, 0L, 0L, WILLBLOCK}, 98 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L, 100 F_RDLCK, 0, 0L, 0L, NOBLOCK}, 103 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L, 114 F_RDLCK, 0, 0L, 5L, WILLBLOCK}, 125 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L, 130 F_RDLCK, 0, 0L, 5L, NOBLOCK}, 133 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L, [all …]
|
D | fcntl21.c | 225 case F_RDLCK: in str_type() 332 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 0, 0) < 0) { in main() 342 compare_lock(&tl, (short)F_RDLCK, (short)0, 0, 0, parent_pid); in main() 396 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() 418 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 446 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() 468 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 496 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() 518 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid); in main() 546 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() [all …]
|
D | fcntl11.c | 192 case F_RDLCK: in str_type() 286 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 1, 5) < 0) in main() 293 compare_lock(&tl, (short)F_RDLCK, (short)0, 1, 5, parent_pid); in main() 324 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 5) < 0) in main() 331 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 5, parent_pid); in main() 362 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 6) < 0) in main() 369 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 6, parent_pid); in main() 400 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 8) < 0) in main() 407 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 8, parent_pid); in main() 438 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 13, 5) < 0) in main() [all …]
|
D | fcntl20.c | 217 case F_RDLCK: in str_type() 325 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() 341 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 368 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() 384 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid); in main() 411 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() 427 compare_lock(&tl, (short)F_RDLCK, (short)0, 13, 2, parent_pid); in main() 454 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 10) < 0) { in main() 470 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 3, parent_pid); in main() 476 compare_lock(&tl, (short)F_RDLCK, (short)0, 18, 2, parent_pid); in main() [all …]
|
D | fcntl33.c | 68 {F_RDLCK, OP_OPEN_WRONLY, 70 {F_RDLCK, OP_OPEN_RDWR, 72 {F_RDLCK, OP_TRUNCATE, 133 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in do_test() 148 case F_RDLCK: in do_test()
|
D | fcntl23.c | 136 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in main() 146 if (TEST_RETURN != F_RDLCK) in main()
|
D | fcntl05.c | 40 flocks.l_type = F_RDLCK; in verify_fcntl()
|
D | fcntl28.c | 130 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in main()
|
D | fcntl27.c | 133 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in main()
|
D | fcntl36.c | 165 lck.l_type = F_RDLCK; in fn_ofd_r() 225 lck.l_type = F_RDLCK; in fn_posix_r()
|
D | fcntl09.c | 154 flocks.l_type = type ? F_RDLCK : F_WRLCK; in main()
|
D | fcntl10.c | 154 flocks.l_type = type ? F_RDLCK : F_WRLCK; in main()
|
D | fcntl17.c | 289 fl.l_type = /* lock->l_type */ F_RDLCK; in do_test() 338 case F_RDLCK: in str_type()
|
/third_party/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock.h | 17 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLK) 23 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLKW)
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 82 flocks.l_type = F_RDLCK; in file_lock() 154 flocks.l_type = F_RDLCK; in record_lock()
|
/third_party/python/Modules/ |
D | fcntlmodule.c | 311 l.l_type = F_RDLCK; in fcntl_flock_impl() 392 l.l_type = F_RDLCK; in fcntl_lockf_impl() 528 #ifdef F_RDLCK in all_ins() 529 if (PyModule_AddIntMacro(m, F_RDLCK)) return -1; in all_ins()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
D | lockf.c | 16 l.l_type = F_RDLCK; in lockf()
|
/third_party/musl/src/misc/ |
D | lockf.c | 17 l.l_type = F_RDLCK; in lockf()
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
D | locktests.c | 621 request.l_type = F_RDLCK; in master() 647 request.l_type = F_RDLCK; in master() 823 P("READ LOCK %d\n", F_RDLCK); in slave() 834 request.l_type = F_RDLCK; in slave()
|
/third_party/musl/libc-test/src/functional/ |
D | fcntl.c | 31 fl.l_type = F_RDLCK; in main()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/ |
D | mod.rs | 182 pub const F_RDLCK: ::c_int = 1; constant 228 pub const F_RDLCK: ::c_int = 0; constant
|
/third_party/musl/libc-test/src/api/ |
D | fcntl.c | 20 C(F_RDLCK) in f()
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | fcntl.h | 54 #define F_RDLCK 0 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | fcntl.h | 54 #define F_RDLCK 0 macro
|