Home
last modified time | relevance | path

Searched refs:myDisk (Results 1 – 7 of 7) sorted by relevance

/external/gptfdisk/
Dbasicmbr.cc42 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 …]
Dgpt.cc146 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 …]
Dbsd.cc50 DiskIO myDisk; in ReadBSDData() local
53 if (myDisk.OpenForRead(device)) { in ReadBSDData()
54 allOK = ReadBSDData(&myDisk, startSector, endSector); in ReadBSDData()
59 myDisk.Close(); in ReadBSDData()
Dgpt.h70 DiskIO myDisk; variable
113 DiskIO* GetDisk(void) {return &myDisk;} in GetDisk()
115 int WriteProtectiveMBR(void) {return protectiveMBR.WriteMBRData(&myDisk);} in WriteProtectiveMBR()
Dbasicmbr.h57 DiskIO* myDisk; variable
76 void DiskSync(void) {myDisk->DiskSync();} in DiskSync()
Dbsd.h79 int ReadBSDData(DiskIO *myDisk, uint64_t startSector, uint64_t endSector);
Dgptcurses.cc490 if (!myDisk.DiskSync()) in SaveData()