Home
last modified time | relevance | path

Searched refs:sh_hashlen (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_serd.c60 shp->sh_hashlen = fmd.d_str_buckets; in fmd_serd_hash_create()
61 shp->sh_hash = fmd_zalloc(sizeof (void *) * shp->sh_hashlen, FMD_SLEEP); in fmd_serd_hash_create()
71 for (i = 0; i < shp->sh_hashlen; i++) { in fmd_serd_hash_destroy()
78 fmd_free(shp->sh_hash, sizeof (void *) * shp->sh_hashlen); in fmd_serd_hash_destroy()
88 for (i = 0; i < shp->sh_hashlen; i++) { in fmd_serd_hash_apply()
106 for (i = 0; i < shp->sh_hashlen; i++) { in fmd_serd_hash_contains()
122 uint_t h = fmd_strhash(name) % shp->sh_hashlen; in fmd_serd_eng_insert()
135 uint_t h = fmd_strhash(name) % shp->sh_hashlen; in fmd_serd_eng_lookup()
149 uint_t h = fmd_strhash(name) % shp->sh_hashlen; in fmd_serd_eng_delete()
H A Dfmd_serd.h61 uint_t sh_hashlen; /* length of hash bucket array */ member
H A Dfmd_mdb.c950 return (hash_walk_init(wsp, (uintptr_t)sh.sh_hash, sh.sh_hashlen, in serd_walk_init()
/titanic_41/usr/src/common/smbios/
H A Dsmb_open.c259 shp->sh_hashlen = _smb_hashlen; in smbios_bufopen()
260 shp->sh_hash = smb_zalloc(sizeof (smb_struct_t *) * shp->sh_hashlen); in smbios_bufopen()
298 h = hp->smbh_hdl & (shp->sh_hashlen - 1); in smbios_bufopen()
358 smb_free(shp->sh_hash, sizeof (smb_struct_t *) * shp->sh_hashlen); in smbios_close()
492 const smb_struct_t *stp = shp->sh_hash[id & (shp->sh_hashlen - 1)]; in smb_lookup_id()
/titanic_41/usr/src/uts/common/sys/
H A Dsmbios_impl.h469 uint_t sh_hashlen; /* hash bucket array length */ member