Lines Matching defs:minBlocks

320 	u_int32_t		minBlocks,
329 u_int32_t minBlocks,
339 u_int32_t minBlocks,
392 u_int32_t minBlocks,
798 ; minBlocks - Number of blocks requested. If the allocation is non-contiguous,
819 u_int32_t minBlocks, /* desired number of blocks to allocate */
824 /* was zero, then this may represent fewer than minBlocks */
834 KERNEL_DEBUG_CONSTANT(HFSDBG_BLOCK_ALLOCATE | DBG_FUNC_START, startingBlock, minBlocks, maxBlocks, flags, 0);
888 if (forceContiguous && freeBlocks < minBlocks) {
896 if (minBlocks > freeBlocks) {
897 minBlocks = freeBlocks;
932 err = BlockAllocateContig(vcb, startingBlock, minBlocks, maxBlocks,
1479 minBlocks Minimum number of contiguous blocks to allocate
1491 u_int32_t minBlocks,
1500 return BlockAllocateContigRBTree(vcb, startingBlock, minBlocks, maxBlocks, useMetaZone,
1504 return BlockAllocateContigBitmap(vcb, startingBlock, minBlocks,
1515 u_int32_t minBlocks,
1524 KERNEL_DEBUG_CONSTANT(HFSDBG_ALLOC_CONTIG_BITMAP | DBG_FUNC_START, startingBlock, minBlocks, maxBlocks, useMetaZone, 0);
1527 // Find a contiguous group of blocks at least minBlocks long.
1533 * NOTE: If the only contiguous free extent of at least minBlocks
1536 * the second search look past startingBlock by minBlocks. But
1540 err = BlockFindContiguous(vcb, startingBlock, vcb->allocLimit, minBlocks,
1547 err = BlockFindContiguous(vcb, 1, startingBlock, minBlocks, maxBlocks,
1576 u_int32_t minBlocks,
1609 /* If we managed to grab at least minBlocks of space, then we're done. */
1611 if (*actualNumBlocks >= minBlocks) {
1660 search_sentinel.length = minBlocks;
1692 if (modified_length >= minBlocks) {
1698 tempnode.length = MIN(minBlocks, node_end - tempnode.offset);
1710 search_sentinel.length = minBlocks;
1715 if ((node) && (node->length >= minBlocks)) {
1751 hfsmp->vcbVN, node, startingBlock, minBlocks, maxBlocks);
1757 hfsmp->vcbVN, minBlocks, maxBlocks);
3019 minBlocks Minimum number of blocks needed. Must be > 0.
3028 noErr Found at least minBlocks contiguous
3029 dskFulErr No contiguous space found, or all less than minBlocks
3037 u_int32_t minBlocks,
3058 KERNEL_DEBUG_CONSTANT(HFSDBG_BLOCK_FIND_CONTIG | DBG_FUNC_START, startingBlock, endingBlock, minBlocks, maxBlocks, 0);
3076 if ((endingBlock - startingBlock) < minBlocks)
3083 stopBlock = endingBlock - minBlocks + 1;
3291 if (foundBlocks >= minBlocks)
3303 if (foundBlocks < minBlocks)
3322 firstBlock, stopBlock, minBlocks, foundBlocks);