Lines Matching refs:hsnode

110 static void hs_addfreeb(struct hsfs *fsp, struct hsnode *hp);
113 struct hsnode *dhp, struct vnode *dvp, struct vnode **vpp,
131 struct hsnode *hp;
176 int nhsnode = HS_HSNODESPACE / sizeof (struct hsnode);
178 struct kmem_cache *hsnode_cache; /* free hsnode cache */
191 sizeof (struct hsnode), 0, NULL,
212 struct hsnode *hp;
252 * Add an hsnode to the end of the free list.
255 hs_addfreeb(struct hsfs *fsp, struct hsnode *hp)
257 struct hsnode *ep;
274 * Get an hsnode from the front of the free list.
277 static struct hsnode *
280 struct hsnode *hp, **tp;
286 * the hsnode count threshold (nhsnode), or if there are no
288 * cache), call kmem_cache_alloc to get a new hsnode from
348 * Remove an hsnode from the free list.
351 hs_remfree(struct hsfs *fsp, struct hsnode *hp)
366 * Look for hsnode in hash list.
381 struct hsnode *tp;
414 * reactivating a free hsnode:
427 hs_addhash(struct hsfs *fsp, struct hsnode *hp)
440 * Return 1 if busy (a hsnode is still referenced).
447 struct hsnode *hp, *nhp;
494 /* release the root hsnode, this should free the final hsnode */
503 * Construct an hsnode.
507 * if NULL is returned implies file system hsnode table full
516 struct hsnode *hp;
567 /* look for hsnode in cache first */
583 * Now we are really sure that the hsnode is not
585 * allocate one. Either way get a bzeroed hsnode.
598 * No need to hold any lock because hsnode is not
652 * Deactivate an hsnode.
654 * If the vnode does not have any pages, release the hsnode to the
665 struct hsnode **tp;
666 struct hsnode *hp = VTOH(vp);
757 * If found, construct an hsnode for it.
767 struct hsnode *dhp;
1449 struct hsnode *dhp,