Symbol: mod_hash
usr/src/cmd/fm/fmd/common/fmd_module.c
1234
mp->mod_hash = mhp;
usr/src/cmd/fm/fmd/common/fmd_module.h
109
fmd_modhash_t *mod_hash; /* containing namespace (ro) */
usr/src/uts/common/os/modhash.c
436
mod_hash_t *mod_hash;
usr/src/uts/common/os/modhash.c
439
if ((mod_hash = kmem_zalloc(MH_SIZE(nchains), sleep)) == NULL)
usr/src/uts/common/os/modhash.c
442
mod_hash->mh_name = kmem_alloc(strlen(hname) + 1, sleep);
usr/src/uts/common/os/modhash.c
443
if (mod_hash->mh_name == NULL) {
usr/src/uts/common/os/modhash.c
444
kmem_free(mod_hash, MH_SIZE(nchains));
usr/src/uts/common/os/modhash.c
447
(void) strcpy(mod_hash->mh_name, hname);
usr/src/uts/common/os/modhash.c
449
mod_hash->mh_sleep = sleep;
usr/src/uts/common/os/modhash.c
450
mod_hash->mh_nchains = nchains;
usr/src/uts/common/os/modhash.c
451
mod_hash->mh_kdtor = kdtor;
usr/src/uts/common/os/modhash.c
452
mod_hash->mh_vdtor = vdtor;
usr/src/uts/common/os/modhash.c
453
mod_hash->mh_hashalg = hash_alg;
usr/src/uts/common/os/modhash.c
454
mod_hash->mh_hashalg_data = hash_alg_data;
usr/src/uts/common/os/modhash.c
455
mod_hash->mh_keycmp = keycmp;
usr/src/uts/common/os/modhash.c
457
rw_init(&mod_hash->mh_contents, NULL, RW_DEFAULT, NULL);
usr/src/uts/common/os/modhash.c
463
mod_hash->mh_next = mh_head;
usr/src/uts/common/os/modhash.c
464
mh_head = mod_hash;
usr/src/uts/common/os/modhash.c
467
return (mod_hash);
usr/src/uts/common/sys/modhash.h
55
struct mod_hash;
usr/src/uts/common/sys/modhash.h
56
typedef struct mod_hash mod_hash_t;
usr/src/uts/common/sys/modhash_impl.h
73
struct mod_hash *mh_next; /* next hash in list */