Searched refs:MBRSIZE (Results 1 – 3 of 3) sorted by relevance
60 #define MBRSIZE 512 macro64 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()
70 #define MBRSIZE 512 macro91 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()
45 #define MBRSIZE 512 /* master boot record size */ macro309 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()