Searched refs:mh_hashlen (Results 1 – 6 of 6) sorted by relevance
263 mhp->mh_hashlen = TOPO_HASH_BUCKETS; in topo_modhash_create()265 sizeof (void *) * mhp->mh_hashlen)) == NULL) { in topo_modhash_create()287 topo_hdl_free(thp, mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen); in topo_modhash_destroy()298 h = topo_strhash(name) % mhp->mh_hashlen; in topo_modhash_lookup()325 h = topo_strhash(name) % mhp->mh_hashlen; in topo_modhash_load()350 h = topo_strhash(mod->tm_name) % mhp->mh_hashlen; in topo_modhash_unload()
50 uint_t mh_hashlen; /* size of hash bucket array */ member
1028 mhp->mh_hashlen = fmd.d_str_buckets; in fmd_modhash_create()1029 mhp->mh_hash = fmd_zalloc(sizeof (void *) * mhp->mh_hashlen, FMD_SLEEP); in fmd_modhash_create()1041 for (i = 0; i < mhp->mh_hashlen; i++) { in fmd_modhash_destroy()1049 fmd_free(mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen); in fmd_modhash_destroy()1103 for (i = 0; i < mhp->mh_hashlen; i++) { in fmd_modhash_apply()1122 for (i = 0; i < mhp->mh_hashlen; i++) { in fmd_modhash_tryapply()1141 for (i = 0; i < mhp->mh_hashlen; i++) { in fmd_modhash_dispatch()1180 h = fmd_strhash(name) % mhp->mh_hashlen; in fmd_modhash_lookup()1209 h = fmd_strhash(name) % mhp->mh_hashlen; in fmd_modhash_load()1254 h = fmd_strhash(name) % mhp->mh_hashlen; in fmd_modhash_unload()
63 uint_t mh_hashlen; /* size of hash bucket array */ member
340 for (i = 0; i < mhp->mh_hashlen; i++) { in fmd_xprt_subscribe_modhash()350 for (i = 0; i < mhp->mh_hashlen; i++) { in fmd_xprt_subscribe_modhash()359 for (i = 0; i < mhp->mh_hashlen; i++) { in fmd_xprt_subscribe_modhash()
686 else if (++hash_idx < tmh.mh_hashlen) in tmod_walk_step()