Lines Matching refs:nsp
148 struct nlm_shres *nsp_head, *nsp; in nlm_reclaim_client() local
220 nsp_head = nsp = nlm_get_active_shres(hostp); in nlm_reclaim_client()
221 while (nsp != NULL) { in nlm_reclaim_client()
222 error = nlm_reclaim_share(hostp, nsp->ns_vp, in nlm_reclaim_client()
223 nsp->ns_shr, state); in nlm_reclaim_client()
226 nsp = nsp->ns_next; in nlm_reclaim_client()
232 nlm_shres_untrack(hostp, nsp->ns_vp, in nlm_reclaim_client()
233 nsp->ns_shr); in nlm_reclaim_client()
234 nlm_local_shrcancel(nsp->ns_vp, in nlm_reclaim_client()
235 nsp->ns_shr); in nlm_reclaim_client()
238 nsp = nsp->ns_next; in nlm_reclaim_client()
472 struct nlm_shres *nsp_head, *nsp; in nlm_client_cancel_all() local
501 nsp_head = nsp = nlm_get_active_shres(hostp); in nlm_client_cancel_all()
502 while (nsp != NULL) { in nlm_client_cancel_all()
503 error = nlm_init_fh_by_vp(nsp->ns_vp, &lm_fh, &vers); in nlm_client_cancel_all()
505 (void) nlm_call_unshare(nsp->ns_shr, hostp, in nlm_client_cancel_all()
508 nlm_local_shrcancel(nsp->ns_vp, nsp->ns_shr); in nlm_client_cancel_all()
509 nlm_shres_untrack(hostp, nsp->ns_vp, nsp->ns_shr); in nlm_client_cancel_all()
510 nsp = nsp->ns_next; in nlm_client_cancel_all()