Searched refs:sh_hash (Results 1 – 5 of 5) sorted by relevance
61 shp->sh_hash = fmd_zalloc(sizeof (void *) * shp->sh_hashlen, FMD_SLEEP); in fmd_serd_hash_create()72 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = ngp) { in fmd_serd_hash_destroy()78 fmd_free(shp->sh_hash, sizeof (void *) * shp->sh_hashlen); in fmd_serd_hash_destroy()89 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) in fmd_serd_hash_apply()107 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_hash_contains()125 sgp->sg_next = shp->sh_hash[h]; in fmd_serd_eng_insert()126 shp->sh_hash[h] = sgp; in fmd_serd_eng_insert()138 for (sgp = shp->sh_hash[h]; sgp != NULL; sgp = sgp->sg_next) { in fmd_serd_eng_lookup()150 fmd_serd_eng_t *sgp, **pp = &shp->sh_hash[h]; in fmd_serd_eng_delete()
60 fmd_serd_eng_t **sh_hash; /* hash bucket array for buffers */ member
950 return (hash_walk_init(wsp, (uintptr_t)sh.sh_hash, sh.sh_hashlen, in serd_walk_init()
260 shp->sh_hash = smb_zalloc(sizeof (smb_struct_t *) * shp->sh_hashlen); in smbios_bufopen()263 if (shp->sh_structs == NULL || shp->sh_hash == NULL) in smbios_bufopen()317 stp->smbst_next = shp->sh_hash[h]; in smbios_bufopen()324 shp->sh_hash[h] = stp; 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()
468 smb_struct_t **sh_hash; /* hash bucket array for descriptors */ member