Home
last modified time | relevance | path

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

/freebsd-14.2/sys/geom/part/
H A Dg_part_mbr.c61 #define MBRSIZE 512 macro
65 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.c71 #define MBRSIZE 512 macro
92 u_char mbr[MBRSIZE];
160 .gps_bootcodesz = MBRSIZE,
704 if (pp->sectorsize < MBRSIZE || in g_part_gpt_create()
885 if (pp->sectorsize < MBRSIZE || pp->mediasize < 6 * pp->sectorsize) in g_part_gpt_probe()
947 bcopy(buf, table->mbr, MBRSIZE); in g_part_gpt_read()
1219 bcopy(table->mbr, buf, MBRSIZE); in g_part_gpt_write()
/freebsd-14.2/usr.sbin/boot0cfg/
H A Dboot0cfg.c46 #define MBRSIZE 512 /* master boot record size */ macro
310 u_int8_t buf[MBRSIZE]; in read_mbr()
317 if ((n = read(fd, buf, MBRSIZE)) == -1) in read_mbr()
319 if (n != MBRSIZE) in read_mbr()