/external/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 | 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() 568 compare_lock(&tl, (short)F_RDLCK, (short)0, 13, 2, parent_pid); in main() [all …]
|
D | fcntl11.c | 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() 451 compare_lock(&tl, (short)F_RDLCK, (short)0, 13, 5, parent_pid); in main() [all …]
|
D | fcntl20.c | 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() 503 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main() [all …]
|
D | fcntl33.c | 68 {F_RDLCK, OP_OPEN_WRONLY, 70 {F_RDLCK, OP_OPEN_RDWR, 72 {F_RDLCK, OP_TRUNCATE, 144 TEST(fcntl(fd, F_SETLEASE, F_RDLCK)); in do_test() 159 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()
|
/external/strace/tests-mx32/ |
D | fcntl-common.c | 66 fl->l_type = F_RDLCK; in test_flock_einval() 90 fl->l_type = F_RDLCK; in test_flock64_einval() 113 fl->l_type = F_RDLCK; in test_flock() 143 fl->l_type = F_RDLCK; in test_flock64_ofd() 317 case F_RDLCK: in print_flags_getlease() 348 { 1, ARG_STR(F_SETLEASE), ARG_STR(F_RDLCK) }, in test_fcntl_others()
|
D | fcntl64.c | 46 fl->l_type = F_RDLCK; in test_flock64_lk64()
|
D | fcntl.c | 42 .l_type = F_RDLCK, in test_flock64_undecoded()
|
/external/strace/tests/ |
D | fcntl-common.c | 66 fl->l_type = F_RDLCK; in test_flock_einval() 90 fl->l_type = F_RDLCK; in test_flock64_einval() 113 fl->l_type = F_RDLCK; in test_flock() 143 fl->l_type = F_RDLCK; in test_flock64_ofd() 317 case F_RDLCK: in print_flags_getlease() 348 { 1, ARG_STR(F_SETLEASE), ARG_STR(F_RDLCK) }, in test_fcntl_others()
|
D | fcntl64.c | 46 fl->l_type = F_RDLCK; in test_flock64_lk64()
|
D | fcntl.c | 42 .l_type = F_RDLCK, in test_flock64_undecoded()
|
/external/strace/tests-m32/ |
D | fcntl-common.c | 66 fl->l_type = F_RDLCK; in test_flock_einval() 90 fl->l_type = F_RDLCK; in test_flock64_einval() 113 fl->l_type = F_RDLCK; in test_flock() 143 fl->l_type = F_RDLCK; in test_flock64_ofd() 317 case F_RDLCK: in print_flags_getlease() 348 { 1, ARG_STR(F_SETLEASE), ARG_STR(F_RDLCK) }, in test_fcntl_others()
|
D | fcntl.c | 42 .l_type = F_RDLCK, in test_flock64_undecoded()
|
D | fcntl64.c | 46 fl->l_type = F_RDLCK; in test_flock64_lk64()
|
/external/strace/xlat/ |
D | lockfcmds.h | 17 #if defined(F_RDLCK) || (defined(HAVE_DECL_F_RDLCK) && HAVE_DECL_F_RDLCK) 18 XLAT(F_RDLCK),
|
D | lockfcmds.in | 1 F_RDLCK
|
/external/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock.h | 11 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLK) 17 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLKW)
|
/external/llvm-project/lldb/source/Host/posix/ |
D | LockFilePosix.cpp | 53 return fileLock(m_fd, F_SETLKW, F_RDLCK, start, len); in DoReadLock() 57 return fileLock(m_fd, F_SETLK, F_RDLCK, start, len); in DoTryReadLock()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 165 #ifndef F_RDLCK 166 #define F_RDLCK 0 macro
|
/external/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()
|
/external/python/cpython2/Modules/ |
D | fcntlmodule.c | 278 l.l_type = F_RDLCK; in fcntl_flock() 336 l.l_type = F_RDLCK; in fcntl_lockf() 495 #ifdef F_RDLCK in all_ins() 496 if (ins(d, "F_RDLCK", (long)F_RDLCK)) return -1; in all_ins()
|
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 323 l.l_type = F_RDLCK; in fcntl_flock_impl() 404 l.l_type = F_RDLCK; in fcntl_lockf_impl() 540 #ifdef F_RDLCK in all_ins() 541 if (PyModule_AddIntMacro(m, F_RDLCK)) return -1; in all_ins()
|
/external/openssh/openbsd-compat/ |
D | bsd-flock.c | 57 fl.l_type = F_RDLCK; in flock()
|