Lines Matching refs:mbr
210 state = mbr; in ReadMBRData()
416 int BasicMBRData::WriteMBRData(struct TempMBR & mbr, DiskIO *theDisk, uint64_t sector) { in WriteMBRData() argument
421 ReverseBytes(&mbr.diskSignature, 4); in WriteMBRData()
422 ReverseBytes(&mbr.nulls, 2); in WriteMBRData()
423 ReverseBytes(&mbr.MBRSignature, 2); in WriteMBRData()
425 ReverseBytes(&mbr.partitions[i].firstLBA, 4); in WriteMBRData()
426 ReverseBytes(&mbr.partitions[i].lengthLBA, 4); in WriteMBRData()
433 if (theDisk->Write(&mbr, 512) != 512) { in WriteMBRData()
445 ReverseBytes(&mbr.diskSignature, 4); in WriteMBRData()
446 ReverseBytes(&mbr.nulls, 2); in WriteMBRData()
447 ReverseBytes(&mbr.MBRSignature, 2); in WriteMBRData()
449 ReverseBytes(&mbr.partitions[i].firstLBA, 4); in WriteMBRData()
450 ReverseBytes(&mbr.partitions[i].lengthLBA, 4); in WriteMBRData()
517 case mbr: in ShowState()
977 state = mbr; in EmptyMBR()