Home
last modified time | relevance | path

Searched refs:lastLBA (Results 1 - 4 of 4) sorted by relevance

/third_party/gptfdisk/
H A Dgptpart.cc37 lastLBA = 0; in GPTPart()
46 lastLBA = orig.lastLBA; in GPTPart()
78 if (firstLBA <= lastLBA) in GetLengthLBA()
79 length = lastLBA - firstLBA + UINT64_C(1); in GetLengthLBA()
155 if ((firstLBA > UINT32_MAX) || ((lastLBA - firstLBA) > UINT32_MAX) || (firstLBA > lastLBA)) in IsSizedForMBR()
157 else if (lastLBA > UINT32_MAX) in IsSizedForMBR()
278 lastLBA = orig.lastLBA;
310 cout << lastLBA << " "; global() local
[all...]
H A Dgptcurses.cc101 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts()
111 void GPTDataCurses::AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA) { in AddEmptySpace() argument
116 tempSpace->lastLBA = lastLBA; in AddEmptySpace()
140 if ((current == lastSpace) && (current->lastLBA < GetLastUsableLBA())) { in AddEmptySpaces()
141 AddEmptySpace(current->lastLBA + 1, GetLastUsableLBA()); in AddEmptySpaces()
144 if ((current->prevSpace != NULL) && (current->prevSpace->lastLBA < (current->firstLBA - 1))) { in AddEmptySpaces()
145 AddEmptySpace(current->prevSpace->lastLBA + 1, current->firstLBA - 1); in AddEmptySpaces()
242 printw("%s", BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str()); in ShowSpace()
249 printw("%s", BytesToIeee((space->lastLBA in ShowSpace()
[all...]
H A Dgptpart.h49 uint64_t lastLBA; member in GPTPart
64 uint64_t GetLastLBA(void) const {return lastLBA;} in GetLastLBA()
78 void SetLastLBA(uint64_t l) {lastLBA = l;} in SetLastLBA()
H A Dgptcurses.h67 uint64_t lastLBA; member
90 void AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA);

Completed in 3 milliseconds