Searched refs:mh_hash (Results 1 – 7 of 7) sorted by relevance
269 if ((mhp->mh_hash = topo_hdl_zalloc(thp, in topo_modhash_create()292 topo_hdl_free(thp, mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen); in topo_modhash_destroy()305 for (mod = mhp->mh_hash[h]; mod != NULL; mod = mod->tm_next) { in topo_modhash_lookup()331 mod->tm_next = mhp->mh_hash[h]; in topo_modhash_load()332 mhp->mh_hash[h] = mod; in topo_modhash_load()356 pp = &mhp->mh_hash[h]; in topo_modhash_unload()394 pp = &mhp->mh_hash[i]; in topo_modhash_unload_all()
47 struct topo_mod **mh_hash; /* hash bucket array */ member
1026 mhp->mh_hash = fmd_zalloc(sizeof (void *) * mhp->mh_hashlen, FMD_SLEEP); in fmd_modhash_create()1039 for (mp = mhp->mh_hash[i]; mp != NULL; mp = nmp) { in fmd_modhash_destroy()1046 fmd_free(mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen); in fmd_modhash_destroy()1101 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) { in fmd_modhash_apply()1120 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) { in fmd_modhash_tryapply()1139 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_dispatch()1179 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_lookup()1212 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) { in fmd_modhash_load()1235 mp->mod_next = mhp->mh_hash[h]; in fmd_modhash_load()1237 mhp->mh_hash[h] = mp; in fmd_modhash_load()[all …]
62 struct fmd_module **mh_hash; /* hash bucket array */ member
341 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()
651 (uintptr_t)(tmh.mh_hash)) != sizeof (tnode_t *)) { in tmod_walk_init()654 tmh.mh_hash); in tmod_walk_init()689 (uintptr_t)(tmh.mh_hash+hash_idx)) != sizeof (tnode_t *)) { in tmod_walk_step()692 sizeof (tnode_t *), tmh.mh_hash+hash_idx); in tmod_walk_step()
6430 mcache_t *mh_hash[MH_HASH_SZ]; member6492 mcp->mc_next = mhp->mh_hash[idx];6493 mhp->mh_hash[idx] = mcp;6509 while ((mcp = mhp->mh_hash[i]) != NULL) {6510 mhp->mh_hash[i] = mcp->mc_next;6519 assert(mhp->mh_hash[i] == NULL);6543 for (mcp = mhp->mh_hash[idx]; mcp; mcp = mcp->mc_next) {