Searched refs:nextAllocation (Results 1 - 10 of 10) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_btreeio.c382 startAllocation = vcb->nextAllocation;
419 (vcb->nextAllocation > startAllocation) &&
420 ((vcb->nextAllocation + fileblocks) < vcb->allocLimit)) {
421 HFS_UPDATE_NEXT_ALLOCATION(vcb, vcb->nextAllocation + fileblocks);
H A Dhfs.h163 u_int32_t nextAllocation; /* start of next allocation search */ member in struct:hfsmount
364 /* When set, do not update nextAllocation in the mount structure */
379 * nextAllocation block.
384 hfsmp->nextAllocation = new_nextAllocation; \
H A Dhfs_format.h647 u_int32_t nextAllocation; /* start of next allocation search */ member in struct:HFSPlusVolumeHeader
H A Dhfs_vfsutils.c123 vcb->nextAllocation = SWAP_BE16 (mdb->drAllocPtr);
377 vcb->nextAllocation = SWAP_BE32(vhp->nextAllocation);
690 if (vcb->nextAllocation >= hfsmp->hfs_metazone_start &&
691 vcb->nextAllocation <= hfsmp->hfs_metazone_end) {
H A Dhfs_vfsops.c736 HFS_UPDATE_NEXT_ALLOCATION(vcb, SWAP_BE32 (vhp->nextAllocation));
2922 mdb->drAllocPtr = SWAP_BE16 (vcb->nextAllocation);
3120 volumeHeader->nextAllocation = SWAP_BE32 (vcb->nextAllocation);
3808 if (hfsmp->nextAllocation >= hfsmp->allocLimit)
3809 hfsmp->nextAllocation = hfsmp->hfs_metazone_end + 1;
4562 saved_next_allocation = hfsmp->nextAllocation;
H A Dhfs_readwrite.c1469 *(u_int32_t *)ap->a_data = hfsmp->nextAllocation;
1471 /* On magic value for location, set nextAllocation to next block
1473 * that nextAllocation should not be updated again.
3175 blockHint = hfsmp->nextAllocation;
3240 nextallocsave = hfsmp->nextAllocation;
H A Dhfs_hotfiles.c1362 error = hfs_relocate(vp, HFSTOVCB(hfsmp)->nextAllocation, vfs_context_ucred(ctx), vfs_context_proc(ctx));
H A Dhfs_vnops.c269 (void) hfs_relocate(vp, VTOVCB(vp)->nextAllocation + 4096,
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c215 Boolean updateAllocPtr = false; // true if nextAllocation needs to be updated
251 startingBlock = vcb->nextAllocation;
381 if (vcb->nextAllocation == (firstBlock + numBlocks))
382 HFS_UPDATE_NEXT_ALLOCATION(vcb, (vcb->nextAllocation - numBlocks));
H A DFileExtentMapping.c1241 if (vcb->nextAllocation >= VCBTOHFS(vcb)->hfs_metazone_start &&
1242 vcb->nextAllocation <= VCBTOHFS(vcb)->hfs_metazone_end) {

Completed in 89 milliseconds