Lines Matching refs:mb
623 smbios_info_t sys, mb; in hardware_workarounds() local
645 smbios_info_common(shp, s_mb.smbstr_id, &mb) == SMB_ERR) in hardware_workarounds()
646 (void) memset(&mb, '\0', sizeof (mb)); in hardware_workarounds()
680 (mb.smbi_manufacturer == NULL || in hardware_workarounds()
681 strcasecmp(val, mb.smbi_manufacturer))) in hardware_workarounds()
684 (mb.smbi_product == NULL || in hardware_workarounds()
685 strcasecmp(val, mb.smbi_product))) in hardware_workarounds()
688 (mb.smbi_version == NULL || in hardware_workarounds()
689 strcasecmp(val, mb.smbi_version))) in hardware_workarounds()
722 struct mboot mb; in write_pmbr() local
732 len = (vtoc->efi_lbasize == 0) ? sizeof (mb) : vtoc->efi_lbasize; in write_pmbr()
744 (void) memcpy(&mb, buf, sizeof (mb)); in write_pmbr()
745 bzero(&mb, sizeof (mb)); in write_pmbr()
746 mb.signature = LE_16(MBB_MAGIC); in write_pmbr()
748 (void) memcpy(&mb, buf, sizeof (mb)); in write_pmbr()
749 if (mb.signature != LE_16(MBB_MAGIC)) { in write_pmbr()
750 bzero(&mb, sizeof (mb)); in write_pmbr()
751 mb.signature = LE_16(MBB_MAGIC); in write_pmbr()
755 bzero(&mb.parts, sizeof (mb.parts)); in write_pmbr()
756 cp = (uchar_t *)&mb.parts[slot * sizeof (struct ipart)]; in write_pmbr()
788 (void) memcpy(buf, &mb, sizeof (mb)); in write_pmbr()