Home | History | Annotate | Download | only in gptfdisk

Lines Matching refs:firstBlock

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