Lines Matching refs:htsize
124 * (1) Stash away the htsize and the pointer to the hashtable to make
157 uint_t htsize;
161 htsize = li->li_htsize;
164 hash = ltablehash(vp, htsize);
166 if (li->li_hashtable == chain && li->li_htsize == htsize)
190 * htsize buckets.
193 lsetup(struct loinfo *li, uint_t htsize)
197 if (htsize == 0)
198 htsize = LOFS_DEFAULT_HTSIZE;
199 li->li_htsize = htsize;
200 li->li_hashtable = kmem_zalloc(htsize * sizeof (*li->li_hashtable),
213 uint_t i, htsize;
219 htsize = li->li_htsize;
221 for (i = 0; i < htsize; i++)
223 kmem_free(table, htsize * sizeof (*li->li_hashtable));