Lines Matching refs:lastLBA
96 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts()
106 void GPTDataCurses::AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA) { in AddEmptySpace() argument
111 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()
439 …printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstL… in MakeNewPart()
443 …newFirstLBA = IeeeToInt(inLine, blockSize, currentSpace->firstLBA, currentSpace->lastLBA, newFirst… in MakeNewPart()
446 size = currentSpace->lastLBA - newFirstLBA + 1; in MakeNewPart()
447 while ((newLastLBA > currentSpace->lastLBA) || (newLastLBA < newFirstLBA)) { in MakeNewPart()