Home
last modified time | relevance | path

Searched refs:mh_hashlen (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_module.c263 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()
H A Dtopo_module.h50 uint_t mh_hashlen; /* size of hash bucket array */ member
/titanic_50/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c1028 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()
H A Dfmd_module.h63 uint_t mh_hashlen; /* size of hash bucket array */ member
H A Dfmd_xprt.c340 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()
/titanic_50/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c686 else if (++hash_idx < tmh.mh_hashlen) in tmod_walk_step()