Lines Matching defs:nvp
82 struct nlm_vhold *nvp;
109 struct nlm_vhold *nvp,
233 struct nlm_vhold *nvp;
240 nvp = nlm_vhold_get(hostp, vp);
248 return (nvp);
467 struct nlm_vhold *nvp = NULL;
530 nvp = nlm_fh_to_vhold(host, &argp->alock.fh);
531 if (nvp == NULL) {
554 error = nlm_vop_frlock(nvp->nv_vp, F_SETLK, &fl, flags,
660 nlm_block(argp, host, nvp, rpcp, &fl, grant_cb);
669 nlm_vhold_release(host, nvp);
681 struct nlm_vhold *nvp,
701 error = nlm_slreq_register(host, nvp, flp);
714 cb_data.nvp = nvp;
719 error = nlm_vop_frlock(nvp->nv_vp, F_SETLKW, flp,
728 (void) nlm_slreq_unregister(host, nvp, flp);
758 cb_data->nvp, cb_data->flp);
776 struct nlm_vhold *nvp = NULL;
810 nvp = nlm_fh_to_vhold(host, &argp->alock.fh);
811 if (nvp == NULL) {
824 error = nlm_slreq_unregister(host, nvp, &fl);
836 error = nlm_vop_frlock(nvp->nv_vp, F_SETLK, &fl,
857 nlm_vhold_release(host, nvp);
1130 struct nlm_vhold *nvp = NULL;
1161 nvp = nlm_fh_to_vhold(host, &argp->share.fh);
1162 if (nvp == NULL) {
1169 error = VOP_SHRLOCK(nvp->nv_vp, F_SHARE, &shr,
1183 nlm_vhold_release(host, nvp);