Searched defs:mod_hash (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dmodhash_impl.h58 struct mod_hash { struct
75 struct mod_hash *mh_next; /* next hash in list */
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_module.h109 fmd_modhash_t *mod_hash; /* containing namespace (ro) */ member in struct:fmd_module
/illumos-gate/usr/src/uts/common/os/
H A Dmodhash.c27 * mod_hash: flexible hash table implementation.
48 * The number returned need _not_ be between 0 and nchains. The mod_hash
307 * mod_hash takes hashkey % nchains.
436 mod_hash_t *mod_hash; local
439 if ((mod_hash = kmem_zalloc(MH_SIZE(nchains), sleep)) == NULL)
442 mod_hash->mh_name = kmem_alloc(strlen(hname) + 1, sleep);
443 if (mod_hash->mh_name == NULL) {
444 kmem_free(mod_hash, MH_SIZE(nchains));
447 (void) strcpy(mod_hash->mh_name, hname);
449 mod_hash
[all...]

Completed in 61 milliseconds