/freebsd-12-stable/usr.sbin/cron/lib/ |
H A D | compat.c | 131 /* The following flock() emulation snarfed intact *) from the HP-UX 140 * flock (fd, operation) 142 * This routine performs some file locking like the BSD 'flock' 171 flock(fd, operation) function
|
/freebsd-12-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vnops.c | 755 struct flock l; 797 int a = ((const struct flock *)p)->l_start; 798 int b = ((const struct flock *)q)->l_start; 813 struct flock *lock, struct flock *end) 816 const struct flock l = { start, len, 0, F_RDLCK, SEEK_SET }; 857 struct flock expect[4]; 858 const struct flock lock[4] = { 866 struct flock result[5];
|
/freebsd-12-stable/sys/kern/ |
H A D | capabilities.conf | 189 ## Allow flock(2), subject to capability rights. 191 flock
|
H A D | kern_lockf.c | 108 static int lf_hash_owner(caddr_t, struct vnode *, struct flock *, int); 109 static int lf_owner_matches(struct lock_owner *, caddr_t, struct flock *, 131 static int lf_getlock(struct lockf *, struct lockf_entry *, struct flock *); 180 * POSIX fcntl locks, local file for BSD flock locks or <pid,sysid> 304 lf_hash_owner(caddr_t id, struct vnode *vp, struct flock *fl, int flags) 325 lf_owner_matches(struct lock_owner *lo, caddr_t id, struct flock *fl, 421 struct flock *fl = ap->a_fl; 441 * Convert the flock structure into a start and end. 1415 * For flock type locks, we must first remove 1578 lf_getlock(struct lockf *state, struct lockf_entry *lock, struct flock *f [all...] |
/freebsd-12-stable/sbin/dump/ |
H A D | itime.c | 100 (void) flock(fileno(df), LOCK_SH); 178 (void) flock(fd, LOCK_EX);
|
/freebsd-12-stable/contrib/tcpdump/lbl/ |
H A D | os-sunos4.h | 73 int flock(int, int);
|
/freebsd-12-stable/contrib/libpcap/lbl/ |
H A D | os-sunos4.h | 72 int flock(int, int);
|
/freebsd-12-stable/release/picobsd/tinyware/passwd/ |
H A D | pw_util.c | 124 * Open should allow flock'ing the file; see 4.4BSD. XXX 132 if (flock(lockfd, LOCK_EX|LOCK_NB))
|
/freebsd-12-stable/usr.bin/lockf/ |
H A D | lockf.c | 192 flock(lockfd, LOCK_UN);
|
/freebsd-12-stable/usr.bin/svn/lib/libapr/ |
H A D | Makefile | 36 flock.c \
|
/freebsd-12-stable/contrib/ntp/ |
H A D | Makefile.am | 48 flock-build \
|
/freebsd-12-stable/contrib/sendmail/libsmdb/ |
H A D | smdb.c | 66 ** SMDB_LOCKFILE -- lock a file using flock or (shudder) fcntl locking 88 struct flock lfd; 136 while ((i = flock(fd, type)) < 0 && errno == EINTR) 148 syslog(LOG_ERR, "cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
|
/freebsd-12-stable/crypto/openssh/openbsd-compat/ |
H A D | Makefile.in | 70 bsd-flock.o \
|
/freebsd-12-stable/contrib/apr/ |
H A D | apr.mak | 78 -@erase "$(INTDIR)\flock.obj"
151 "$(INTDIR)\flock.obj" \
264 -@erase "$(INTDIR)\flock.obj"
337 "$(INTDIR)\flock.obj" \
450 -@erase "$(INTDIR)\flock.obj"
523 "$(INTDIR)\flock.obj" \
636 -@erase "$(INTDIR)\flock.obj"
710 "$(INTDIR)\flock.obj" \
905 SOURCE=.\file_io\win32\flock.c
907 "$(INTDIR)\flock [all...] |
/freebsd-12-stable/crypto/heimdal/lib/hdb/ |
H A D | hdb.c | 146 code = flock(fd, (operation == HDB_RLOCK ? LOCK_SH : LOCK_EX) | LOCK_NB); 162 code = flock(fd, LOCK_UN);
|
/freebsd-12-stable/sys/fs/nfs/ |
H A D | nfs_var.h | 491 int nfsrpc_advlock(vnode_t, off_t, int, struct flock *, int, 494 struct nfsclclient *, u_int64_t, u_int64_t, struct flock *, 560 int nfscl_checkwritelocked(vnode_t, struct flock *, 586 u_int64_t, struct flock *, NFSPROC_T *, void *, int);
|
/freebsd-12-stable/sys/sys/ |
H A D | syscall.mk | 97 flock.o \
|
/freebsd-12-stable/libexec/atrun/ |
H A D | atrun.c | 529 if (flock(dirfd(spool), LOCK_EX) == -1) 574 if (flock(dirfd(spool), LOCK_UN) == -1)
|
/freebsd-12-stable/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 85 struct flock fl;
|
/freebsd-12-stable/contrib/dma/ |
H A D | util.c | 297 if (flock(fd, LOCK_EX|((flags & O_NONBLOCK)? LOCK_NB: 0)) < 0) {
|
/freebsd-12-stable/bin/cat/ |
H A D | cat.c | 103 struct flock stdout_lock;
|
/freebsd-12-stable/crypto/heimdal/lib/kadm5/ |
H A D | log.c | 107 if (flock (fd, LOCK_EX) < 0) { 109 krb5_set_error_message(context->context, ret, "kadm5_log_init: flock %s", 130 flock (log_context->log_fd, LOCK_UN); 137 if (flock (fd, LOCK_EX) < 0) { 154 flock (fd, LOCK_UN);
|
/freebsd-12-stable/crypto/heimdal/lib/krb5/ |
H A D | fcache.c | 77 struct flock l; 85 ret = flock(fd, exclusive ? LOCK_EX : LOCK_SH); 120 struct flock l; 127 ret = flock(fd, LOCK_UN);
|
/freebsd-12-stable/lib/libc/include/ |
H A D | un-namespace.h | 49 #undef flock macro
|
/freebsd-12-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | fs.h | 170 int (*flock)(struct file *, int, struct file_lock *);
|