Home
last modified time | relevance | path

Searched refs:MBRSIZE (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/geom/part/
H A Dg_part_mbr.c60 #define MBRSIZE 512 macro
64 u_char mbr[MBRSIZE];
120 .gps_bootcodesz = MBRSIZE,
270 if (gpp->gpp_codesize != MBRSIZE) in g_part_mbr_bootcode()
288 if (pp->sectorsize < MBRSIZE) in g_part_mbr_create()
424 if (pp->sectorsize < MBRSIZE || pp->mediasize < pp->sectorsize) in g_part_mbr_probe()
H A Dg_part_gpt.c70 #define MBRSIZE 512 macro
91 u_char mbr[MBRSIZE];
160 .gps_bootcodesz = MBRSIZE,
706 if (pp->sectorsize < MBRSIZE || in g_part_gpt_create()
887 if (pp->sectorsize < MBRSIZE || pp->mediasize < 6 * pp->sectorsize) in g_part_gpt_probe()
949 bcopy(buf, table->mbr, MBRSIZE); in g_part_gpt_read()
1235 bcopy(table->mbr, buf, MBRSIZE); in g_part_gpt_write()
/freebsd/usr.sbin/boot0cfg/
H A Dboot0cfg.c45 #define MBRSIZE 512 /* master boot record size */ macro
309 u_int8_t buf[MBRSIZE]; in read_mbr()
316 if ((n = read(fd, buf, MBRSIZE)) == -1) in read_mbr()
318 if (n != MBRSIZE) in read_mbr()