Lines Matching defs:first
281 cout << "\nProblem: main GPT header's first usable LBA pointer (" << mainHeader.firstUsableLBA
282 << ") doesn't\nmatch the backup GPT header's first usable LBA pointer ("
330 cout << "\nProblem: Main partition table extends past the first usable LBA.\n"
360 << "and the first usable sector (" << mainHeader.firstUsableLBA << "). This is helpful in some exotic configurations,\n"
459 // first, locate the first & last used blocks
478 cout << "Warning! Main partition table overlaps the first partition by "
1274 // As per UEFI specs, write the secondary table and GPT first....
1660 cout << "\a THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Your first\n"
2226 // are found, as well as when a single partition in the first
2251 // Returns the value of the first free partition, or -1 if none is
2282 // Find the first available block after the starting point; returns 0 if
2285 uint64_t first;
2289 // Begin from the specified starting point or from the first usable
2292 first = mainHeader.firstUsableLBA;
2294 first = start;
2296 // ...now search through all partitions; if first is within an
2298 // partition and repeat. If first was moved, set firstMoved
2304 if ((partitions[i].IsUsed()) && (first >= partitions[i].GetFirstLBA()) &&
2305 (first <= partitions[i].GetLastLBA())) { // in existing part.
2306 first = partitions[i].GetLastLBA() + 1;
2311 if (first > mainHeader.lastUsableLBA)
2312 first = 0;
2313 return (first);
2316 // Returns the LBA of the start of the first partition on the disk (by
2344 // Finds the first available sector in the largest block of unallocated
2424 uint64_t firstBlock; // first block in a segment