Searched refs:F_LOCK (Results 1 – 15 of 15) sorted by relevance
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 236 error = dolock(fd, F_LOCK, 0, 1); in ATF_TC_BODY() 242 error = dolock(fd, F_LOCK, 1, 1); in ATF_TC_BODY() 245 dolock(fd, F_LOCK, 0, 1); /* will block */ in ATF_TC_BODY() 250 error = dolock(fd, F_LOCK, 1, 1); in ATF_TC_BODY()
|
/freebsd/tools/test/stress2/misc/ |
H A D | lockf3.sh | 114 if (lockf(fd, F_LOCK, 0) == -1) 130 if (lockf(fd, F_LOCK, 0) == -1)
|
H A D | fts2.sh | 91 if (lockf(fd, F_LOCK, 0) == -1) 105 if (lockf(fd, F_LOCK, 0) == -1)
|
H A D | lockf4.sh | 88 while (lockf(fd, F_LOCK, sizeof(v)) == -1) {
|
H A D | nfs15.sh | 129 r = lockf(fd, F_LOCK, 0);
|
H A D | nfs16.sh | 112 r = lockf(fd, F_LOCK, 0);
|
H A D | nfs15lockd3.sh | 162 r = lockf(fd, F_LOCK, 0);
|
H A D | nfs15lockd.sh | 156 r = lockf(fd, F_LOCK, 0);
|
H A D | cluster.sh | 105 while (lockf(fd, F_LOCK, ln) == -1) {
|
/freebsd/tools/test/stress2/testcases/lockf/ |
H A D | lockf.c | 53 r = lockf(fd, F_LOCK, 0); in get() 78 r = lockf(fd, F_LOCK, 0); in incr()
|
/freebsd/lib/libc/sys/ |
H A D | lockf.c | 55 case F_LOCK: in lockf()
|
/freebsd/tools/test/stress2/testcases/lockf2/ |
H A D | lockf2.c | 118 r = lockf(fd, F_LOCK, size); in test()
|
/freebsd/include/ |
H A D | unistd.h | 85 #define F_LOCK 1 /* lock a section for exclusive use */ macro
|
/freebsd/contrib/sendmail/mail.local/ |
H A D | mail.local.c | 111 # define LOCK_EX F_LOCK
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interceptors_posix.cpp | 152 # define F_LOCK 1 /* Lock a region for exclusive use. */ macro
|