Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.c2190 nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_track() argument
2198 ASSERT(shrp->s_own_len > 0); in nlm_shres_track()
2199 nsp_new = nlm_shres_create_item(shrp, vp); in nlm_shres_track()
2203 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) in nlm_shres_track()
2226 nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_untrack() argument
2233 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) { in nlm_shres_untrack()
2309 nlm_shres_create_item(struct shrlock *shrp, vnode_t *vp) in nlm_shres_create_item() argument
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()
[all …]