Home
last modified time | relevance | path

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

/external/gptfdisk/
Dbasicmbr.cc40 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 …]
Dgpt.cc141 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 …]
Dbsd.cc48 DiskIO myDisk; in ReadBSDData() local
51 if (myDisk.OpenForRead(device)) { in ReadBSDData()
52 allOK = ReadBSDData(&myDisk, startSector, endSector); in ReadBSDData()
57 myDisk.Close(); in ReadBSDData()
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()