Searched refs:F_LOCK (Results 1 - 15 of 15) sorted by relevance
/freebsd-current/lib/libc/sys/ |
H A D | lockf.c | 55 case F_LOCK:
|
/freebsd-current/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 236 error = dolock(fd, F_LOCK, 0, 1); 242 error = dolock(fd, F_LOCK, 1, 1); 245 dolock(fd, F_LOCK, 0, 1); /* will block */ 250 error = dolock(fd, F_LOCK, 1, 1);
|
/freebsd-current/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) 92 err(1, "lockf(%s, F_LOCK)", file); 105 if (lockf(fd, F_LOCK, 0) == -1) 106 err(1, "lockf(%s, F_LOCK)", file);
|
H A D | nfs15.sh | 129 r = lockf(fd, F_LOCK, 0); 132 err(1, "lockf(%s, F_LOCK)", file);
|
H A D | nfs16.sh | 112 r = lockf(fd, F_LOCK, 0); 115 err(1, "lockf(%s, F_LOCK)", file);
|
H A D | lockf4.sh | 88 while (lockf(fd, F_LOCK, sizeof(v)) == -1) { 90 err(1, "lockf(%s, F_LOCK)", file);
|
H A D | cluster.sh | 105 while (lockf(fd, F_LOCK, ln) == -1) { 107 err(1, "lockf(%s, F_LOCK)", file);
|
H A D | nfs15lockd.sh | 156 r = lockf(fd, F_LOCK, 0); 159 err(1, "lockf(%s, F_LOCK)", file);
|
H A D | nfs15lockd3.sh | 162 r = lockf(fd, F_LOCK, 0); 165 err(1, "lockf(%s, F_LOCK)", file);
|
/freebsd-current/tools/test/stress2/testcases/lockf/ |
H A D | lockf.c | 53 r = lockf(fd, F_LOCK, 0); 56 err(1, "lockf(%s, F_LOCK)", file); 78 r = lockf(fd, F_LOCK, 0); 81 err(1, "lockf(%s, F_LOCK)", file);
|
/freebsd-current/tools/test/stress2/testcases/lockf2/ |
H A D | lockf2.c | 118 r = lockf(fd, F_LOCK, size); 121 err(1, "lockf(%s, F_LOCK)", file);
|
/freebsd-current/include/ |
H A D | unistd.h | 85 #define F_LOCK 1 /* lock a section for exclusive use */ macro
|
/freebsd-current/contrib/sendmail/mail.local/ |
H A D | mail.local.c | 111 # define LOCK_EX F_LOCK
|
/freebsd-current/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
|
Completed in 208 milliseconds