Searched refs:sh_hashlen (Results 1 – 5 of 5) sorted by relevance
60 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()
61 uint_t sh_hashlen; /* length of hash bucket array */ member
950 return (hash_walk_init(wsp, (uintptr_t)sh.sh_hash, sh.sh_hashlen, in serd_walk_init()
259 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()
469 uint_t sh_hashlen; /* hash bucket array length */ member