Searched refs:flock (Results 1 - 20 of 20) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_lock.h81 struct flock lm_fl; /* The lock request. */
H A Dnfs_lock.c551 struct flock *a_fl;
564 struct flock *fl;
632 /* Convert the flock structure into a start and end. */
H A Dnfs_syscalls.c483 struct flock lf;
/macosx-10.5.8/xnu-1228.15.4/bsd/man/man2/
H A DMakefile51 flock.2 \
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/specfs/
H A Dspecdev.h120 struct flock;
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/
H A Dufs_extern.h72 struct flock;
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfcntl.h258 #define F_FLOCK 0x020 /* Use flock(2) semantics for lock */
339 struct flock { struct
380 /* lock operations for flock(2) */
507 int flock(int, int);
H A Dvnode_if.h636 struct flock *a_fl;
640 extern errno_t VNOP_ADVLOCK(vnode_t, caddr_t, int, struct flock *, int, vfs_context_t);
H A Dsysproto.h1812 int flock(struct proc *, struct flock_args *, int *);
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_file.c188 struct flock *fl)
H A Dmac_framework.h87 struct flock;
187 struct flock *fl);
H A Dmac_policy.h805 @param fl The flock structure
819 struct flock *fl
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_lockf.c131 static int lf_getlock(struct lockf *, struct flock *);
173 struct flock *fl = ap->a_fl;
195 * Convert the flock structure into a start and end.
426 * We are blocked. Since flock style locks cover
498 * For flock type locks, we must first remove
804 * fl Pointer to flock structure to receive
819 lf_getlock(struct lockf *lock, struct flock *fl)
H A Dkern_descrip.c590 struct flock fl;
3918 struct flock lf;
4068 * flock
4091 flock(proc_t p, struct flock_args *uap, __unused register_t *retval) function
4097 struct flock lf;
H A Dinit_sysent.c211 {AC(flock_args), 0, 0, (sy_call_t *)flock, munge_ww, munge_dd, _SYSCALL_RET_INT_T, 8}, /* 131 = flock */
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_vnops.c1206 struct flock lf;
H A Dvfs_xattr.c3066 struct flock lf;
3081 struct flock lf;
H A Dkpi_vfs.c4501 struct flock *a_fl;
4507 VNOP_ADVLOCK(struct vnode *vp, caddr_t id, int op, struct flock *fl, int flags, vfs_context_t ctx)
H A Dvfs_syscalls.c2098 struct flock lf;
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dtests.c3695 /* test flock */
3702 my_err = flock( my_fd, LOCK_EX );
3704 printf( "flock - LOCK_EX - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3730 my_err = flock( my_child_fd, (LOCK_EX | LOCK_NB) );
3733 printf( "flock call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3739 printf( "flock call should have failed with EWOULDBLOCK err \n" );
3763 my_err = flock( my_fd, LOCK_UN );
3765 printf( "flock - LOCK_UN - failed with error %d - \"%s\" \n", errno, strerror( errno) );

Completed in 221 milliseconds