Home
last modified time | relevance | path

Searched refs:ns_shr (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.c2203 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) in nlm_shres_track()
2233 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) { in nlm_shres_untrack()
2269 nsp_new = nlm_shres_create_item(nsp->ns_shr, nsp->ns_vp); in nlm_get_active_shres()
2314 nsp->ns_shr = kmem_alloc(sizeof (*shrp), KM_SLEEP); in nlm_shres_create_item()
2315 bcopy(shrp, nsp->ns_shr, sizeof (*shrp)); in nlm_shres_create_item()
2316 nsp->ns_shr->s_owner = kmem_alloc(shrp->s_own_len, KM_SLEEP); in nlm_shres_create_item()
2317 bcopy(shrp->s_owner, nsp->ns_shr->s_owner, shrp->s_own_len); in nlm_shres_create_item()
2326 kmem_free(nsp->ns_shr->s_owner, in nlm_shres_destroy_item()
2327 nsp->ns_shr->s_own_len); in nlm_shres_destroy_item()
2328 kmem_free(nsp->ns_shr, sizeof (struct shrlock)); in nlm_shres_destroy_item()
H A Dnlm_client.c223 nsp->ns_shr, state); in nlm_reclaim_client()
233 nsp->ns_shr); in nlm_reclaim_client()
235 nsp->ns_shr); in nlm_reclaim_client()
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()
H A Dnlm_impl.h251 struct shrlock *ns_shr; member