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

/freebsd-13-stable/sys/geom/part/
H A Dg_part_mbr.c63 #define MBRSIZE 512 macro
67 u_char mbr[MBRSIZE];
122 .gps_bootcodesz = MBRSIZE,
272 if (gpp->gpp_codesize != MBRSIZE)
290 if (pp->sectorsize < MBRSIZE)
417 if (pp->sectorsize < MBRSIZE || pp->mediasize < pp->sectorsize)
H A Dg_part_gpt.c73 #define MBRSIZE 512 macro
93 u_char mbr[MBRSIZE];
158 .gps_bootcodesz = MBRSIZE,
693 if (pp->sectorsize < MBRSIZE ||
868 if (pp->sectorsize < MBRSIZE || pp->mediasize < 6 * pp->sectorsize)
930 bcopy(buf, table->mbr, MBRSIZE);
1195 bcopy(table->mbr, buf, MBRSIZE);
/freebsd-13-stable/usr.sbin/boot0cfg/
H A Dboot0cfg.c48 #define MBRSIZE 512 /* master boot record size */ macro
312 u_int8_t buf[MBRSIZE];
319 if ((n = read(fd, buf, MBRSIZE)) == -1)
321 if (n != MBRSIZE)

Completed in 158 milliseconds