/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl20.c | 204 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { in unlock_file() 209 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 331 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) { in main() 347 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 374 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) { in main() 390 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 417 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) { in main() 433 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 460 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) { in main() 482 compare_lock(&tl, (short)F_UNLCK, (short)0, 20, 0, (pid_t) 0); in main() [all …]
|
D | fcntl19.c | 205 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { in unlock_file() 210 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 332 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) { in main() 348 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 375 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) { in main() 391 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 419 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) { in main() 435 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 463 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) { in main() 485 compare_lock(&tl, (short)F_UNLCK, (short)0, 20, 0, (pid_t) 0); in main() [all …]
|
D | fcntl11.c | 181 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) in unlock_file() 184 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 305 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 343 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 381 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 419 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 463 compare_lock(&tl, (short)F_UNLCK, (short)0, 20, 0, 0); in main() 502 compare_lock(&tl, (short)F_UNLCK, (short)0, 18, 0, 0); in main() 543 compare_lock(&tl, (short)F_UNLCK, (short)0, 19, 0, 0); in main() 585 compare_lock(&tl, (short)F_UNLCK, (short)0, 20, 0, 0); in main() [all …]
|
D | fcntl21.c | 212 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { in unlock_file() 217 compare_lock(&fl, (short)F_UNLCK, (short)0, 0, 0, (pid_t) 0); in unlock_file() 424 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 474 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 524 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 574 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 630 compare_lock(&tl, (short)F_UNLCK, (short)0, 20, 0, 0); in main() 681 compare_lock(&tl, (short)F_UNLCK, (short)0, 18, 0, 0); in main() 734 compare_lock(&tl, (short)F_UNLCK, (short)0, 19, 0, 0); in main() 788 compare_lock(&tl, (short)F_UNLCK, (short)0, 20, 0, 0); in main() [all …]
|
D | fcntl06.c | 104 if (do_lock(F_RSETLK, F_UNLCK, 0, 5, 5) == -1) in main() 151 if (do_lock(F_RSETLK, (short)F_UNLCK, (short)0, 0, 0) == -1) { in unlock_file()
|
D | fcntl36.c | 108 lck.l_type = F_UNLCK; in fn_ofd_w() 147 lck.l_type = F_UNLCK; in fn_posix_w() 212 lck.l_type = F_UNLCK; in fn_ofd_r() 272 lck.l_type = F_UNLCK; in fn_posix_r()
|
D | fcntl14.c | 634 if (flock.l_type != F_UNLCK) { in dochild() 638 flock.l_type, F_UNLCK); in dochild() 726 (void)fcntl(fd, F_UNLCK, &flock); in dochild() 867 flock.l_type = F_UNLCK; in run_test() 1119 flock.l_type = F_UNLCK; in main()
|
D | fcntl24.c | 156 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
|
D | fcntl25.c | 157 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
|
D | fcntl26.c | 157 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
|
/external/strace/xlat/ |
D | lockfcmds.h | 23 #if defined(F_UNLCK) || (defined(HAVE_DECL_F_UNLCK) && HAVE_DECL_F_UNLCK) 24 XLAT(F_UNLCK),
|
D | lockfcmds.in | 3 F_UNLCK
|
/external/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock.h | 15 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLK) 21 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLKW)
|
D | nfs_flock_func.c | 32 if (lock.l_type == F_UNLCK) in lock_test()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 78 flocks.l_type = F_UNLCK; in file_lock() 150 flocks.l_type = F_UNLCK; in record_lock()
|
/external/python/cpython3/Modules/ |
D | fcntlmodule.c | 308 l.l_type = F_UNLCK; in fcntl_flock_impl() 384 l.l_type = F_UNLCK; in fcntl_lockf_impl() 516 #ifdef F_UNLCK in all_ins() 517 if (PyModule_AddIntMacro(m, F_UNLCK)) return -1; in all_ins()
|
/external/python/cpython2/Modules/ |
D | fcntlmodule.c | 276 l.l_type = F_UNLCK; in fcntl_flock() 334 l.l_type = F_UNLCK; in fcntl_lockf() 501 #ifdef F_UNLCK in all_ins() 502 if (ins(d, "F_UNLCK", (long)F_UNLCK)) return -1; in all_ins()
|
/external/python/cpython2/Lib/ |
D | posixfile.py | 158 elif 'u' in how: l_type = fcntl.F_UNLCK 214 if l_type != fcntl.F_UNLCK:
|
/external/ppp/pppd/plugins/radius/ |
D | lock.c | 41 fl.l_type = F_UNLCK; in do_unlock()
|
/external/syzkaller/sys/linux/ |
D | fuse_386.const | 38 F_UNLCK = 2
|
D | fuse_arm64.const | 38 F_UNLCK = 2
|
D | fuse_arm.const | 38 F_UNLCK = 2
|
D | fuse_ppc64le.const | 38 F_UNLCK = 2
|
D | fuse_amd64.const | 38 F_UNLCK = 2
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 552 ret = tdb->methods->tdb_brlock(tdb, FREELIST_TOP+4*list, F_UNLCK, in tdb_unlock() 608 ret = tdb->methods->tdb_brlock(tdb, TRANSACTION_LOCK, F_UNLCK, F_SETLKW, 0, 1); in tdb_transaction_unlock() 683 tdb->methods->tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, in _tdb_unlockall() 813 return tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLK, 0, 1); in tdb_write_unlock_record() 827 return (count == 1 ? tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLKW, 0, 1) : 0); in tdb_unlock_record() 1682 tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, 0, 0); in tdb_transaction_start() 1718 tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, 0, 4*tdb->header.hash_size); in tdb_transaction_cancel() 1727 F_UNLCK,F_SETLKW, 0, 1); in tdb_transaction_cancel() 1737 tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, 0, 0); in tdb_transaction_cancel() 2045 tdb_brlock(tdb, GLOBAL_LOCK, F_UNLCK, F_SETLKW, 0, 1); in tdb_transaction_commit() [all …]
|