Home
last modified time | relevance | path

Searched refs:F_UNLCK (Results 1 – 10 of 10) sorted by relevance

/xnu-8020.121.3/bsd/nfs/ !
H A Dnfs_lock.c490 slpflag = (interruptable && (type != F_UNLCK)) ? PCATCH : 0; in nfs3_lockd_request()
536 if (type == F_UNLCK) { in nfs3_lockd_request()
562 if (type == F_UNLCK) { in nfs3_lockd_request()
853 msg->lm_fl.l_type = F_UNLCK; in nfs3_unlock_rpc()
856 return nfs3_lockd_request(np, F_UNLCK, &msgreq, flags, thd); in nfs3_unlock_rpc()
899 if (msg->lm_fl.l_type != F_UNLCK) { in nfs3_getlock_rpc()
906 fl->l_type = F_UNLCK; in nfs3_getlock_rpc()
973 msgreq->lmr_msg.lm_fl.l_type = F_UNLCK; in nfslockdans()
H A Dnfs4_vnops.c3925 fl->l_type = F_UNLCK; in nfs4_getlock_rpc()
3991 fl->l_type = F_UNLCK; in nfs_advlock_getlock()
4882 …nlop = nfs_lock_owner_find(np, vfs_context_proc(ctx), lockid, (op != F_UNLCK) ? NFS_LOCK_OWNER_FIN… in nfs_vnop_advlock()
4884 error = (op == F_UNLCK) ? 0 : ENOMEM; in nfs_vnop_advlock()
4915 error = nfs4_reopen(nofp, ((op == F_UNLCK) ? NULL : vfs_context_thread(ctx))); in nfs_vnop_advlock()
4926 if (op == F_UNLCK) { in nfs_vnop_advlock()
/xnu-8020.121.3/bsd/kern/ !
H A Dkern_lockf.c220 fl->l_type = F_UNLCK; in lf_advlock()
345 case F_UNLCK: in lf_advlock()
704 lock->lf_type = F_UNLCK; in lf_setlock()
990 if (unlock->lf_type != F_UNLCK) { in lf_clearlock()
1117 fl->l_type = F_UNLCK; in lf_getlock()
1479 lock->lf_type == F_UNLCK ? "unlock" : "unknown", in lf_print()
1485 lock->lf_type == F_UNLCK ? "unlock" : "unknown", in lf_print()
1533 lf->lf_type == F_UNLCK ? "unlock" : in lf_printlist()
1549 blk->lf_type == F_UNLCK ? "unlock" : in lf_printlist()
H A Dkern_descrip.c256 .l_type = F_UNLCK, in fg_drop()
261 (void)VNOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_POSIX, &context, NULL); in fg_drop()
3071 case F_UNLCK: in sys_fcntl_nocancel()
3073 F_UNLCK, &fl, F_OFD_LOCK, &context, in sys_fcntl_nocancel()
3118 case F_UNLCK: in sys_fcntl_nocancel()
3120 F_UNLCK, &fl, F_POSIX, &context, timeout); in sys_fcntl_nocancel()
3164 case F_UNLCK: in sys_fcntl_nocancel()
5385 lf.l_type = F_UNLCK; in sys_flock()
5386 error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_UNLCK, &lf, F_FLOCK, ctx, NULL); in sys_flock()
/xnu-8020.121.3/tests/ !
H A Dlockf_EOF_77264182.c48 fl.l_type = F_UNLCK;
/xnu-8020.121.3/bsd/sys/ !
H A Dfcntl.h415 #define F_UNLCK 2 /* unlock */ macro
/xnu-8020.121.3/bsd/vfs/ !
H A Dvfs_vnops.c1768 .l_type = F_UNLCK in vn_closefile()
1773 F_UNLCK, &lf, F_FLOCK, ctx, NULL); in vn_closefile()
1778 F_UNLCK, &lf, F_OFD_LOCK, ctx, NULL); in vn_closefile()
H A Dvfs_xattr.c3441 lf.l_type = F_UNLCK; in unlock_xattrfile()
3443 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_UNLCK, &lf, F_FLOCK, context, NULL); in unlock_xattrfile()
H A Dkpi_vfs.c5510 if (op == F_UNLCK && in VNOP_ADVLOCK()
H A Dvfs_syscalls.c4367 .l_type = F_UNLCK, in open1()
4371 vp, (caddr_t)fp->fp_glob, F_UNLCK, &lf, F_FLOCK, ctx, NULL); in open1()