Home
last modified time | relevance | path

Searched refs:lastLBA (Results 1 – 5 of 5) sorted by relevance

/external/gptfdisk/
Dgptpart.cc38 lastLBA = 0; in GPTPart()
70 if (firstLBA <= lastLBA) in GetLengthLBA()
71 length = lastLBA - firstLBA + UINT64_C(1); in GetLengthLBA()
148 if ((firstLBA > UINT32_MAX) || ((lastLBA - firstLBA) > UINT32_MAX) || (firstLBA > lastLBA)) in IsSizedForMBR()
150 else if (lastLBA > UINT32_MAX) in IsSizedForMBR()
274 lastLBA = orig.lastLBA;
299 sizeInIeee = BytesToIeee(lastLBA - firstLBA + 1, blockSize);
306 cout << lastLBA << " ";
375 cout << "Last sector: " << lastLBA << " (at "
376 << BytesToIeee(lastLBA, blockSize) << ")\n";
[all …]
Dgptcurses.cc96 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()
[all …]
Dgptpart.h51 uint64_t lastLBA; variable
65 uint64_t GetLastLBA(void) const {return lastLBA;} in GetLastLBA()
79 void SetLastLBA(uint64_t l) {lastLBA = l;} in SetLastLBA()
Dgptcurses.h69 uint64_t lastLBA; member
92 void AddEmptySpace(uint64_t firstLBA, uint64_t lastLBA);
/external/syslinux/utils/
Disohybrid.c187 uint64_t lastLBA; member
854 part->lastLBA = lendian_64(psize - 1); in initialise_gpt()
863 part->lastLBA = lendian_64(part->firstLBA + efi_count - 1); in initialise_gpt()
876 part->lastLBA = lendian_64(part->firstLBA + mac_count - 1); in initialise_gpt()