Lines Matching refs:smb_struct_t
156 shp->sh_structs = smb_alloc(sizeof (smb_struct_t) * ep->smbe_stnum);
159 shp->sh_hash = smb_zalloc(sizeof (smb_struct_t *) * shp->sh_hashlen);
170 smb_struct_t *stp = &shp->sh_structs[i];
249 smb_free(shp->sh_structs, sizeof (smb_struct_t) * ep->smbe_stnum);
250 smb_free(shp->sh_hash, sizeof (smb_struct_t *) * shp->sh_hashlen);
296 smb_export(const smb_struct_t *stp, smbios_struct_t *sp)
311 const smb_struct_t *stp = smb_lookup_id(shp, id);
325 const smb_struct_t *stp = smb_lookup_type(shp, type);
339 const smb_struct_t *sp = shp->sh_structs;
352 const smb_struct_t *
366 const smb_struct_t *
369 const smb_struct_t *stp = shp->sh_hash[id & (shp->sh_hashlen - 1)];
392 smb_strptr(const smb_struct_t *stp, uint_t i)