Home
last modified time | relevance | path

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

1234

/external/ltp/testcases/kernel/syscalls/fcntl/
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 …]
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 …]
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()
Dfcntl36.c93 lck.l_type = F_UNLCK; in fn_ofd_w()
132 lck.l_type = F_UNLCK; in fn_posix_w()
197 lck.l_type = F_UNLCK; in fn_ofd_r()
257 lck.l_type = F_UNLCK; in fn_posix_r()
Dfcntl14.c634 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()
Dfcntl23.c151 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
Dfcntl24.c161 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
Dfcntl25.c162 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
Dfcntl26.c162 TEST(fcntl(fd, F_SETLEASE, F_UNLCK)); in main()
/external/strace/xlat/
Dlockfcmds.h23 #if defined(F_UNLCK) || (defined(HAVE_DECL_F_UNLCK) && HAVE_DECL_F_UNLCK)
24 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/python/cpython3/Modules/
Dfcntlmodule.c321 l.l_type = F_UNLCK; in fcntl_flock_impl()
402 l.l_type = F_UNLCK; in fcntl_lockf_impl()
546 #ifdef F_UNLCK in all_ins()
547 if (PyModule_AddIntMacro(m, F_UNLCK)) return -1; in all_ins()
/external/python/cpython2/Lib/
Dposixfile.py158 elif 'u' in how: l_type = fcntl.F_UNLCK
214 if l_type != fcntl.F_UNLCK:
/external/openssh/openbsd-compat/
Dbsd-flock.c61 fl.l_type = F_UNLCK; in flock()
/external/ppp/pppd/plugins/radius/
Dlock.c41 fl.l_type = F_UNLCK; in do_unlock()
/external/llvm-project/lldb/source/Host/posix/
DLockFilePosix.cpp61 return fileLock(m_fd, F_SETLK, F_UNLCK, m_start, m_len); in DoUnlock()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D11-1.c43 if (fl.l_type == F_UNLCK) { in child()
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/
Dmod.rs171 pub const F_UNLCK: ::c_int = 3; constant
217 pub const F_UNLCK: ::c_int = 2; constant
/external/e2fsprogs/lib/ext2fs/
Dtdb.c552 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 …]

1234