Lines Matching refs:firstBlock
2122 uint64_t start, firstBlock, lastBlock, segmentSize, selectedSize = 0, selectedSegment = 0; in FindFirstInLargest() local
2126 firstBlock = FindFirstAvailable(start); in FindFirstInLargest()
2127 if (firstBlock != UINT32_C(0)) { // something's free... in FindFirstInLargest()
2128 lastBlock = FindLastInFree(firstBlock); in FindFirstInLargest()
2129 segmentSize = lastBlock - firstBlock + UINT32_C(1); in FindFirstInLargest()
2132 selectedSegment = firstBlock; in FindFirstInLargest()
2136 } while (firstBlock != 0); in FindFirstInLargest()
2189 uint64_t firstBlock; // first block in a segment in FindFreeBlocks() local
2197 firstBlock = FindFirstAvailable(start); in FindFreeBlocks()
2198 if (firstBlock != UINT64_C(0)) { // something's free... in FindFreeBlocks()
2199 lastBlock = FindLastInFree(firstBlock); in FindFreeBlocks()
2200 segmentSize = lastBlock - firstBlock + UINT64_C(1); in FindFreeBlocks()
2208 } while (firstBlock != 0); in FindFreeBlocks()