Lines Matching refs:MBRbuf
88 static char MBRbuf[2048], *disk_device; variable
275 const unsigned char *bufp = (const unsigned char *)MBRbuf; in physical_HS()
304 pe->part = part_offset(MBRbuf, i); in reset_boot()
306 pe->sec_buffer = MBRbuf; in reset_boot()
333 memset(&MBRbuf[510 - 4*16], 0, 4*16); in create_empty_doslabel()
334 write_table_flag(MBRbuf); in create_empty_doslabel()
361 if (SECTOR_SIZE != readall(dev_fd, MBRbuf, SECTOR_SIZE)) { in read_mbr()
365 if (validate && !validate_part_buff(MBRbuf)) { in read_mbr()
458 if (validate && !validate_part_buff(MBRbuf)) { in list_partitions()
525 partitions[i].part = part_offset(MBRbuf, i); in init_members()
526 partitions[i].sec_buffer = MBRbuf; in init_members()
1423 memset(MBRbuf, 0, sizeof(MBRbuf)); in reset_entries()