NFSLCK_LOCK
u_short flags = NFSLCK_LOCK, lflags;
if ((new_stp->ls_flags & NFSLCK_LOCK) &&
if (new_stp->ls_flags & NFSLCK_LOCK)
if ((new_stp->ls_flags & (NFSLCK_LOCK | NFSLCK_UNLOCK)) != 0 &&
if ((new_stp->ls_flags & NFSLCK_LOCK)) {
} else if (new_stp->ls_flags&(NFSLCK_LOCK|NFSLCK_UNLOCK)) {
if (new_stp->ls_flags & (NFSLCK_CHECK | NFSLCK_LOCK)) {
if (((new_stp->ls_flags & NFSLCK_LOCK) &&
if ((((new_stp->ls_flags&(NFSLCK_LOCK|NFSLCK_UNLOCK|NFSLCK_TEST))||
NFSLCK_DELEGWRITE)) != 0 || (stp->ls_flags & NFSLCK_LOCK) == 0))