Lines Matching defs:mbr
189 gpt_warnx(gpt, "MBR partition without disklabel");
241 struct mbr *mbr;
248 gpt_warnx(gpt, "No MBR in disk to convert");
252 mbr = map->map_data;
261 start = le16toh(mbr->mbr_part[i].part_start_hi);
262 start = (start << 16) + le16toh(mbr->mbr_part[i].part_start_lo);
263 size = le16toh(mbr->mbr_part[i].part_size_hi);
264 size = (size << 16) + le16toh(mbr->mbr_part[i].part_size_lo);
267 gpt_msg(gpt, "MBR partition %u type %s", i,
268 mbrptypename(mbr->mbr_part[i].part_typ));
269 switch (mbr->mbr_part[i].part_typ) {
312 mbr->mbr_part[i].part_typ);
331 * Turn the MBR into a Protective MBR.
333 memset(mbr->mbr_part, 0, sizeof(mbr->mbr_part));
334 gpt_create_pmbr_part(mbr->mbr_part, last, active);