Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/klm/
H A Dnlm_impl.c2132 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) in nlm_shres_track()
2162 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) { in nlm_shres_untrack()
2198 nsp_new = nlm_shres_create_item(nsp->ns_shr, nsp->ns_vp); in nlm_get_active_shres()
2243 nsp->ns_shr = kmem_alloc(sizeof (*shrp), KM_SLEEP); in nlm_shres_create_item()
2244 bcopy(shrp, nsp->ns_shr, sizeof (*shrp)); in nlm_shres_create_item()
2245 nsp->ns_shr->s_owner = kmem_alloc(shrp->s_own_len, KM_SLEEP); in nlm_shres_create_item()
2246 bcopy(shrp->s_owner, nsp->ns_shr->s_owner, shrp->s_own_len); in nlm_shres_create_item()
2255 kmem_free(nsp->ns_shr->s_owner, in nlm_shres_destroy_item()
2256 nsp->ns_shr->s_own_len); in nlm_shres_destroy_item()
2257 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