/freebsd/tests/sys/file/ |
H A D | flock_helper.c | 152 fl1.l_type = F_WRLCK; in test1() 196 fl.l_type = F_WRLCK; in test2() 267 fl.l_type = F_WRLCK; in test3() 336 fl.l_type = F_WRLCK; in test4() 374 FAIL(fl.l_type != F_WRLCK); in test4() 422 fl.l_type = F_WRLCK; in test5() 508 fl.l_type = F_WRLCK; in test6() 611 fl.l_type = F_WRLCK; in test7() 794 fl.l_type = F_WRLCK; in test9() 831 fl.l_type = F_WRLCK; in test10() [all …]
|
/freebsd/lib/libc/sys/ |
H A D | lockf.c | 57 fl.l_type = F_WRLCK; in lockf() 61 fl.l_type = F_WRLCK; in lockf() 64 fl.l_type = F_WRLCK; in lockf()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | kern.c | 187 case F_WRLCK: in client_request() 263 msg->lm_fl.l_type == F_WRLCK ? "write" : "read", in test_request() 271 arg4.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0; in test_request() 295 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0; in test_request() 334 msg->lm_fl.l_type == F_WRLCK ? "write" : "read", in lock_request() 341 arg4.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0; in lock_request() 366 arg.exclusive = msg->lm_fl.l_type == F_WRLCK ? 1 : 0; in lock_request()
|
/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() 45 return fileLock(m_fd, F_SETLK, F_WRLCK, start, len); in DoTryWriteLock()
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_file.c | 40 lock.l_type = F_WRLCK; in zed_file_lock() 93 lock.l_type = F_WRLCK; in zed_file_is_locked()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | locks.cc | 182 expect_setlk(ino, F_WRLCK, 0); in TEST_F() 201 expect_setlk(ino, F_WRLCK, EAGAIN); in TEST_F() 334 out.body.getlk.lk.type = F_WRLCK; in TEST_F() 350 EXPECT_EQ(F_WRLCK, fl.l_type); in TEST_F() 391 out.body.getlk.lk.type = F_WRLCK; in TEST_F() 411 EXPECT_EQ(F_WRLCK, fl.l_type); in TEST_F() 456 out.body.getlk.lk.type = F_WRLCK; in TEST_F() 476 EXPECT_EQ(F_WRLCK, fl.l_type); in TEST_F()
|
/freebsd/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vnops.c | 761 l.l_type = F_RDLCK | F_WRLCK; in fcntl_lock() 783 l.l_type = F_RDLCK | F_WRLCK; in fcntl_lock() 859 { 0, 2, 0, F_WRLCK, SEEK_SET }, in fcntl_getlock_pids() 860 { 2, 1, 0, F_WRLCK, SEEK_SET }, in fcntl_getlock_pids() 861 { 7, 5, 0, F_WRLCK, SEEK_SET }, in fcntl_getlock_pids() 862 { 4, 3, 0, F_WRLCK, SEEK_SET }, in fcntl_getlock_pids()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-flock.c | 53 fl.l_type = F_WRLCK; in flock()
|
/freebsd/contrib/sendmail/libsmutil/ |
H A D | lockfile.c | 51 lfd.l_type = F_WRLCK;
|
H A D | t-lockfile.c | 219 if (F_WRLCK == lfd.l_type)
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | flock.c | 69 arg.l_type = F_WRLCK; in rk_flock()
|
/freebsd/sys/nlm/ |
H A D | nlm_advlock.c | 294 && fl->l_type == F_WRLCK) { in nlm_advlock_internal() 314 fl->l_type = F_WRLCK; in nlm_advlock_internal() 777 exclusive = (fl->l_type == F_WRLCK); in nlm_setlock() 1050 exclusive = (fl->l_type == F_WRLCK); in nlm_getlock() 1100 fl->l_type = F_WRLCK; in nlm_getlock()
|
H A D | nlm_prot_impl.c | 1902 fl.l_type = F_WRLCK; in nlm_do_test() 1916 (fl.l_type == F_WRLCK); in nlm_do_test() 2009 fl.l_type = F_WRLCK; in nlm_do_lock() 2188 fl.l_type = F_WRLCK; in nlm_do_cancel()
|
/freebsd/sys/kern/ |
H A D | kern_lockf.c | 850 && (x->lf_type == F_WRLCK || y->lf_type == F_WRLCK) in lf_blocks() 1380 if (lock->lf_type == F_WRLCK) in lf_setlock() 1404 lock->lf_type == F_WRLCK) { in lf_setlock() 1407 lock->lf_type = F_WRLCK; in lf_setlock() 2622 lock->lf_type == F_WRLCK ? "exclusive" : in lf_print() 2648 lf->lf_type == F_WRLCK ? "exclusive" : in lf_printlist() 2657 blk->lf_type == F_WRLCK ? "exclusive" : in lf_printlist()
|
/freebsd/sys/sys/ |
H A D | fcntl.h | 285 #define F_WRLCK 3 /* exclusive or write lock */ macro
|
/freebsd/tools/test/stress2/misc/ |
H A D | exlock2.sh | 129 fl.l_type = F_WRLCK;
|
H A D | fcntl.sh | 92 fl.l_type = F_WRLCK;
|
H A D | nullfs22.sh | 112 fl.l_type = F_WRLCK;
|
/freebsd/contrib/capsicum-test/ |
H A D | fcntl.cc | 226 fl.l_type = F_WRLCK; in TEST() 236 fl.l_type = F_WRLCK; in TEST()
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 94 fl.l_type = F_WRLCK; in trylocks()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingUtil.c | 144 s_flock.l_type = F_WRLCK; in lprofLockFd()
|
/freebsd/contrib/sendmail/libsmdb/ |
H A D | smdb.c | 94 lfd.l_type = F_WRLCK;
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1212 bsd_flock->l_type = F_WRLCK; in linux_to_bsd_flock() 1235 case F_WRLCK: in bsd_to_linux_flock() 1269 bsd_flock->l_type = F_WRLCK; in linux_to_bsd_flock64() 1292 case F_WRLCK: in bsd_to_linux_flock64()
|
/freebsd/bin/cat/ |
H A D | cat.c | 199 stdout_lock.l_type = F_WRLCK; in main()
|
/freebsd/contrib/sendmail/contrib/ |
H A D | mailprio | 276 eval 'sub F_WRLCK {3;}' unless defined &F_WRLCK; 289 X elsif ($lock & &LOCK_EX) { $type = &F_WRLCK; }
|