Home | History | Annotate | Download | only in gptfdisk

Lines Matching defs:last

239       cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA
240 << ") doesn't\nmatch the backup GPT header's last usable LBA pointer ("
281 cout << "\nProblem: GPT claims the disk is larger than it is! (Claimed last usable\n"
355 // first, locate the first & last used blocks
386 cout << "\nWarning! Secondary partition table overlaps the last partition by\n"
813 << "secondary header from the last sector of the disk! You should use 'v' to\n"
1072 cout << "Warning! The claimed last usable sector is incorrect! Do you want to correct\n"
1076 cout << "Have adjusted the second header and last usable sector value.\n";
1440 << ", last usable sector is " << mainHeader.lastUsableLBA << "\n";
1978 // only on the FIRST sector of the partition, not the last!
2140 // Find the last available block on the disk.
2143 uint64_t last;
2147 // Start by assuming the last usable LBA is available....
2148 last = mainHeader.lastUsableLBA;
2151 // through all partitions, moving last when it's in an existing
2157 if ((last >= partitions[i].GetFirstLBA()) &&
2158 (last <= partitions[i].GetLastLBA())) { // in existing part.
2159 last = partitions[i].GetFirstLBA() - 1;
2164 if (last < mainHeader.firstUsableLBA)
2165 last = 0;
2166 return (last);
2169 // Find the last available block in the free space pointed to by start.
2190 uint64_t lastBlock; // last block in a segment