Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_serd.c59 shp->sh_hash = fmd_zalloc(sizeof (void *) * shp->sh_hashlen, FMD_SLEEP); in fmd_serd_hash_create()
70 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = ngp) { in fmd_serd_hash_destroy()
76 fmd_free(shp->sh_hash, sizeof (void *) * shp->sh_hashlen); in fmd_serd_hash_destroy()
87 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) in fmd_serd_hash_apply()
105 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_hash_contains()
123 sgp->sg_next = shp->sh_hash[h]; in fmd_serd_eng_insert()
124 shp->sh_hash[h] = sgp; in fmd_serd_eng_insert()
136 for (sgp = shp->sh_hash[h]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_eng_lookup()
148 fmd_serd_eng_t *sgp, **pp = &shp->sh_hash[h]; in fmd_serd_eng_delete()
H A Dfmd_serd.h58 fmd_serd_eng_t **sh_hash; /* hash bucket array for buffers */ member
H A Dfmd_mdb.c957 return (hash_walk_init(wsp, (uintptr_t)sh.sh_hash, sh.sh_hashlen, in serd_walk_init()
/illumos-gate/usr/src/common/smbios/
H A Dsmb_open.c267 shp->sh_hash = smb_zalloc(sizeof (smb_struct_t *) * shp->sh_hashlen); in smbios_bufopen()
270 if (shp->sh_structs == NULL || shp->sh_hash == NULL) in smbios_bufopen()
324 stp->smbst_next = shp->sh_hash[h]; in smbios_bufopen()
331 shp->sh_hash[h] = stp; in smbios_bufopen()
365 smb_free(shp->sh_hash, sizeof (smb_struct_t *) * shp->sh_hashlen); in smbios_close()
499 const smb_struct_t *stp = shp->sh_hash[id & (shp->sh_hashlen - 1)]; in smb_lookup_id()
/illumos-gate/usr/src/uts/common/sys/
H A Dsmbios_impl.h794 smb_struct_t **sh_hash; /* hash bucket array for descriptors */ member