| /src/usr.bin/flock/ | 
| Makefile | 4 PROG=	flock 
 | 
| /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 in typeref:typename:int
 47 	struct flock fl = {0};
 
 | 
| /src/sys/fs/nfs/common/ | 
| nfs_lock.h | 70 	struct flock		lm_fl;             /* The lock request. */ 
 | 
| /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
 
 | 
| v28.h | 82 	int	(*lock)			(const char *, struct fuse_file_info *, int, struct flock *); 
 | 
| v26.h | 82 	int	(*lock)			(const char *, struct fuse_file_info *, int, struct flock *); 
 | 
| /src/lib/libc/gen/ | 
| lockf.c | 50 	struct flock fl; 
 | 
| /src/sys/arch/atari/stand/xxboot/ | 
| xxboot.h | 44 #define	flock		0x043e  macro 
 | 
| /src/sys/external/bsd/compiler_rt/dist/lib/profile/ | 
| WindowsMMap.h | 47  * flock() operations 61 int flock(int fd, int operation);
 
 | 
| WindowsMMap.c | 120 int flock(int fd, int operation)  function in typeref:typename:COMPILER_RT_VISIBILITY int 
 | 
| /src/usr.bin/tip/ | 
| hunt.c | 84 			if (flock(FD, (LOCK_EX|LOCK_NB)) != 0) { 
 | 
| /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/compat/linux32/common/ | 
| linux32_fcntl.c | 82 conv_linux_flock(linux32, flock) 134 		    linux32, flock);
 138 		    linux32, flock, LINUX_F_SETLK);
 
 | 
| /src/sys/rump/include/rump/ | 
| rumpvnode_if.h | 46 struct flock; 104 int RUMP_VOP_ADVLOCK(struct vnode *, void *, int, struct flock *, int);
 
 | 
| /src/sys/sys/ | 
| filedesc.h | 256 struct flock; 257 int	do_fcntl_lock(int, int, struct flock *);
 
 | 
| file.h | 76 struct flock; 101 	int	(*fo_advlock)	(struct file *, void *, int, struct flock *,
 
 | 
| /src/games/rogue/ | 
| machdep.c | 430  * file.  It does so by flock'ing the score file.  The full path name of the 453 			if (!flock(fd, LOCK_EX|LOCK_NB))
 456 		(void)flock(fd, LOCK_UN|LOCK_NB);
 
 | 
| /src/sys/ufs/lfs/ | 
| ulfs_extern.h | 45 struct flock; 
 | 
| /src/sys/miscfs/specfs/ | 
| specdev.h | 110 struct	flock; 
 | 
| /src/sys/fs/nfs/nlm/ | 
| nlm_advlock.c | 80     struct vnode *vp, int op, struct flock *fl, int flags, 84     struct vnode *vp, int op, struct flock *fl, int flags,
 88     struct vnode *vp, int op, struct flock *fl, int flags,
 93 static int nlm_init_lock(struct flock *fl, int flags, int svid,
 197 nlm_advlock_internal(struct vnode *vp, void *id, int op, struct flock *fl,
 298 			 * The semantics for flock(2) require that any
 404 nlm_set_creds_for_lock(struct thread *td, struct flock *fl)
 453 nlm_reclaim_free_lock(struct vnode *vp, struct flock *fl, void *arg)
 455 	struct flock newfl;
 490 nlm_client_recover_lock(struct vnode *vp, struct flock *fl, void *arg
 [all...]
 | 
| /src/tests/fs/vfs/ | 
| t_vnops.c | 794 	struct flock l; 836 	int a = ((const struct flock *)p)->l_start;
 837 	int b = ((const struct flock *)q)->l_start;
 852     struct flock *lock, struct flock *end)
 855 	const struct flock l = { start, len, 0, F_RDLCK, SEEK_SET };
 896 	struct flock expect[4];
 897 	const struct flock lock[4] = {
 905 	struct flock result[5];
 
 |