Lines Matching refs:mbr
55 static SYSCTL_NODE(_kern_geom_part, OID_AUTO, mbr, CTLFLAG_RW, 0,
66 u_char mbr[MBRSIZE];
275 dsn = *(uint32_t *)(table->mbr + DOSDSNOFF);
276 bcopy(gpp->gpp_codeptr, table->mbr, DOSPARTOFF);
278 *(uint32_t *)(table->mbr + DOSDSNOFF) = dsn;
297 le16enc(table->mbr + DOSMAGICOFFSET, DOSMAGIC);
329 dsn = le32dec(table->mbr + DOSDSNOFF);
484 bcopy(buf, table->mbr, sizeof(table->mbr));
595 p = table->mbr + DOSPARTOFF + (index - 1) * DOSPARTSIZE;
616 error = g_write_data(cp, 0, table->mbr, cp->provider->sectorsize);