Lines Matching refs:mbr
158 * @mbr: pointer to a legacy mbr structure
174 static int is_pmbr_valid(legacy_mbr *mbr, sector_t total_sectors)
179 if (!mbr || le16_to_cpu(mbr->signature) != MSDOS_MBR_SIGNATURE)
183 ret = pmbr_part_valid(&mbr->partition_record[i]);
199 if ((mbr->partition_record[i].os_type !=
201 (mbr->partition_record[i].os_type != 0x00))
217 sz = le32_to_cpu(mbr->partition_record[part].size_in_lba);
219 pr_debug("GPT: mbr size in lba (%u) different than whole disk (%u).\n",