Lines Matching defs:endingBlock

302 	u_int32_t		endingBlock,
311 u_int32_t endingBlock,
338 u_int32_t endingBlock,
1544 * Constrain the endingBlock so we don't bother looking for ranges
1796 endingBlock Last block to check + 1
1814 register u_int32_t endingBlock,
1826 return BlockAllocateAnyBitmap(vcb, startingBlock, endingBlock, maxBlocks, useMetaZone, actualStartBlock, actualNumBlocks);
1868 register u_int32_t endingBlock,
1888 KERNEL_DEBUG_CONSTANT(HFSDBG_ALLOC_ANY_BITMAP | DBG_FUNC_START, startingBlock, endingBlock, maxBlocks, useMetaZone, 0);
1899 if (endingBlock > (vcb->hfs_metazone_end + 2))
1909 if (maxBlocks > (endingBlock - startingBlock)) {
1910 maxBlocks = endingBlock - startingBlock;
1940 while (block < endingBlock) {
1964 if (block >= endingBlock) {
1981 if (block >= endingBlock) {
1990 // If we could get the desired number of blocks before hitting endingBlock,
1991 // then adjust endingBlock so we won't keep looking. Ideally, the comparison
1992 // would be (block + maxBlocks) < endingBlock, but that could overflow. The
1994 if (block < (endingBlock-maxBlocks)) {
1995 endingBlock = block + maxBlocks; // if we get this far, we've found enough
2012 if (block == endingBlock)
3018 endingBlock Last possible block in range + 1
3036 u_int32_t endingBlock,
3058 KERNEL_DEBUG_CONSTANT(HFSDBG_BLOCK_FIND_CONTIG | DBG_FUNC_START, startingBlock, endingBlock, minBlocks, maxBlocks, 0);
3069 if (endingBlock > (vcb->hfs_metazone_end + 2))
3076 if ((endingBlock - startingBlock) < minBlocks)
3083 stopBlock = endingBlock - minBlocks + 1;
3228 while (currentBlock < endingBlock)
3283 if (currentBlock > endingBlock)
3284 currentBlock = endingBlock;
3321 vcb->vcbVN, startingBlock, endingBlock, currentBlock,