/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 288 foundData[0].blockCount = extentData[0].blockCount; 290 foundData[1].blockCount = extentData[1].blockCount; 292 foundData[2].blockCount = extentData[2].blockCount; 297 foundData[i].blockCount = 0; 506 firstFABN = nextFABN - foundData[foundIndex].blockCount; 598 numAllocationBlocks = extentRecord[extentIndex].blockCount; 871 AddFileExtent(ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount) argument [all...] |
H A D | BTreeWrapper.c | 188 if ( (dataExtent[i].blockCount > 0) && (dataExtent[i].startBlock == 0) ) 190 if ( (rsrcExtent[i].blockCount > 0) && (rsrcExtent[i].startBlock == 0) ) 221 if ( (dataExtent[i].blockCount > 0) && (dataExtent[i].startBlock == 0) ) 223 if ( (rsrcExtent[i].blockCount > 0) && (rsrcExtent[i].startBlock == 0) )
|
H A D | VolumeAllocation.c | 434 static void remove_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount); 435 static Boolean add_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount); 2133 vcb->vcbFreeExt[0].blockCount == 0) { 2147 foundBlocks = vcb->vcbFreeExt[0].blockCount; 3594 u_int32_t blockCount = 0; local 3634 blockCount = 1; 3637 blockCount += num_bits_set(*currentWord & SWAP_BE32 (bitMask)); 3665 blockCount = 1; 3668 blockCount += num_bits_set(*currentWord); 3696 blockCount 4404 add_free_extent_list(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount) argument 4480 remove_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount) argument 4607 add_free_extent_cache(struct hfsmount *hfsmp, u_int32_t startBlock, u_int32_t blockCount) argument [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vfsutils.c | 183 fork.cf_extents[0].blockCount = SWAP_BE16(mdb->drXTExtRec[0].blockCount); 185 fork.cf_extents[1].blockCount = SWAP_BE16(mdb->drXTExtRec[1].blockCount); 187 fork.cf_extents[2].blockCount = SWAP_BE16(mdb->drXTExtRec[2].blockCount); 220 fork.cf_extents[0].blockCount = SWAP_BE16(mdb->drCTExtRec[0].blockCount); 222 fork.cf_extents[1].blockCount = SWAP_BE16(mdb->drCTExtRec[1].blockCount); 1298 int baseBlockCount, blockCount; local [all...] |
H A D | hfs_vfsops.c | 944 forkp->ff_extents[i].blockCount = 945 SWAP_BE32 (vhp->extentsFile.extents[i].blockCount); 956 forkp->ff_extents[i].blockCount = 957 SWAP_BE32 (vhp->catalogFile.extents[i].blockCount); 968 forkp->ff_extents[i].blockCount = 969 SWAP_BE32 (vhp->attributesFile.extents[i].blockCount); 980 forkp->ff_extents[i].blockCount = 981 SWAP_BE32 (vhp->allocationFile.extents[i].blockCount); 1682 disksize = (u_int64_t)SWAP_BE16(mdbp->drEmbedExtent.blockCount) * 3596 mdb->drXTExtRec[0].blockCount 4794 hfs_copy_extent( struct hfsmount *hfsmp, struct vnode *vp, u_int32_t oldStart, u_int32_t newStart, u_int32_t blockCount, vfs_context_t context) argument 6362 u_int32_t blockCount = hfsmp->jnl_size / hfsmp->blockSize; local 6425 u_int32_t blockCount; local [all...] |
H A D | hfs_xattr.c | 2263 cat_fork.cf_extents[0].blockCount = cat_fork.cf_blocks; 2299 iosize = (int)extents[i].blockCount * blksize; 2309 iosize, extents[i].startBlock, extents[i].blockCount, result); 2349 iosize = (int)extents[i].blockCount * blksize; 2359 iosize, extents[i].startBlock, extents[i].blockCount, result); 2398 &extents[i].startBlock, &extents[i].blockCount); 2401 blkcnt, extents[i].startBlock, extents[i].blockCount, result); 2405 extents[i].blockCount = 0; 2408 blkcnt -= extents[i].blockCount; 2409 startblk = extents[i].startBlock + extents[i].blockCount; [all...] |
H A D | hfs_endian.c | 73 src->extents[i].blockCount = SWAP_BE32 (src->extents[i].blockCount); 475 srcRec[j].blockCount = SWAP_BE32 (srcRec[j].blockCount); 864 srcRec->overflowExtents.extents[j].blockCount = 865 SWAP_BE32(srcRec->overflowExtents.extents[j].blockCount); 1008 srcRec[j].blockCount = SWAP_BE16 (srcRec[j].blockCount); 1165 srcRec->dataExtents[j].blockCount = SWAP_BE16 (srcRec->dataExtents[j].blockCount); [all...] |
H A D | hfs_catalog.c | 805 if (forkp->cf_extents[i].startBlock + forkp->cf_extents[i].blockCount >= hfsmp->totalBlocks) { 808 forkp->cf_extents[i].blockCount = 0; 814 validblks += forkp->cf_extents[i].blockCount; 818 if ((validblks < forkp->cf_blocks) && (forkp->cf_extents[7].blockCount == 0)) { 1601 file->rsrcExtents[i].blockCount = 1602 (u_int16_t)forkp->cf_extents[i].blockCount; 1612 file->dataExtents[i].blockCount = 1613 (u_int16_t)forkp->cf_extents[i].blockCount; 2254 rsrcforkp->extents[0].blockCount, 0); 2256 rsrcforkp->extents[0].blockCount [all...] |
H A D | hfs_format.h | 183 u_int16_t blockCount; /* number of allocation blocks */ member in struct:HFSExtentDescriptor 190 u_int32_t blockCount; /* number of allocation blocks */ member in struct:HFSPlusExtentDescriptor
|
H A D | hfs_hotfiles.c | 1652 b2 = b1 + extents[i].blockCount - 1;
|
H A D | hfs_vnops.c | 534 fp->ff_extents[7].blockCount != 0 &&
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | disk.h | 89 uint64_t blockCount; member in struct:__anon477
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/ |
H A D | FileMgrInternal.h | 306 AddFileExtent (ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount);
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/ |
H A D | FileIDsServices.c | 747 extentAllocationBlocks += ((HFSPlusExtentDescriptor *)extents)[i].blockCount; 756 extentAllocationBlocks += ((HFSExtentDescriptor *)extents)[i].blockCount;
|