Lines Matching refs:lktype
281 int error, lktype;
285 lktype = ap->a_flags & LK_TYPE_MASK;
293 if ((np->n_flag & NVNSETSZSKIP) == 0 || (lktype != LK_SHARED &&
294 lktype != LK_EXCLUSIVE && lktype != LK_UPGRADE &&
295 lktype != LK_TRYUPGRADE)) {
301 (lktype == LK_SHARED || lktype == LK_EXCLUSIVE);
313 (lktype == LK_SHARED && vp->v_vnlock->lk_recurse > 0)) {
317 if (lktype == LK_SHARED) {
339 if (lktype == LK_SHARED) {