Lines Matching refs:nslp
560 struct nlm_slock *nslp;
582 TAILQ_FOREACH(nslp, &g->nlm_slocks, nsl_link) {
583 if (nslp->nsl_state == NLM_SL_BLOCKED &&
584 nslp->nsl_vp == vp &&
585 (nslp->nsl_lock.l_offset != 0 ||
586 nslp->nsl_lock.l_len != 0)) {
600 struct nlm_slock *nslp;
605 TAILQ_FOREACH(nslp, &g->nlm_slocks, nsl_link) {
606 if (nslp->nsl_state == NLM_SL_BLOCKED &&
607 nslp->nsl_vp == vp) {
756 struct nlm_slock *nslp = NULL;
775 nslp = nlm_slock_register(g, hostp, &args.alock, vp);
825 if (nslp != NULL) {
843 if (nslp == NULL ||
881 error = nlm_slock_wait(g, nslp, g->retrans_tmo);
922 * (codition: nslp != NULL) lock if it was unsafe. Normally,
931 if (error != 0 && nslp != NULL && nlm_safemap(vp)) {
938 if (nslp != NULL)
939 nlm_slock_unregister(g, nslp);