Home
last modified time | relevance | path

Searched refs:mh_hash (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_module.c264 if ((mhp->mh_hash = topo_hdl_zalloc(thp, in topo_modhash_create()
287 topo_hdl_free(thp, mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen); in topo_modhash_destroy()
300 for (mod = mhp->mh_hash[h]; mod != NULL; mod = mod->tm_next) { in topo_modhash_lookup()
326 mod->tm_next = mhp->mh_hash[h]; in topo_modhash_load()
327 mhp->mh_hash[h] = mod; in topo_modhash_load()
351 pp = &mhp->mh_hash[h]; in topo_modhash_unload()
389 pp = &mhp->mh_hash[i]; in topo_modhash_unload_all()
H A Dtopo_module.h49 struct topo_mod **mh_hash; /* hash bucket array */ member
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c1029 mhp->mh_hash = fmd_zalloc(sizeof (void *) * mhp->mh_hashlen, FMD_SLEEP); in fmd_modhash_create()
1042 for (mp = mhp->mh_hash[i]; mp != NULL; mp = nmp) { in fmd_modhash_destroy()
1049 fmd_free(mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen); in fmd_modhash_destroy()
1104 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) { in fmd_modhash_apply()
1123 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) { in fmd_modhash_tryapply()
1142 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_dispatch()
1182 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_lookup()
1215 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_load()
1238 mp->mod_next = mhp->mh_hash[h]; in fmd_modhash_load()
1240 mhp->mh_hash[h] = mp; in fmd_modhash_load()
[all …]
H A Dfmd_module.h62 struct fmd_module **mh_hash; /* hash bucket array */ member
H A Dfmd_xprt.c341 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) in fmd_xprt_subscribe_modhash()
351 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) { in fmd_xprt_subscribe_modhash()
360 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) in fmd_xprt_subscribe_modhash()
/titanic_41/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c650 (uintptr_t)(tmh.mh_hash)) != sizeof (tnode_t *)) { in tmod_walk_init()
653 tmh.mh_hash); in tmod_walk_init()
688 (uintptr_t)(tmh.mh_hash+hash_idx)) != sizeof (tnode_t *)) { in tmod_walk_step()
691 sizeof (tnode_t *), tmh.mh_hash+hash_idx); in tmod_walk_step()
/titanic_41/usr/src/cmd/boot/bootadm/
H A Dbootadm.c5757 mcache_t *mh_hash[MH_HASH_SZ]; member
5818 mcp->mc_next = mhp->mh_hash[idx];
5819 mhp->mh_hash[idx] = mcp;
5836 while (mcp = mhp->mh_hash[i]) {
5837 mhp->mh_hash[i] = mcp->mc_next;
5846 assert(mhp->mh_hash[i] == NULL);
5870 for (mcp = mhp->mh_hash[idx]; mcp; mcp = mcp->mc_next) {