Searched refs:MBRSIZE (Results 1 – 3 of 3) sorted by relevance
61 #define MBRSIZE 512 macro65 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()
71 #define MBRSIZE 512 macro92 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()
46 #define MBRSIZE 512 /* master boot record size */ macro310 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()