Lines Matching refs:smb_struct_t
265 shp->sh_structs = smb_alloc(sizeof (smb_struct_t) * shp->sh_ent_stnum); in smbios_bufopen()
268 shp->sh_hash = smb_zalloc(sizeof (smb_struct_t *) * shp->sh_hashlen); in smbios_bufopen()
287 smb_struct_t *stp = &shp->sh_structs[i]; in smbios_bufopen()
365 smb_free(shp->sh_structs, sizeof (smb_struct_t) * shp->sh_ent_stnum); in smbios_close()
366 smb_free(shp->sh_hash, sizeof (smb_struct_t *) * shp->sh_hashlen); in smbios_close()
427 smb_export(const smb_struct_t *stp, smbios_struct_t *sp) in smb_export()
442 const smb_struct_t *stp = smb_lookup_id(shp, id); in smbios_lookup_id()
456 const smb_struct_t *stp = smb_lookup_type(shp, type); in smbios_lookup_type()
470 const smb_struct_t *sp = shp->sh_structs; in smbios_iter()
483 const smb_struct_t *
497 const smb_struct_t *
500 const smb_struct_t *stp = shp->sh_hash[id & (shp->sh_hashlen - 1)]; in smb_lookup_id()
523 smb_strptr(const smb_struct_t *stp, uint_t i) in smb_strptr()