Home
last modified time | relevance | path

Searched refs:F_LOCK (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/netbsd-tests/kernel/
H A Dt_lockf.c236 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 Dlockf3.sh114 if (lockf(fd, F_LOCK, 0) == -1)
130 if (lockf(fd, F_LOCK, 0) == -1)
H A Dfts2.sh91 if (lockf(fd, F_LOCK, 0) == -1)
105 if (lockf(fd, F_LOCK, 0) == -1)
H A Dlockf4.sh88 while (lockf(fd, F_LOCK, sizeof(v)) == -1) {
H A Dnfs15.sh129 r = lockf(fd, F_LOCK, 0);
H A Dnfs16.sh112 r = lockf(fd, F_LOCK, 0);
H A Dnfs15lockd3.sh162 r = lockf(fd, F_LOCK, 0);
H A Dnfs15lockd.sh156 r = lockf(fd, F_LOCK, 0);
H A Dcluster.sh105 while (lockf(fd, F_LOCK, ln) == -1) {
/freebsd/tools/test/stress2/testcases/lockf/
H A Dlockf.c53 r = lockf(fd, F_LOCK, 0); in get()
78 r = lockf(fd, F_LOCK, 0); in incr()
/freebsd/lib/libc/sys/
H A Dlockf.c55 case F_LOCK: in lockf()
/freebsd/tools/test/stress2/testcases/lockf2/
H A Dlockf2.c118 r = lockf(fd, F_LOCK, size); in test()
/freebsd/include/
H A Dunistd.h85 #define F_LOCK 1 /* lock a section for exclusive use */ macro
/freebsd/contrib/sendmail/mail.local/
H A Dmail.local.c111 # define LOCK_EX F_LOCK
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp152 # define F_LOCK 1 /* Lock a region for exclusive use. */ macro