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

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_module.c264 if ((mhp->mh_hash = topo_hdl_zalloc(thp,
287 topo_hdl_free(thp, mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen);
300 for (mod = mhp->mh_hash[h]; mod != NULL; mod = mod->tm_next) {
326 mod->tm_next = mhp->mh_hash[h];
327 mhp->mh_hash[h] = mod;
351 pp = &mhp->mh_hash[h];
389 pp = &mhp->mh_hash[i];
H A Dtopo_module.h49 struct topo_mod **mh_hash; /* hash bucket array */ member in struct:topo_modhash
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.c1029 mhp->mh_hash = fmd_zalloc(sizeof (void *) * mhp->mh_hashlen, FMD_SLEEP);
1042 for (mp = mhp->mh_hash[i]; mp != NULL; mp = nmp) {
1049 fmd_free(mhp->mh_hash, sizeof (void *) * mhp->mh_hashlen);
1104 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) {
1123 for (mp = mhp->mh_hash[i]; mp != NULL; mp = np) {
1142 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) {
1182 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) {
1215 for (mp = mhp->mh_hash[h]; mp != NULL; mp = mp->mod_next) {
1238 mp->mod_next = mhp->mh_hash[h];
1240 mhp->mh_hash[
[all...]
H A Dfmd_module.h62 struct fmd_module **mh_hash; /* hash bucket array */ member in struct:fmd_modhash
H A Dfmd_xprt.c341 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next)
351 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next) {
360 for (mp = mhp->mh_hash[i]; mp != NULL; mp = mp->mod_next)
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c650 (uintptr_t)(tmh.mh_hash)) != sizeof (tnode_t *)) {
653 tmh.mh_hash);
688 (uintptr_t)(tmh.mh_hash+hash_idx)) != sizeof (tnode_t *)) {
691 sizeof (tnode_t *), tmh.mh_hash+hash_idx);
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c6279 mcache_t *mh_hash[MH_HASH_SZ]; member in struct:mhash
6341 mcp->mc_next = mhp->mh_hash[idx];
6342 mhp->mh_hash[idx] = mcp;
6358 while ((mcp = mhp->mh_hash[i]) != NULL) {
6359 mhp->mh_hash[i] = mcp->mc_next;
6368 assert(mhp->mh_hash[i] == NULL);
6392 for (mcp = mhp->mh_hash[idx]; mcp; mcp = mcp->mc_next) {

Completed in 96 milliseconds