Searched refs:flock (Results 1 – 18 of 18) sorted by relevance
| /xnu-10063.141.1/tests/ |
| H A D | lockf_basic.c | 37 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 D | lockf_EOF_77264182.c | 39 struct flock fl = {
|
| H A D | file_leases.c | 452 struct flock lreq;
|
| H A D | kqueue_file_tests.c | 443 if ((res = flock(tmpfd, LOCK_EX)) == -1) { in execute_action() 448 if ((res = flock(tmpfd, LOCK_UN)) == -1) { in execute_action()
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | fcntl.h | 499 struct flock { struct 515 struct flock fl; /* flock passed for file locking */ argument 845 int flock(int, int);
|
| H A D | vnode_if.h | 1192 struct flock *a_fl; 1218 extern errno_t VNOP_ADVLOCK(vnode_t, caddr_t, int, struct flock *, int, vfs_context_t, struct times…
|
| /xnu-10063.141.1/bsd/miscfs/specfs/ |
| H A D | specdev.h | 130 struct flock;
|
| /xnu-10063.141.1/bsd/man/man2/ |
| H A D | Makefile | 61 flock.2 \
|
| /xnu-10063.141.1/security/ |
| H A D | mac_file.c | 145 struct flock *fl) in mac_file_check_lock()
|
| H A D | mac_framework.h | 90 struct flock; 202 struct flock *fl) __result_use_check;
|
| H A D | mac_policy.h | 929 struct flock *fl
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | kern_lockf.c | 162 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 D | kern_descrip.c | 248 struct flock lf = { in fg_drop() 332 struct flock lf = { in fg_transfer_filelocks() 349 struct flock lf = { in fg_transfer_filelocks() 2309 check_file_seek_range(struct flock *fl, off_t cur_file_offset) in check_file_seek_range() 2752 struct flock fl = {}; in sys_fcntl_nocancel() 5730 struct flock lf; in sys_flock()
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | vfs_xattr.c | 3421 struct flock lf; in lock_xattrfile() 3436 struct flock lf; in unlock_xattrfile()
|
| H A D | vfs_vnops.c | 1813 struct flock lf = { in vn_closefile()
|
| H A D | kpi_vfs.c | 5626 struct flock *a_fl; 5632 VNOP_ADVLOCK(struct vnode *vp, caddr_t id, int op, struct flock *fl, int flags, vfs_context_t ctx, … in VNOP_ADVLOCK()
|
| H A D | vfs_syscalls.c | 4687 struct flock lf = { in open1() 4868 struct flock lf = { in open1()
|
| /xnu-10063.141.1/bsd/nfs/ |
| H A D | nfs_syscalls.c | 431 struct flock lf; in fhopen()
|