Home
last modified time | relevance | path

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

/third_party/gptfdisk/
Dbasicmbr.cc42 myDisk = NULL; in BasicMBRData()
64 myDisk = new DiskIO; in BasicMBRData()
65 if (myDisk == NULL) { in BasicMBRData()
69 if (orig.myDisk != NULL) in BasicMBRData()
70 myDisk->OpenForRead(orig.myDisk->GetName()); in BasicMBRData()
85 myDisk = NULL; in BasicMBRData()
101 delete myDisk; in ~BasicMBRData()
121 myDisk = new DiskIO; in operator =()
122 if (myDisk == NULL) { in operator =()
126 if (orig.myDisk != NULL) in operator =()
[all …]
Dgpt.cc116 myDisk.OpenForRead(orig.myDisk.GetName()); in GPTData()
187 myDisk.OpenForRead(orig.myDisk.GetName()); in operator =()
778 if (allOK && myDisk.OpenForRead(deviceFilename)) { in SetDisk()
780 diskSize = myDisk.DiskSize(&err); in SetDisk()
781 blockSize = (uint32_t) myDisk.GetBlockSize(); in SetDisk()
782 physBlockSize = (uint32_t) myDisk.GetPhysBlockSize(); in SetDisk()
784 protectiveMBR.SetDisk(&myDisk); in SetDisk()
798 protectiveMBR.ReadMBRData(&myDisk); in PartitionScan()
799 bsdDisklabel.ReadBSDData(&myDisk, 0, diskSize - 1); in PartitionScan()
838 if (myDisk.OpenForRead(deviceFilename)) { 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.h69 DiskIO myDisk; variable
113 DiskIO* GetDisk(void) {return &myDisk;} in GetDisk()
115 int WriteProtectiveMBR(void) {return protectiveMBR.WriteMBRData(&myDisk);} in WriteProtectiveMBR()
Dbasicmbr.h56 DiskIO* myDisk; variable
76 void DiskSync(void) {myDisk->DiskSync();} in DiskSync()
Dbsd.h76 int ReadBSDData(DiskIO *myDisk, uint64_t startSector, uint64_t endSector);
Dgptcurses.cc504 if (!myDisk.DiskSync()) in SaveData()