Home
last modified time | relevance | path

Searched refs:F_UNLCK (Results 1 – 25 of 46) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl20.c204 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 …]
Dfcntl19.c205 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 …]
Dfcntl11.c181 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 …]
Dfcntl21.c212 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 …]
Dfcntl06.c104 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()
Dfcntl14.c633 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()
Dfcntl26.c157 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
Dfcntl25.c157 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
Dfcntl23.c151 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
Dfcntl24.c156 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
Dfcntl10.c174 flocks.l_type = F_UNLCK; in main()
Dfcntl09.c176 flocks.l_type = F_UNLCK; in main()
Dfcntl34.c85 lck.l_type = F_UNLCK; in thread_fn_01()
/external/strace/xlat/
Dlockfcmds.h17 #if defined(F_UNLCK) || (defined(HAVE_DECL_F_UNLCK) && HAVE_DECL_F_UNLCK)
18 XLAT(F_UNLCK),
Dlockfcmds.in3 F_UNLCK
/external/ltp/testcases/network/nfs/nfslock01/
Dnfs_flock.h15 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLK)
21 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLKW)
Dnfs_flock_func.c32 if (lock.l_type == F_UNLCK) in lock_test()
/external/ltp/testcases/kernel/fs/doio/
Dfile_lock.c78 flocks.l_type = F_UNLCK; in file_lock()
150 flocks.l_type = F_UNLCK; in record_lock()
/external/python/cpython2/Modules/
Dfcntlmodule.c276 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/
Dlock.c41 fl.l_type = F_UNLCK; in do_unlock()
/external/python/cpython2/Lib/
Dposixfile.py158 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/
D11-1.c43 if (fl.l_type == F_UNLCK) { in child()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h167 #define F_UNLCK 2 macro
/external/e2fsprogs/lib/ext2fs/
Dtdb.c554 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/
Duserdel.c48 lock.l_type = F_UNLCK; //unlocking at a later stage in update_groupfiles()

12