Lines Matching defs:last
287 cout << "\nProblem: main GPT header's last usable LBA pointer (" << mainHeader.lastUsableLBA
288 << ") doesn't\nmatch the backup GPT header's last usable LBA pointer ("
375 cout << "\nProblem: GPT claims the disk is larger than it is! (Claimed last usable\n"
459 // first, locate the first & last used blocks
490 cout << "\nWarning! Secondary partition table overlaps the last partition by\n"
934 << "secondary header from the last sector of the disk! You should use 'v' to\n"
1229 cout << "Warning! The claimed last usable sector is incorrect! Do you want to correct\n"
1233 cout << "Have adjusted the second header and last usable sector value.\n";
1604 << ", last usable sector is " << mainHeader.lastUsableLBA << "\n";
2177 // only on the FIRST sector of the partition, not the last!
2330 // Returns the LBA of the end of the last partition on the disk (by
2365 // Find the last available block on the disk.
2368 uint64_t last;
2372 // Start by assuming the last usable LBA is available....
2373 last = mainHeader.lastUsableLBA;
2376 // through all partitions, moving last when it's in an existing
2382 if ((last >= partitions[i].GetFirstLBA()) &&
2383 (last <= partitions[i].GetLastLBA())) { // in existing part.
2384 last = partitions[i].GetFirstLBA() - 1;
2389 if (last < mainHeader.firstUsableLBA)
2390 last = 0;
2391 return (last);
2394 // Find the last available block in the free space pointed to by start.
2395 // If align == true, returns the last sector that's aligned on the
2397 // if align == false, returns the last available block regardless of
2425 uint64_t lastBlock; // last block in a segment