Searched refs:allocLimit (Results 1 - 7 of 7) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c255 if (startingBlock >= vcb->allocLimit) {
288 err = BlockAllocateAny(vcb, startingBlock, vcb->allocLimit,
630 err = BlockFindContiguous(vcb, startingBlock, vcb->allocLimit, minBlocks,
867 if ((*actualStartBlock + *actualNumBlocks) > vcb->allocLimit)
958 if ((*actualStartBlock + *actualNumBlocks) > vcb->allocLimit)
1184 * NOTE: We use vcb->totalBlocks instead of vcb->allocLimit because we
1665 if ((firstBlock + foundBlocks) > vcb->allocLimit) {
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/BTree/
H A DBTreeNodeReserve.c160 rsrvblks = ((u_int64_t)hfsmp->allocLimit * 5) / 100;
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_vfsops.c3596 we should reset the allocLimit field. If it changed, it will
3599 hfsmp->allocLimit = vcb->totalBlocks;
3674 * NOTE: allocLimit is set to the allocation block number where the new
3682 hfsmp->allocLimit = newblkcnt - 2;
3684 hfsmp->allocLimit = newblkcnt - 1;
3692 if (hfs_isallocated(hfsmp, hfsmp->allocLimit, reclaimblks)) {
3701 if (hfs_reclaimspace(hfsmp, hfsmp->allocLimit, reclaimblks, context) != 0) {
3713 if (hfs_isallocated(hfsmp, hfsmp->allocLimit, reclaimblks)) {
3738 error = BlockMarkAllocated(hfsmp, hfsmp->allocLimit, (hfsmp->blockSize == 512) ? 2 : 1);
3807 hfsmp->allocLimit
[all...]
H A Dhfs.h179 u_int32_t allocLimit; /* Do not allocate this block or beyond */ member in struct:hfsmount
181 * NOTE: When resizing a volume to make it smaller, allocLimit is set to the allocation
183 * allocLimit is set to totalBlocks. The allocation code uses allocLimit instead of
H A Dhfs_btreeio.c420 ((vcb->nextAllocation + fileblocks) < vcb->allocLimit)) {
H A Dhfs_vfsutils.c125 vcb->allocLimit = vcb->totalBlocks;
379 vcb->allocLimit = vcb->totalBlocks;
H A Dhfs_readwrite.c1463 if ((location >= hfsmp->allocLimit) &&

Completed in 161 milliseconds