Searched refs:l_type (Results 1 – 10 of 10) sorted by relevance
| /xnu-8020.121.3/tests/ |
| H A D | lockf_EOF_77264182.c | 43 .l_type = F_WRLCK, 48 fl.l_type = F_UNLCK; 52 fl.l_type = F_WRLCK;
|
| /xnu-8020.121.3/bsd/nfs/ |
| H A D | nfs_lock.c | 385 msg->lm_fl.l_type, in nfs_lockd_send_request() 810 msg->lm_fl.l_type = nflp->nfl_type; in nfs3_setlock_rpc() 853 msg->lm_fl.l_type = F_UNLCK; in nfs3_unlock_rpc() 893 msg->lm_fl.l_type = fl->l_type; in nfs3_getlock_rpc() 899 if (msg->lm_fl.l_type != F_UNLCK) { in nfs3_getlock_rpc() 900 fl->l_type = msg->lm_fl.l_type; in nfs3_getlock_rpc() 906 fl->l_type = F_UNLCK; in nfs3_getlock_rpc() 965 msgreq->lmr_msg.lm_fl.l_type = F_WRLCK; in nfslockdans() 967 msgreq->lmr_msg.lm_fl.l_type = F_RDLCK; in nfslockdans() 973 msgreq->lmr_msg.lm_fl.l_type = F_UNLCK; in nfslockdans()
|
| H A D | nfs_syscalls.c | 800 lf.l_type = F_WRLCK; in fhopen() 802 lf.l_type = F_RDLCK; in fhopen()
|
| H A D | nfs4_vnops.c | 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() 3925 fl->l_type = F_UNLCK; in nfs4_getlock_rpc() 3974 ((fl->l_type == F_WRLCK) || (nflp->nfl_type == F_WRLCK))) { in nfs_advlock_getlock() 3980 fl->l_type = nflp->nfl_type; in nfs_advlock_getlock() 3991 fl->l_type = F_UNLCK; in nfs_advlock_getlock() 4932 error = nfs_advlock_setlock(np, nofp, nlop, op, start, end, style, fl->l_type, ctx); in nfs_vnop_advlock()
|
| /xnu-8020.121.3/bsd/kern/ |
| H A D | kern_lockf.c | 220 fl->l_type = F_UNLCK; in lf_advlock() 304 lock->lf_type = fl->l_type; in lf_advlock() 1098 fl->l_type = block->lf_type; in lf_getlock() 1117 fl->l_type = F_UNLCK; in lf_getlock()
|
| H A D | kern_descrip.c | 256 .l_type = F_UNLCK, in fg_drop() 3054 switch (fl.l_type) { in sys_fcntl_nocancel() 3081 (F_RDLCK == fl.l_type || F_WRLCK == fl.l_type)) { in sys_fcntl_nocancel() 3097 switch (fl.l_type) { in sys_fcntl_nocancel() 3162 switch (fl.l_type) { in sys_fcntl_nocancel() 5385 lf.l_type = F_UNLCK; in sys_flock() 5390 lf.l_type = F_WRLCK; in sys_flock() 5392 lf.l_type = F_RDLCK; in sys_flock()
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | fcntl.h | 468 short l_type; /* lock type: read/write, etc. */ member
|
| /xnu-8020.121.3/bsd/vfs/ |
| H A D | vfs_xattr.c | 3426 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */ in lock_xattrfile() 3441 lf.l_type = F_UNLCK; in unlock_xattrfile()
|
| H A D | vfs_vnops.c | 1768 .l_type = F_UNLCK in vn_closefile()
|
| H A D | vfs_syscalls.c | 4236 lf.l_type = F_WRLCK; in open1() 4238 lf.l_type = F_RDLCK; in open1() 4367 .l_type = F_UNLCK, in open1()
|