Lines Matching refs:first
280 // partNum = number of first partition in extended partition (normally 4).
666 // are found, as well as when a single partition in the first
864 // Returns the first sector occupied by any logical partition. Note that
1092 uint64_t firstBlock; // first block in a segment
1222 // the first partition, if possible.
1309 // Removes logical partitions and deactivated partitions from first four
1337 // Move all primaries into the first four partition spaces
1363 // This function also sorts the primaries into the first four positions of
1411 // Finds the first free space on the disk from start onward; returns 0
1414 uint64_t first;
1421 first = start;
1423 // ...now search through all partitions; if first is within an
1425 // partition and repeat. If first was moved, set firstMoved
1432 if ((first >= partitions[i].GetStartLBA()) &&
1433 (first < (partitions[i].GetStartLBA() + partitions[i].GetLengthLBA()))) {
1434 first = partitions[i].GetStartLBA() + partitions[i].GetLengthLBA();
1439 if ((first >= diskSize) || (first > UINT32_MAX))
1440 first = 0;
1441 return (first);
1463 // Finds the first free sector on the disk from start backward.