Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/klm/
H A Dnlm_impl.c2182 nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_track() argument
2190 ASSERT(shrp->s_own_len > 0); in nlm_shres_track()
2191 nsp_new = nlm_shres_create_item(shrp, vp); in nlm_shres_track()
2195 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) in nlm_shres_track()
2218 nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_untrack() argument
2225 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) { in nlm_shres_untrack()
2301 nlm_shres_create_item(struct shrlock *shrp, vnode_t *vp) in nlm_shres_create_item() argument
2306 nsp->ns_shr = kmem_alloc(sizeof (*shrp), KM_SLEEP); in nlm_shres_create_item()
2307 bcopy(shrp, nsp->ns_shr, sizeof (*shrp)); in nlm_shres_create_item()
2308 nsp->ns_shr->s_owner = kmem_alloc(shrp->s_own_len, KM_SLEEP); in nlm_shres_create_item()
[all …]