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

/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c851 //TODO: Make sure we use allocLimit when appropriate.
923 if (startingBlock >= vcb->allocLimit) {
956 err = BlockAllocateAny(vcb, startingBlock, vcb->allocLimit,
1007 err = BlockAllocateAny(vcb, startingBlock, vcb->allocLimit,
1078 if (*actualStartBlock >= hfsmp->allocLimit) {
1079 panic ("BlockAllocate: vending block past allocLimit!");
1086 if ((*actualStartBlock + *actualNumBlocks) >= hfsmp->allocLimit) {
1087 panic ("BlockAllocate: vending too many invalid blocks past allocLimit!");
1540 err = BlockFindContiguous(vcb, startingBlock, vcb->allocLimit, minBlocks,
1767 if ((*actualStartBlock + *actualNumBlocks) > vcb->allocLimit)
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_vfsops.c155 static int hfs_file_extent_overlaps(struct hfsmount *hfsmp, u_int32_t allocLimit, struct HFSPlusCatalogFile *filerec);
157 static int hfs_reclaimspace(struct hfsmount *hfsmp, u_int32_t allocLimit, u_int32_t reclaimblks, vfs_context_t context);
4341 * We only update hfsmp->allocLimit if totalBlocks actually increased.
4515 * NOTE: allocLimit is set to the allocation block number where the new
4581 * The current allocLimit is set to the location of new alternate
4586 if (hfs_isallocated(hfsmp, hfsmp->allocLimit, reclaimblks)) {
4595 error = hfs_reclaimspace(hfsmp, hfsmp->allocLimit, reclaimblks, context);
4608 error = hfs_isallocated(hfsmp, hfsmp->allocLimit, reclaimblks);
4625 error = BlockMarkAllocated(hfsmp, hfsmp->allocLimit, (hfsmp->blockSize == 512) ? 2 : 1);
4706 * Update the allocLimit t
5549 hfs_reclaim_extent(struct hfsmount *hfsmp, const u_long allocLimit, struct hfs_reclaim_extent_info *extent_info, vfs_context_t context) argument
5863 hfs_reclaim_file(struct hfsmount *hfsmp, struct vnode *vp, u_int32_t fileID, u_int8_t forktype, u_long allocLimit, vfs_context_t context) argument
6358 hfs_reclaim_journal_file(struct hfsmount *hfsmp, u_int32_t allocLimit, vfs_context_t context) argument
6418 hfs_reclaim_journal_info_block(struct hfsmount *hfsmp, u_int32_t allocLimit, vfs_context_t context) argument
6640 hfs_reclaim_xattr(struct hfsmount *hfsmp, struct vnode *vp, u_int32_t fileID, u_int32_t allocLimit, vfs_context_t context) argument
6801 hfs_reclaim_xattrspace(struct hfsmount *hfsmp, u_int32_t allocLimit, vfs_context_t context) argument
6930 hfs_reclaim_filespace(struct hfsmount *hfsmp, u_int32_t allocLimit, vfs_context_t context) argument
7085 hfs_reclaimspace(struct hfsmount *hfsmp, u_int32_t allocLimit, u_int32_t reclaimblks, vfs_context_t context) argument
7214 hfs_file_extent_overlaps(struct hfsmount *hfsmp, u_int32_t allocLimit, struct HFSPlusCatalogFile *filerec) argument
[all...]
H A Dhfs.h204 u_int32_t allocLimit; /* Do not allocate this block or beyond */ member in struct:hfsmount
206 * NOTE: When resizing a volume to make it smaller, allocLimit is set to the allocation
208 * allocLimit is set to totalBlocks. The allocation code uses allocLimit instead of
H A Dhfs_btreeio.c453 ((vcb->nextAllocation + fileblocks) < vcb->allocLimit)) {
H A Dhfs_vfsutils.c129 vcb->allocLimit = vcb->totalBlocks;
425 vcb->allocLimit = vcb->totalBlocks;
2601 fs_size = (u_int64_t)vcb->blockSize * (u_int64_t)vcb->allocLimit;
2728 * allocLimit, then just reset it back to 0. Though using a value
2729 * bigger than allocLimit would not cause damage in the block allocator
2733 if (hfsmp->hfs_min_alloc_start >= hfsmp->allocLimit) {
H A Dhfs_readwrite.c1749 if ((location >= hfsmp->allocLimit) &&
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/
H A DBTreeNodeReserve.c160 rsrvblks = ((u_int64_t)hfsmp->allocLimit * 5) / 100;

Completed in 58 milliseconds