Searched refs:nearestStart (Results 1 – 2 of 2) sorted by relevance
1413 uint64_t nearestStart; in FindLastInFree() local1417 nearestStart = diskSize - 1; in FindLastInFree()1419 nearestStart = UINT32_MAX - 1; in FindLastInFree()1422 if ((nearestStart > partitions[i].GetStartLBA()) && in FindLastInFree()1424 nearestStart = partitions[i].GetStartLBA() - 1; in FindLastInFree()1427 return (nearestStart); in FindLastInFree()
2178 uint64_t nearestStart; in FindLastInFree() local2181 nearestStart = mainHeader.lastUsableLBA; in FindLastInFree()2183 if ((nearestStart > partitions[i].GetFirstLBA()) && in FindLastInFree()2185 nearestStart = partitions[i].GetFirstLBA() - 1; in FindLastInFree()2188 return (nearestStart); in FindLastInFree()