/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-flock.c | 48 #if defined(F_SETLK) && defined(F_SETLKW) in flock() 70 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl); in flock()
|
/freebsd/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | LockFilePosix.cpp | 41 return fileLock(m_fd, F_SETLKW, F_WRLCK, start, len); in DoWriteLock() 49 return fileLock(m_fd, F_SETLKW, F_RDLCK, start, len); in DoReadLock()
|
/freebsd/tests/sys/file/ |
H A D | flock_helper.c | 303 res = fcntl(fd, F_SETLKW, &fl); in test3() 440 if (fcntl(fd, F_SETLKW, &fl) < 0) in test5() 460 res = fcntl(fd, F_SETLKW, &fl); in test5() 543 if (fcntl(fd, F_SETLKW, &fl) < 0) in test6() 564 res = fcntl(fd, F_SETLKW, &fl); in test6() 1022 res = fcntl(fd, F_SETLKW, &fl); in test12() 1110 res = fcntl(fd, F_SETLKW, &fl); in test13() 1203 if (fcntl(fd, F_SETLKW, &fl) < 0) { in test14() 1424 error = fcntl(tc->tc_fd, F_SETLKW, &tc->tc_fl); in test16_func()
|
H A D | path_test.c | 835 ATF_REQUIRE_ERRNO(EBADF, fcntl(pathfd, F_SETLKW, &flk) == -1); in ATF_TC_BODY() 838 ATF_REQUIRE_ERRNO(EBADF, fcntl(pathfd, F_SETLKW, &flk) == -1); in ATF_TC_BODY()
|
/freebsd/contrib/sendmail/libsmutil/ |
H A D | lockfile.c | 57 action = F_SETLKW;
|
/freebsd/lib/libc/sys/ |
H A D | lockf.c | 56 cmd = F_SETLKW; in lockf()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingUtil.c | 146 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofLockFd() 171 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofUnlockFd()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | flock.c | 57 cmd = F_SETLKW; /* Blocking */ in rk_flock()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 256 #define F_SETLKW 13 /* F_SETLK; wait if blocked */ macro
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 102 (void)fcntl(fd, F_SETLKW, &fl); in trylocks()
|
/freebsd/usr.bin/at/ |
H A D | at.c | 260 fcntl(lockdes, F_SETLKW, &lock); in writefile() 309 fcntl(lockdes, F_SETLKW, &lock); in writefile()
|
/freebsd/tools/test/stress2/misc/ |
H A D | nullfs22.sh | 115 while (fcntl(fd, F_SETLKW, &fl) < 0) {
|
/freebsd/contrib/sendmail/libsmdb/ |
H A D | smdb.c | 101 action = F_SETLKW;
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | locks.cc | 698 ASSERT_NE(-1, fcntl(fd, F_SETLKW, &fl)) << strerror(errno); in TEST_F() 728 ASSERT_NE(-1, fcntl(fd, F_SETLKW, &fl)) << strerror(errno); in TEST_F()
|
/freebsd/bin/cat/ |
H A D | cat.c | 201 if (fcntl(STDOUT_FILENO, F_SETLKW, &stdout_lock) != 0) in main()
|
/freebsd/contrib/sendmail/contrib/ |
H A D | mailprio | 273 eval 'sub F_SETLKW {9;}' unless defined &F_SETLKW; # lockwait 293 X $ret = fcntl($FH, ($lock & &LOCK_NB) ? &F_SETLK : &F_SETLKW, $flock);
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | fcache.c | 83 ret = fcntl(fd, F_SETLKW, &l); in _krb5_xlock() 125 ret = fcntl(fd, F_SETLKW, &l); in _krb5_xunlock()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_syscalls.c | 197 if (cmd == F_OSETLKW || cmd == F_SETLKW) { in __thr_fcntl()
|
/freebsd/usr.bin/xinstall/ |
H A D | xinstall.c | 1415 if (fcntl(fileno(metafp), F_SETLKW, &metalog_lock) == -1) { in metadata_log() 1473 if (fcntl(fileno(metafp), F_SETLKW, &metalog_lock) == -1) in metadata_log()
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1402 return (kern_fcntl(td, args->fd, F_SETLKW, in fcntl_common() 1509 return (kern_fcntl(td, args->fd, F_SETLKW, in linux_fcntl64()
|
/freebsd/lib/libsysdecode/ |
H A D | flags.c | 904 case F_SETLKW: in sysdecode_fcntl_arg()
|
/freebsd/contrib/hyperv/tools/ |
H A D | hv_kvp_daemon.c | 167 if (fcntl(kvp_pools[pool].pool_fd, F_SETLKW, &fl) == -1) { in kvp_acquire_lock()
|
/freebsd/sys/kern/ |
H A D | kern_descrip.c | 446 newcmd = F_SETLKW; in kern_fcntl_freebsd() 453 case F_SETLKW: in kern_fcntl_freebsd() 620 case F_SETLKW: in kern_fcntl()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Path.inc | 1253 if (::fcntl(FD, F_SETLKW, &Lock) != -1)
|
/freebsd/contrib/sendmail/src/ |
H A D | conf.c | 3633 action = F_SETLKW;
|