Searched refs:sh_hash (Results 1 – 5 of 5) sorted by relevance
59 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()
58 fmd_serd_eng_t **sh_hash; /* hash bucket array for buffers */ member
957 return (hash_walk_init(wsp, (uintptr_t)sh.sh_hash, sh.sh_hashlen, in serd_walk_init()
267 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()
794 smb_struct_t **sh_hash; /* hash bucket array for descriptors */ member