Searched refs:theDisk (Results 1 – 3 of 3) sorted by relevance
/external/gptfdisk/ |
D | basicmbr.h | 72 int ReadMBRData(DiskIO * theDisk, int checkBlockSize = 1); 75 int WriteMBRData(DiskIO *theDisk); 77 int WriteMBRData(struct TempMBR & mbr, DiskIO *theDisk, uint64_t sector); 79 void SetDisk(DiskIO *theDisk);
|
D | bsd.cc | 68 int BSDData::ReadBSDData(DiskIO *theDisk, uint64_t startSector, uint64_t endSector) { in ReadBSDData() argument 81 offset[1] = theDisk->GetBlockSize(); in ReadBSDData() 87 allOK = theDisk->Seek(startSector); in ReadBSDData() 88 if (allOK) allOK = theDisk->Read(buffer, 4096); in ReadBSDData()
|
D | basicmbr.cc | 172 int BasicMBRData::ReadMBRData(DiskIO * theDisk, int checkBlockSize) { in ReadMBRData() argument 177 if ((myDisk != NULL) && (myDisk != theDisk) && (canDeleteMyDisk)) { in ReadMBRData() 182 myDisk = theDisk; in ReadMBRData() 376 int BasicMBRData::WriteMBRData(DiskIO *theDisk) { in WriteMBRData() argument 397 allOK = allOK && WriteMBRData(tempMBR, theDisk, 0); in WriteMBRData() 432 allOK = WriteMBRData(tempMBR, theDisk, writeEbrTo); in WriteMBRData() 449 int BasicMBRData::WriteMBRData(struct TempMBR & mbr, DiskIO *theDisk, uint64_t sector) { in WriteMBRData() argument 464 allOK = theDisk->OpenForWrite(); in WriteMBRData() 465 if (allOK && theDisk->Seek(sector)) { in WriteMBRData() 466 if (theDisk->Write(&mbr, 512) != 512) { in WriteMBRData() [all …]
|