Lines Matching refs:firstBlock
1108 ; firstBlock - First allocation block to be freed
1122 u_int32_t firstBlock, // First block in range to deallocate
1131 KERNEL_DEBUG_CONSTANT(HFSDBG_BLOCK_DEALLOCATE | DBG_FUNC_START, firstBlock, numBlocks, flags, 0, 0);
1143 if (firstBlock >= hfsmp->totalBlocks) {
1147 if ((firstBlock + numBlocks) >= hfsmp->totalBlocks) {
1175 err = BlockMarkFreeRBTree(vcb, firstBlock, numBlocks);
1179 err = BlockMarkFreeInternal(vcb, firstBlock, numBlocks, true);
1183 err = BlockMarkFreeInternal(vcb, firstBlock, numBlocks, true);
1203 if (vcb->nextAllocation == (firstBlock + numBlocks)) {
1212 (void) add_free_extent_cache(vcb, firstBlock, numBlocks);
1221 if (firstBlock < vcb->sparseAllocation) {
1222 vcb->sparseAllocation = firstBlock;
3045 u_int32_t firstBlock; // First free block in current extent.
3085 firstBlock = 0;
3196 firstBlock = currentBlock;
3276 if ((currentBlock - firstBlock) >= maxBlocks)
3288 foundBlocks = currentBlock - firstBlock;
3297 updated_free_extent = add_free_extent_cache(vcb, firstBlock, foundBlocks);
3314 *actualStartBlock = firstBlock;
3319 if ((firstBlock + foundBlocks) > vcb->allocLimit) {
3322 firstBlock, stopBlock, minBlocks, foundBlocks);