/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 | fcntl14.c | 633 if (flock.l_type != F_UNLCK) { in dochild() 637 flock.l_type, F_UNLCK); in dochild() 725 (void)fcntl(fd, F_UNLCK, &flock); in dochild() 869 flock.l_type = F_UNLCK; in run_test() 1123 flock.l_type = F_UNLCK; in main()
|
D | fcntl26.c | 157 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
|
D | fcntl25.c | 157 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
|
D | fcntl23.c | 151 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
|
D | fcntl24.c | 156 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
|
D | fcntl10.c | 174 flocks.l_type = F_UNLCK; in main()
|
D | fcntl09.c | 176 flocks.l_type = F_UNLCK; in main()
|
D | fcntl34.c | 85 lck.l_type = F_UNLCK; in thread_fn_01()
|
/external/strace/xlat/ |
D | lockfcmds.h | 17 #if defined(F_UNLCK) || (defined(HAVE_DECL_F_UNLCK) && HAVE_DECL_F_UNLCK) 18 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/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/ppp/pppd/plugins/radius/ |
D | lock.c | 41 fl.l_type = F_UNLCK; in do_unlock()
|
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 11-1.c | 43 if (fl.l_type == F_UNLCK) { in child()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 167 #define F_UNLCK 2 macro
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 554 ret = tdb->methods->tdb_brlock(tdb, FREELIST_TOP+4*list, F_UNLCK, in tdb_unlock() 610 ret = tdb->methods->tdb_brlock(tdb, TRANSACTION_LOCK, F_UNLCK, F_SETLKW, 0, 1); in tdb_transaction_unlock() 685 tdb->methods->tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, in _tdb_unlockall() 815 return tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLK, 0, 1); in tdb_write_unlock_record() 829 return (count == 1 ? tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLKW, 0, 1) : 0); in tdb_unlock_record() 1684 tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, 0, 0); in tdb_transaction_start() 1720 tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, 0, 4*tdb->header.hash_size); in tdb_transaction_cancel() 1729 F_UNLCK,F_SETLKW, 0, 1); in tdb_transaction_cancel() 1739 tdb_brlock(tdb, FREELIST_TOP, F_UNLCK, F_SETLKW, 0, 0); in tdb_transaction_cancel() 2047 tdb_brlock(tdb, GLOBAL_LOCK, F_UNLCK, F_SETLKW, 0, 1); in tdb_transaction_commit() [all …]
|
/external/toybox/toys/pending/ |
D | userdel.c | 48 lock.l_type = F_UNLCK; //unlocking at a later stage in update_groupfiles()
|