Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/klm/
H A Dnlm_impl.c2119 nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_track() argument
2127 ASSERT(shrp->s_own_len > 0); in nlm_shres_track()
2128 nsp_new = nlm_shres_create_item(shrp, vp); in nlm_shres_track()
2132 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) in nlm_shres_track()
2155 nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_untrack() argument
2162 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) { in nlm_shres_untrack()
2238 nlm_shres_create_item(struct shrlock *shrp, vnode_t *vp) in nlm_shres_create_item() argument
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()
[all …]