Searched refs:F_WRLCK (Results 1 – 11 of 11) sorted by relevance
| /xnu-8020.121.3/tests/ |
| H A D | lockf_EOF_77264182.c | 43 .l_type = F_WRLCK, 52 fl.l_type = F_WRLCK;
|
| /xnu-8020.121.3/bsd/kern/ |
| H A D | kern_lockf.c | 535 if (lock->lf_type == F_WRLCK) { in lf_setlock() 703 lock->lf_type == F_WRLCK) { in lf_setlock() 709 lock->lf_type = F_WRLCK; in lf_setlock() 859 overlap->lf_type == F_WRLCK) { in lf_setlock() 903 overlap->lf_type == F_WRLCK) { in lf_setlock() 1162 if ((lock->lf_type == F_WRLCK || overlap->lf_type == F_WRLCK)) { in lf_getblock() 1478 lock->lf_type == F_WRLCK ? "exclusive" : in lf_print() 1484 lock->lf_type == F_WRLCK ? "exclusive" : in lf_print() 1532 lf->lf_type == F_WRLCK ? "exclusive" : in lf_printlist() 1548 blk->lf_type == F_WRLCK ? "exclusive" : in lf_printlist()
|
| H A D | kern_descrip.c | 3063 case F_WRLCK: in sys_fcntl_nocancel() 3081 (F_RDLCK == fl.l_type || F_WRLCK == fl.l_type)) { in sys_fcntl_nocancel() 3108 case F_WRLCK: in sys_fcntl_nocancel() 3165 case F_WRLCK: in sys_fcntl_nocancel() 5390 lf.l_type = F_WRLCK; in sys_flock()
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | fcntl.h | 416 #define F_WRLCK 3 /* exclusive or write lock */ macro
|
| /xnu-8020.121.3/bsd/nfs/ |
| H A D | nfs4_vnops.c | 3627 if ((nflp1->nfl_type != F_WRLCK) && (nflp2->nfl_type != F_WRLCK)) { in nfs_file_lock_conflict() 3666 ((nflp->nfl_type == F_WRLCK) ? in nfs4_setlock_rpc() 3669 ((nflp->nfl_type == F_WRLCK) ? in nfs4_setlock_rpc() 3815 nfsm_chain_add_32(error, &nmreq, (type == F_WRLCK) ? NFS_LOCK_TYPE_WRITE : NFS_LOCK_TYPE_READ); in nfs4_unlock_rpc() 3894 …nfsm_chain_add_32(error, &nmreq, (fl->l_type == F_WRLCK) ? NFS_LOCK_TYPE_WRITE : NFS_LOCK_TYPE_REA… in nfs4_getlock_rpc() 3921 fl->l_type = (val == NFS_LOCK_TYPE_WRITE) ? F_WRLCK : F_RDLCK; in nfs4_getlock_rpc() 3974 ((fl->l_type == F_WRLCK) || (nflp->nfl_type == F_WRLCK))) { in nfs_advlock_getlock() 4044 if ((type != F_RDLCK) && (type != F_WRLCK)) { in nfs_advlock_setlock() 4062 if ((style == NFS_FILE_LOCK_STYLE_FLOCK) && (type == F_WRLCK)) { in nfs_advlock_setlock() 6506 …nmp->nm_funcs->nf_unlock_rpc(np, nflp->nfl_owner, F_WRLCK, nflp->nfl_start, nflp->nfl_end, R_RECOV… in nfs_release_open_state_for_node()
|
| H A D | nfs_lock.c | 965 msgreq->lmr_msg.lm_fl.l_type = F_WRLCK; in nfslockdans()
|
| H A D | nfs_node.c | 985 …nmp->nm_funcs->nf_unlock_rpc(np, nflp->nfl_owner, F_WRLCK, nflp->nfl_start, nflp->nfl_end, R_RECOV… in nfs_vnop_reclaim()
|
| H A D | nfs_syscalls.c | 800 lf.l_type = F_WRLCK; in fhopen()
|
| H A D | nfs_vnops.c | 1346 nfs4_unlock_rpc(np, nlop, F_WRLCK, 0, UINT64_MAX, in nfs_close()
|
| /xnu-8020.121.3/bsd/vfs/ |
| H A D | vfs_xattr.c | 2656 locktype = (fileflags & O_EXLOCK) ? F_WRLCK : F_RDLCK; in open_xattrfile()
|
| H A D | vfs_syscalls.c | 4236 lf.l_type = F_WRLCK; in open1()
|