Home | History | Annotate | Download | only in gptfdisk

Lines Matching refs:lastLBA

96          tempSpace->lastLBA = partitions[i].GetLastLBA();
106 void GPTDataCurses::AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA) {
111 tempSpace->lastLBA = lastLBA;
135 if ((current == lastSpace) && (current->lastLBA < GetLastUsableLBA())) {
136 AddEmptySpace(current->lastLBA + 1, GetLastUsableLBA());
139 if ((current->prevSpace != NULL) && (current->prevSpace->lastLBA < (current->firstLBA - 1))) {
140 AddEmptySpace(current->prevSpace->lastLBA + 1, current->firstLBA - 1);
237 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str());
244 printw(BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str());
433 while ((newFirstLBA < currentSpace->firstLBA) || (newFirstLBA > currentSpace->lastLBA)) {
439 printw("First sector (%lld-%lld, default = %lld): ", newFirstLBA, currentSpace->lastLBA, newFirstLBA);
443 newFirstLBA = IeeeToInt(inLine, blockSize, currentSpace->firstLBA, currentSpace->lastLBA, newFirstLBA);
446 size = currentSpace->lastLBA - newFirstLBA + 1;
447 while ((newLastLBA > currentSpace->lastLBA) || (newLastLBA < newFirstLBA)) {