Home
last modified time | relevance | path

Searched refs:flock (Results 1 – 21 of 21) sorted by relevance

/xnu-8020.121.3/bsd/sys/
H A Dfcntl.h464 struct flock { struct
480 struct flock fl; /* flock passed for file locking */ argument
814 int flock(int, int);
H A Dvnode_if.h1192 struct flock *a_fl;
1218 extern errno_t VNOP_ADVLOCK(vnode_t, caddr_t, int, struct flock *, int, vfs_context_t, struct times…
/xnu-8020.121.3/tests/
H A Dlockf_EOF_77264182.c39 struct flock fl = {
H A Dkqueue_file_tests.c443 if ((res = flock(tmpfd, LOCK_EX)) == -1) { in execute_action()
448 if ((res = flock(tmpfd, LOCK_UN)) == -1) { in execute_action()
/xnu-8020.121.3/bsd/nfs/
H A Dnfs_lock.h81 struct flock lm_fl; /* The lock request. */
H A Dnfsmount.h238 …int (*nf_getlock_rpc)(nfsnode_t, struct nfs_lock_owner *, struct flock *, uint64_t, uint64_t, …
H A Dnfs.h1424 int nfs_advlock_getlock(nfsnode_t, struct nfs_lock_owner *, struct flock *, uint64_t, uint64_t,…
1510 int nfs4_getlock_rpc(nfsnode_t, struct nfs_lock_owner *, struct flock *, uint64_t, uint64_t, vf…
1534 int nfs3_getlock_rpc(nfsnode_t, struct nfs_lock_owner *, struct flock *, uint64_t, uint64_t, vf…
H A Dnfs_lock.c866 struct flock *fl, in nfs3_getlock_rpc()
H A Dnfs_syscalls.c683 struct flock lf; in fhopen()
H A Dnfs4_vnops.c3857 struct flock *fl, in nfs4_getlock_rpc()
3948 struct flock *fl, in nfs_advlock_getlock()
4779 struct flock *fl = ap->a_fl; in nfs_vnop_advlock()
/xnu-8020.121.3/bsd/miscfs/specfs/
H A Dspecdev.h128 struct flock;
/xnu-8020.121.3/bsd/man/man2/
H A DMakefile61 flock.2 \
/xnu-8020.121.3/security/
H A Dmac_file.c145 struct flock *fl) in mac_file_check_lock()
H A Dmac_framework.h90 struct flock;
197 struct flock *fl) __result_use_check;
H A Dmac_policy.h901 struct flock *fl
/xnu-8020.121.3/bsd/kern/
H A Dkern_lockf.c161 static int lf_getlock(struct lockf *, struct flock *, pid_t);
205 struct flock *fl = ap->a_fl; in lf_advlock()
1087 lf_getlock(struct lockf *lock, struct flock *fl, pid_t matchpid) in lf_getlock()
H A Dkern_descrip.c254 struct flock lf = { in fg_drop()
2325 check_file_seek_range(struct flock *fl, off_t cur_file_offset) in check_file_seek_range()
2763 struct flock fl = {}; in sys_fcntl_nocancel()
5368 struct flock lf; in sys_flock()
/xnu-8020.121.3/bsd/vfs/
H A Dvfs_xattr.c3420 struct flock lf; in lock_xattrfile()
3435 struct flock lf; in unlock_xattrfile()
H A Dvfs_vnops.c1764 struct flock lf = { in vn_closefile()
H A Dkpi_vfs.c5475 struct flock *a_fl;
5481 VNOP_ADVLOCK(struct vnode *vp, caddr_t id, int op, struct flock *fl, int flags, vfs_context_t ctx, … in VNOP_ADVLOCK()
H A Dvfs_syscalls.c4231 struct flock lf = { in open1()
4365 struct flock lf = { in open1()