Lines Matching refs:smbst_hdr

39  *	smb_info_bcopy(stp->smbst_hdr, &foo, sizeof (foo));
205 const uint8_t *sp = (const uint8_t *)(uintptr_t)stp->smbst_hdr;
247 if (isp->is_type == stp->smbst_hdr->smbh_type)
314 if (isp->is_type == stp->smbst_hdr->smbh_type)
321 cnt = *((uint8_t *)(uintptr_t)stp->smbst_hdr + isp->is_contc);
322 cp = (id_t *)((uintptr_t)stp->smbst_hdr + isp->is_contv);
346 if (stp->smbst_hdr->smbh_len < sizeof (smb_bios_t) - sizeof (uint8_t))
349 bip = (smb_bios_t *)(uintptr_t)stp->smbst_hdr;
364 if (stp->smbst_hdr->smbh_len >= sizeof (smb_bios_t)) {
366 bp->smbb_nxcflags = stp->smbst_hdr->smbh_len -
382 return (stp->smbst_hdr->smbh_hdl);
394 smb_info_bcopy(stp->smbst_hdr, &si, sizeof (si));
397 sip->smbs_uuid = ((smb_system_t *)stp->smbst_hdr)->smbsi_uuid;
403 return (stp->smbst_hdr->smbh_hdl);
415 if (stp->smbst_hdr->smbh_type != SMB_TYPE_BASEBOARD)
418 smb_info_bcopy(stp->smbst_hdr, &bb, sizeof (bb));
440 if (stp->smbst_hdr->smbh_type != SMB_TYPE_CHASSIS)
443 smb_info_bcopy(stp->smbst_hdr, ch, sizeof (buf));
478 if (stp->smbst_hdr->smbh_type != SMB_TYPE_PROCESSOR)
481 smb_info_bcopy(stp->smbst_hdr, &p, sizeof (p));
524 if (stp->smbst_hdr->smbh_type != SMB_TYPE_CACHE)
527 smb_info_bcopy(stp->smbst_hdr, &c, sizeof (c));
560 if (stp->smbst_hdr->smbh_type != SMB_TYPE_PORT)
563 smb_info_bcopy(stp->smbst_hdr, &p, sizeof (p));
585 if (stp->smbst_hdr->smbh_type != SMB_TYPE_SLOT)
588 smb_info_bcopy(stp->smbst_hdr, &s, sizeof (s));
615 if (stp->smbst_hdr->smbh_type != SMB_TYPE_OBDEVEXT)
618 smb_info_bcopy(stp->smbst_hdr, &obe, sizeof (obe));
641 if (stp->smbst_hdr->smbh_type != SMB_TYPE_OBDEVS)
644 op = (smb_obdev_t *)((uintptr_t)stp->smbst_hdr + sizeof (smb_header_t));
645 m = (stp->smbst_hdr->smbh_len - sizeof (smb_header_t)) / sizeof (*op);
673 if (stp->smbst_hdr->smbh_type != SMB_TYPE_OEMSTR &&
674 stp->smbst_hdr->smbh_type != SMB_TYPE_SYSCONFSTR &&
675 stp->smbst_hdr->smbh_type != SMB_TYPE_LANG)
678 smb_info_bcopy(stp->smbst_hdr, &s, sizeof (s));
696 smb_info_bcopy(stp->smbst_hdr, &l, sizeof (l));
703 return (stp->smbst_hdr->smbh_hdl);
716 if (stp->smbst_hdr->smbh_len < sizeof (smb_sel_t) - sizeof (uint8_t))
719 sel = (smb_sel_t *)(uintptr_t)stp->smbst_hdr;
720 len = stp->smbst_hdr->smbh_len - sizeof (smb_sel_t) + sizeof (uint8_t);
740 return (stp->smbst_hdr->smbh_hdl);
752 if (stp->smbst_hdr->smbh_type != SMB_TYPE_MEMARRAY)
755 smb_info_bcopy(stp->smbst_hdr, &m, sizeof (m));
783 if (stp->smbst_hdr->smbh_type != SMB_TYPE_MEMARRAYMAP)
786 smb_info_bcopy(stp->smbst_hdr, &m, sizeof (m));
813 if (stp->smbst_hdr->smbh_type != SMB_TYPE_MEMDEVICE)
816 smb_info_bcopy(stp->smbst_hdr, &m, sizeof (m));
868 if (stp->smbst_hdr->smbh_type != SMB_TYPE_MEMDEVICEMAP)
871 smb_info_bcopy(stp->smbst_hdr, &m, sizeof (m));
901 smb_info_bcopy(stp->smbst_hdr, &hs, sizeof (hs));
909 return (stp->smbst_hdr->smbh_hdl);
916 const smb_boot_t *b = (smb_boot_t *)(uintptr_t)stp->smbst_hdr;
924 bp->smbt_size = stp->smbst_hdr->smbh_len - sizeof (smb_boot_t);
927 return (stp->smbst_hdr->smbh_hdl);
939 smb_info_bcopy(stp->smbst_hdr, &i, sizeof (i));
983 return (stp->smbst_hdr->smbh_hdl);
994 if (stp->smbst_hdr->smbh_type != SMB_TYPE_OEMSTR)
997 smb_info_bcopy(stp->smbst_hdr, &s, sizeof (s));
1049 smbios_info_common(shp, stp->smbst_hdr->smbh_hdl, &s1) == SMB_ERR)
1054 smbios_info_common(shp, stp->smbst_hdr->smbh_hdl, &s3) == SMB_ERR)
1093 if (stp->smbst_hdr->smbh_type != SUN_OEM_EXT_PROCESSOR)
1096 exp = (smb_processor_ext_t *)(uintptr_t)stp->smbst_hdr;
1116 if (stp->smbst_hdr->smbh_type != SUN_OEM_EXT_PORT)
1119 ep = (smb_port_ext_t *)(uintptr_t)stp->smbst_hdr;
1141 if (stp->smbst_hdr->smbh_type != SUN_OEM_PCIEXRC)
1144 smb_info_bcopy(stp->smbst_hdr, &rc, sizeof (rc));
1162 if (stp->smbst_hdr->smbh_type != SUN_OEM_EXT_MEMARRAY)
1165 smb_info_bcopy(stp->smbst_hdr, &exma, sizeof (exma));
1185 if (stp->smbst_hdr->smbh_type != SUN_OEM_EXT_MEMDEVICE)
1188 smb_info_bcopy(stp->smbst_hdr, &exmd, sizeof (exmd));