Home
last modified time | relevance | path

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

/xnu-12377.61.12/tests/
H A Dlockf_basic.c37 ofd_get(struct flock *fl, in ofd_get()
49 posix_get(struct flock *fl, in posix_get()
63 struct flock fl = { in posix_lock()
76 struct flock fl = { in ofd_lock()
89 struct flock fl = { in posix_unlock()
102 struct flock fl = { in ofd_unlock()
114 flequal(struct flock *fl, off_t start, off_t len, pid_t pid, int flags) in flequal()
149 lts->err = flock(lts->fd, op) ? errno : 0; in lock_thread()
205 struct flock _fl; \
666 struct flock fl = {.l_start = -10, .l_len = 10, .l_type = F_WRLCK, .l_whence = SEEK_END};
[all …]
H A Dlockf_EOF_77264182.c39 struct flock fl = {
H A Dfile_leases.c453 struct flock lreq;
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-12377.61.12/bsd/sys/
H A Dfcntl.h453 struct flock { struct
472 struct flock fl; /* flock passed for file locking */ argument
478 struct flock fl; /* flock passed for file locking */
751 int flock(int, int);
H A Dvnode_if.h1195 struct flock *a_fl;
1221 extern errno_t VNOP_ADVLOCK(vnode_t, caddr_t, int, struct flock *, int, vfs_context_t, struct times…
/xnu-12377.61.12/bsd/miscfs/specfs/
H A Dspecdev.h131 struct flock;
/xnu-12377.61.12/bsd/man/man2/
H A DMakefile63 flock.2 \
/xnu-12377.61.12/security/
H A Dmac_file.c145 struct flock *fl) in mac_file_check_lock()
H A Dmac_framework.h90 struct flock;
202 struct flock *fl) __result_use_check;
H A Dmac_policy.h937 struct flock *fl
/xnu-12377.61.12/bsd/kern/
H A Dkern_lockf.c162 static int lf_getlock(struct lockf *, struct flock *, pid_t);
206 struct flock *fl = ap->a_fl; in lf_advlock()
1152 lf_getlock(struct lockf *lock, struct flock *fl, pid_t matchpid) in lf_getlock()
H A Dkern_descrip.c272 struct flock lf = { in fg_drop()
356 struct flock lf = { in fg_transfer_filelocks()
373 struct flock lf = { in fg_transfer_filelocks()
2334 check_file_seek_range(struct flock *fl, off_t cur_file_offset) in check_file_seek_range()
2777 struct flock fl = {}; in sys_fcntl_nocancel()
5802 struct flock lf; in sys_flock()
/xnu-12377.61.12/bsd/vfs/
H A Dvfs_xattr.c2283 struct flock lf = { in open_xattrfile()
2382 struct flock lf = { in close_xattrfile()
H A Dvfs_vnops.c1871 struct flock lf = { in vn_closefile()
H A Dkpi_vfs.c5744 struct flock *a_fl;
5750 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.c4992 struct flock lf = { in open1()
5177 struct flock lf = { in open1()
/xnu-12377.61.12/bsd/nfs/
H A Dnfs_syscalls.c433 struct flock lf; in fhopen()