Searched refs:mh_nchains (Results 1 – 3 of 3) sorted by relevance
156 if (mh.mh_nchains <= 1) { in modent_walk_init()167 hwp = mdb_alloc(HW_SIZE(mh.mh_nchains), UM_NOSLEEP); in modent_walk_init()170 HW_SIZE(mh.mh_nchains), wsp->walk_addr); in modent_walk_init()177 (mh.mh_nchains - 1) * sizeof (struct mod_hash_entry *), in modent_walk_init()181 mdb_free(hwp, HW_SIZE(mh.mh_nchains)); in modent_walk_init()183 mh.mh_nchains - 1, wsp->walk_addr + sizeof (mh)); in modent_walk_init()209 hwp->hwalk_hash.mh_nchains) in modent_walk_step()240 mdb_free(hwp, HW_SIZE(hwp->hwalk_hash.mh_nchains)); in modent_walk_fini()440 mwd.mwd_idxtoprint >= mh.mh_nchains) { in modhash()442 mwd.mwd_idxtoprint, mh.mh_nchains - 1); in modhash()[all …]
450 mod_hash->mh_nchains = nchains; in mod_hash_create_extended()506 kmem_free(hash, MH_SIZE(hash->mh_nchains)); in mod_hash_destroy_hash()521 if (hash->mh_nchains == 1) in i_mod_hash()525 return (h % (hash->mh_nchains - 1)); in i_mod_hash()842 (hashidx < (hash->mh_nchains - 1)) && (res == MH_WALK_CONTINUE); in i_mod_hash_walk_nosync()883 for (i = 0; i < hash->mh_nchains; i++) { in i_mod_hash_clear_nosync()
62 size_t mh_nchains; /* # of elements in mh_entries */ member