| /src/usr.bin/flock/ |
| Makefile | 4 PROG= flock
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/bionic/ |
| unistd.d | 5 int flock(int, int) @trusted;
|
| /src/tools/compat/ |
| flock.c | 1 /* $NetBSD: flock.c,v 1.6 2008/04/28 20:24:12 martin Exp $ */ 33 * Emulate flock() with fcntl(), where available. 43 int flock(int fd, int op) { function 47 struct flock fl = {0};
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/linux/sys/ |
| file.d | 15 /* Operations for the `flock' call. */ 34 int flock(int fd, int operation) @trusted;
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| lockf.c | 24 * - flock 61 # define LOCK_API "flock" 89 struct flock file_lock; 102 struct flock file_lock; 117 return flock( fd, LOCK_EX ); 121 return flock( fd, LOCK_UN );
|
| /src/crypto/external/apache2/openssl/dist/demos/http3/ |
| gen_nghttp3.pl | 6 use Fcntl ':flock'; 14 flock($fh, LOCK_EX) or die "Could not lock build.info - $!";
|
| /src/sys/fs/nfs/common/ |
| nfs_lock.h | 70 struct flock lm_fl; /* The lock request. */
|
| /src/external/bsd/libbind/dist/bsd/ |
| ftruncate.c | 52 struct flock fl;
|
| /src/external/ibm-public/postfix/dist/examples/smtpd-policy/ |
| greylist.pl | 191 flock DATABASE_HANDLE, LOCK_SH || 196 flock DATABASE_HANDLE, LOCK_UN || 211 flock DATABASE_HANDLE, LOCK_EX || 217 flock DATABASE_HANDLE, LOCK_UN ||
|
| /src/lib/librefuse/refuse/ |
| v29.h | 82 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 93 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v29
|
| v34.h | 78 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 85 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v34
|
| v35.h | 78 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 86 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v35
|
| v30.h | 90 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 98 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v30
|
| v38.h | 78 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 85 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v38
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| myflock.c | 28 /* Use BSD-style flock() locking. 102 * flock() does exactly what we need. Too bad it is not standard. 112 while ((status = flock(fd, lock_ops[operation])) < 0 126 struct flock lock;
|
| /src/lib/libc/gen/ |
| lockf.c | 50 struct flock fl;
|
| /src/sys/arch/atari/stand/xxboot/ |
| xxboot.h | 41 #define flock 0x043e macro
|
| /src/sys/compat/linux/common/ |
| linux_fcntl.h | 41 * The arguments in the flock structure have a different order from the 142 * The next two functions take care of converting the flock 148 #define conv_linux_flock(LINUX, FLOCK) \ 150 bsd_to_##LINUX##_##FLOCK(struct LINUX##_##FLOCK *lfp, const struct flock *bfp) \ 154 LINUX##_to_bsd_##FLOCK(struct flock *bfp, const struct LINUX##_##FLOCK *lfp) \ 182 #define do_linux_getlk(fd, cmd, arg, LINUX, FLOCK) do { [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
| WindowsMMap.h | 47 * flock() operations 61 int flock(int fd, int operation);
|
| /src/usr.bin/tip/ |
| hunt.c | 84 if (flock(FD, (LOCK_EX|LOCK_NB)) != 0) {
|
| /src/external/bsd/am-utils/dist/conf/checkmount/ |
| checkmount_default.c | 74 if (flock(fileno(mtab), LOCK_SH) < 0) {
|
| /src/external/cddl/osnet/lib/libzfs/ |
| fsshare.c | 174 error = flock(fd, LOCK_EX); 194 error = flock(fileno(oldfd), LOCK_EX); 231 flock(fileno(oldfd), LOCK_UN); 235 flock(fileno(newfd), LOCK_UN);
|
| /src/external/gpl2/xcvs/dist/lib/ |
| ftruncate.c | 35 struct flock fl;
|
| /src/external/bsd/am-utils/dist/conf/mtab/ |
| mtab_linux.c | 134 * The old code here used flock on a lock file /etc/mtab~ and deleted 139 * flock to that, and also proceeds, so that the second and third mount 143 * to delete the lock afterwards. Now the use of flock() is in principle 200 struct flock flock; local 230 flock.l_type = F_WRLCK; 231 flock.l_whence = SEEK_SET; 232 flock.l_start = 0; 233 flock.l_len = 0; 237 if (fcntl(lockfile_fd, F_SETLK, &flock) == -1) [all...] |
| /src/external/bsd/ntp/dist/ |
| flock-build | 63 echo flock-build running on $i? check LIST, skipping 112 echo \`date -u '+%H:%M:%S'\` $i flock-build $c_d done. 121 echo `date -u '+%H:%M:%S'` flock-build launched
|