Searched refs:myDisk (Results 1 – 7 of 7) sorted by relevance
42 myDisk = NULL; in BasicMBRData()55 myDisk = NULL; in BasicMBRData()71 delete myDisk; in ~BasicMBRData()90 myDisk = new DiskIO; in operator =()91 if (myDisk == NULL) { in operator =()95 if (orig.myDisk != NULL) in operator =()96 myDisk->OpenForRead(orig.myDisk->GetName()); in operator =()115 if (myDisk == NULL) { in ReadMBRData()116 myDisk = new DiskIO; in ReadMBRData()117 if (myDisk == NULL) { in ReadMBRData()[all …]
146 myDisk.OpenForRead(orig.myDisk.GetName()); in operator =()687 if (allOK && myDisk.OpenForRead(deviceFilename)) { in SetDisk()689 diskSize = myDisk.DiskSize(&err); in SetDisk()690 blockSize = (uint32_t) myDisk.GetBlockSize(); in SetDisk()692 protectiveMBR.SetDisk(&myDisk); in SetDisk()706 protectiveMBR.ReadMBRData(&myDisk); in PartitionScan()707 bsdDisklabel.ReadBSDData(&myDisk, 0, diskSize - 1); in PartitionScan()746 if (myDisk.OpenForRead(deviceFilename)) { in LoadPartitions()747 err = myDisk.OpenForWrite(deviceFilename); in LoadPartitions()758 myDisk.Close(); // Close and re-open read-only in case of bugs in LoadPartitions()[all …]
50 DiskIO myDisk; in ReadBSDData() local53 if (myDisk.OpenForRead(device)) { in ReadBSDData()54 allOK = ReadBSDData(&myDisk, startSector, endSector); in ReadBSDData()59 myDisk.Close(); in ReadBSDData()
70 DiskIO myDisk; variable113 DiskIO* GetDisk(void) {return &myDisk;} in GetDisk()115 int WriteProtectiveMBR(void) {return protectiveMBR.WriteMBRData(&myDisk);} in WriteProtectiveMBR()
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()