Searched refs:lastLBA (Results 1 – 4 of 4) sorted by relevance
38 lastLBA = 0; in GPTPart()47 lastLBA = orig.lastLBA; in GPTPart()79 if (firstLBA <= lastLBA) in GetLengthLBA()80 length = lastLBA - firstLBA + UINT64_C(1); in GetLengthLBA()157 if ((firstLBA > UINT32_MAX) || ((lastLBA - firstLBA) > UINT32_MAX) || (firstLBA > lastLBA)) in IsSizedForMBR()159 else if (lastLBA > UINT32_MAX) in IsSizedForMBR()283 lastLBA = orig.lastLBA;308 sizeInIeee = BytesToIeee(lastLBA - firstLBA + 1, blockSize);315 cout << lastLBA << " ";384 cout << "Last sector: " << lastLBA << " (at "[all …]
97 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts()107 void GPTDataCurses::AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA) { in AddEmptySpace() argument112 tempSpace->lastLBA = lastLBA; in AddEmptySpace()136 if ((current == lastSpace) && (current->lastLBA < GetLastUsableLBA())) { in AddEmptySpaces()137 AddEmptySpace(current->lastLBA + 1, GetLastUsableLBA()); in AddEmptySpaces()140 … if ((current->prevSpace != NULL) && (current->prevSpace->lastLBA < (current->firstLBA - 1))) { in AddEmptySpaces()141 AddEmptySpace(current->prevSpace->lastLBA + 1, current->firstLBA - 1); in AddEmptySpaces()238 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); in ShowSpace()245 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); in ShowSpace()435 while ((newFirstLBA < currentSpace->firstLBA) || (newFirstLBA > currentSpace->lastLBA)) { in MakeNewPart()[all …]
51 uint64_t lastLBA; variable66 uint64_t GetLastLBA(void) const {return lastLBA;} in GetLastLBA()80 void SetLastLBA(uint64_t l) {lastLBA = l;} in SetLastLBA()
69 uint64_t lastLBA; member92 void AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA);