Searched refs:myDisk (Results 1 – 6 of 6) sorted by relevance
40 myDisk = NULL; in BasicMBRData()53 myDisk = NULL; in BasicMBRData()69 delete myDisk; in ~BasicMBRData()88 myDisk = new DiskIO; in operator =()89 if (myDisk == NULL) { in operator =()93 if (orig.myDisk != NULL) in operator =()94 myDisk->OpenForRead(orig.myDisk->GetName()); in operator =()113 if (myDisk == NULL) { in ReadMBRData()114 myDisk = new DiskIO; in ReadMBRData()115 if (myDisk == NULL) { in ReadMBRData()[all …]
141 myDisk.OpenForRead(orig.myDisk.GetName()); in operator =()682 if (allOK && myDisk.OpenForRead(deviceFilename)) { in SetDisk()684 diskSize = myDisk.DiskSize(&err); in SetDisk()685 blockSize = (uint32_t) myDisk.GetBlockSize(); in SetDisk()687 protectiveMBR.SetDisk(&myDisk); in SetDisk()701 protectiveMBR.ReadMBRData(&myDisk); in PartitionScan()702 bsdDisklabel.ReadBSDData(&myDisk, 0, diskSize - 1); in PartitionScan()741 if (myDisk.OpenForRead(deviceFilename)) { in LoadPartitions()742 err = myDisk.OpenForWrite(deviceFilename); in LoadPartitions()753 myDisk.Close(); // Close and re-open read-only in case of bugs in LoadPartitions()[all …]
48 DiskIO myDisk; in ReadBSDData() local51 if (myDisk.OpenForRead(device)) { in ReadBSDData()52 allOK = ReadBSDData(&myDisk, startSector, endSector); in ReadBSDData()57 myDisk.Close(); in ReadBSDData()
57 DiskIO* myDisk; variable76 void DiskSync(void) {myDisk->DiskSync();} in DiskSync()
79 int ReadBSDData(DiskIO *myDisk, uint64_t startSector, uint64_t endSector);
490 if (!myDisk.DiskSync()) in SaveData()