Lines Matching defs:mbr
76 struct mbr *mbr;
81 gpt_warnx(gpt, "Device contains a MBR");
84 /* Nuke the MBR in our internal map. */
96 mbr = gpt_read(gpt, 0LL, 1);
97 if (mbr == NULL) {
98 gpt_warnx(gpt, "Error reading MBR");
101 memset(mbr, 0, sizeof(*mbr));
102 mbr->mbr_sig = htole16(MBR_SIG);
103 gpt_create_pmbr_part(mbr->mbr_part, last, active);
105 map = map_add(gpt, 0LL, 1LL, MAP_TYPE_PMBR, mbr, 1);