Lines Matching refs:htsize
158 uint_t htsize; in table_lock_enter() local
162 htsize = li->li_htsize; in table_lock_enter()
165 hash = ltablehash(vp, htsize); in table_lock_enter()
167 if (li->li_hashtable == chain && li->li_htsize == htsize) in table_lock_enter()
194 lsetup(struct loinfo *li, uint_t htsize) in lsetup() argument
198 if (htsize == 0) in lsetup()
199 htsize = LOFS_DEFAULT_HTSIZE; in lsetup()
200 li->li_htsize = htsize; in lsetup()
201 li->li_hashtable = kmem_zalloc(htsize * sizeof (*li->li_hashtable), in lsetup()
214 uint_t i, htsize; in ldestroy() local
220 htsize = li->li_htsize; in ldestroy()
222 for (i = 0; i < htsize; i++) in ldestroy()
224 kmem_free(table, htsize * sizeof (*li->li_hashtable)); in ldestroy()