Searched refs:lastLBA (Results 1 – 4 of 4) sorted by relevance
36 lastLBA = 0; in GPTPart()68 if (firstLBA <= lastLBA) in GetLengthLBA()69 length = lastLBA - firstLBA + UINT64_C(1); in GetLengthLBA()146 if ((firstLBA > UINT32_MAX) || ((lastLBA - firstLBA) > UINT32_MAX) || (firstLBA > lastLBA)) in IsSizedForMBR()148 else if (lastLBA > UINT32_MAX) in IsSizedForMBR()272 lastLBA = orig.lastLBA;297 sizeInIeee = BytesToIeee(lastLBA - firstLBA + 1, blockSize);304 cout << lastLBA << " ";373 cout << "Last sector: " << lastLBA << " (at "374 << BytesToIeee(lastLBA, blockSize) << ")\n";[all …]
96 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts()106 void GPTDataCurses::AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA) { in AddEmptySpace() argument111 tempSpace->lastLBA = lastLBA; in AddEmptySpace()135 if ((current == lastSpace) && (current->lastLBA < GetLastUsableLBA())) { in AddEmptySpaces()136 AddEmptySpace(current->lastLBA + 1, GetLastUsableLBA()); in AddEmptySpaces()139 … if ((current->prevSpace != NULL) && (current->prevSpace->lastLBA < (current->firstLBA - 1))) { in AddEmptySpaces()140 AddEmptySpace(current->prevSpace->lastLBA + 1, current->firstLBA - 1); in AddEmptySpaces()237 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); in ShowSpace()244 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); in ShowSpace()433 while ((newFirstLBA < currentSpace->firstLBA) || (newFirstLBA > currentSpace->lastLBA)) { in MakeNewPart()[all …]
51 uint64_t lastLBA; variable65 uint64_t GetLastLBA(void) const {return lastLBA;} in GetLastLBA()79 void SetLastLBA(uint64_t l) {lastLBA = l;} in SetLastLBA()
69 uint64_t lastLBA; member92 void AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA);