Searched refs:blockCount (Results 1 - 14 of 14) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 284 foundData[0].blockCount = extentData[0].blockCount; 286 foundData[1].blockCount = extentData[1].blockCount; 288 foundData[2].blockCount = extentData[2].blockCount; 293 foundData[i].blockCount = 0; 495 firstFABN = nextFABN - foundData[foundIndex].blockCount; 578 numAllocationBlocks = extentRecord[extentIndex].blockCount; 853 AddFileExtent(ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount) argument [all...] |
H A D | BTreeWrapper.c | 239 if ( (dataExtent[i].blockCount > 0) && (dataExtent[i].startBlock == 0) ) 241 if ( (rsrcExtent[i].blockCount > 0) && (rsrcExtent[i].startBlock == 0) ) 272 if ( (dataExtent[i].blockCount > 0) && (dataExtent[i].startBlock == 0) ) 274 if ( (rsrcExtent[i].blockCount > 0) && (rsrcExtent[i].startBlock == 0) )
|
H A D | VolumeAllocation.c | 918 foundBlocks = vcb->vcbFreeExt[0].blockCount; 925 newBlockCount = vcb->vcbFreeExt[0].blockCount - foundBlocks; 931 if (vcb->vcbFreeExt[i].blockCount > newBlockCount) 934 vcb->vcbFreeExt[i-1].blockCount = vcb->vcbFreeExt[i].blockCount; 954 vcb->vcbFreeExt[i-1].blockCount = newBlockCount; 1629 if (tempWord == kMaxFreeExtents && vcb->vcbFreeExt[kMaxFreeExtents-1].blockCount < foundBlocks) 1634 while (tempWord && vcb->vcbFreeExt[tempWord-1].blockCount < foundBlocks) 1640 vcb->vcbFreeExt[tempWord].blockCount = foundBlocks;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_xattr.c | 1918 cat_fork.cf_extents[0].blockCount = cat_fork.cf_blocks; 1973 iosize = (int)extents[i].blockCount * blksize; 1983 iosize, extents[i].startBlock, extents[i].blockCount, result); 2028 iosize = (int)extents[i].blockCount * blksize; 2038 iosize, extents[i].startBlock, extents[i].blockCount, result); 2078 &extents[i].startBlock, &extents[i].blockCount); 2081 blkcnt, extents[i].startBlock, extents[i].blockCount, result); 2085 extents[i].blockCount = 0; 2088 blkcnt -= extents[i].blockCount; 2089 startblk = extents[i].startBlock + extents[i].blockCount; [all...] |
H A D | hfs_vfsutils.c | 174 fork.cf_extents[0].blockCount = SWAP_BE16(mdb->drXTExtRec[0].blockCount); 176 fork.cf_extents[1].blockCount = SWAP_BE16(mdb->drXTExtRec[1].blockCount); 178 fork.cf_extents[2].blockCount = SWAP_BE16(mdb->drXTExtRec[2].blockCount); 203 fork.cf_extents[0].blockCount = SWAP_BE16(mdb->drCTExtRec[0].blockCount); 205 fork.cf_extents[1].blockCount = SWAP_BE16(mdb->drCTExtRec[1].blockCount); 1104 int baseBlockCount, blockCount; local [all...] |
H A D | hfs_vfsops.c | 750 forkp->ff_extents[i].blockCount = 751 SWAP_BE32 (vhp->extentsFile.extents[i].blockCount); 762 forkp->ff_extents[i].blockCount = 763 SWAP_BE32 (vhp->catalogFile.extents[i].blockCount); 774 forkp->ff_extents[i].blockCount = 775 SWAP_BE32 (vhp->attributesFile.extents[i].blockCount); 786 forkp->ff_extents[i].blockCount = 787 SWAP_BE32 (vhp->allocationFile.extents[i].blockCount); 1220 disksize = (u_int64_t)SWAP_BE16(mdbp->drEmbedExtent.blockCount) * 2943 mdb->drXTExtRec[0].blockCount 3865 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 4027 u_int32_t blockCount; local 4364 u_int32_t blockCount; local [all...] |
H A D | hfs_endian.c | 72 src->extents[i].blockCount = SWAP_BE32 (src->extents[i].blockCount); 473 srcRec[j].blockCount = SWAP_BE32 (srcRec[j].blockCount); 862 srcRec->overflowExtents.extents[j].blockCount = 863 SWAP_BE32(srcRec->overflowExtents.extents[j].blockCount); 1006 srcRec[j].blockCount = SWAP_BE16 (srcRec[j].blockCount); 1163 srcRec->dataExtents[j].blockCount = SWAP_BE16 (srcRec->dataExtents[j].blockCount); [all...] |
H A D | hfs_catalog.c | 727 if (forkp->cf_extents[i].startBlock + forkp->cf_extents[i].blockCount >= hfsmp->totalBlocks) { 730 forkp->cf_extents[i].blockCount = 0; 736 validblks += forkp->cf_extents[i].blockCount; 740 if ((validblks < forkp->cf_blocks) && (forkp->cf_extents[7].blockCount == 0)) { 1473 file->rsrcExtents[i].blockCount = 1474 (u_int16_t)forkp->cf_extents[i].blockCount; 1484 file->dataExtents[i].blockCount = 1485 (u_int16_t)forkp->cf_extents[i].blockCount; 2089 rsrcforkp->extents[0].blockCount); 2091 rsrcforkp->extents[0].blockCount [all...] |
H A D | hfs_format.h | 176 u_int16_t blockCount; /* number of allocation blocks */ member in struct:HFSExtentDescriptor 183 u_int32_t blockCount; /* number of allocation blocks */ member in struct:HFSPlusExtentDescriptor
|
H A D | hfs_hotfiles.c | 1617 b2 = b1 + extents[i].blockCount - 1;
|
H A D | hfs_vnops.c | 255 fp->ff_extents[7].blockCount != 0 &&
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | disk.h | 87 uint64_t blockCount; member in struct:__anon357
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/ |
H A D | FileMgrInternal.h | 294 AddFileExtent (ExtendedVCB *vcb, FCB *fcb, u_int32_t startBlock, u_int32_t blockCount);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Catalog/ |
H A D | FileIDsServices.c | 635 extentAllocationBlocks += ((HFSPlusExtentDescriptor *)extents)[i].blockCount; 644 extentAllocationBlocks += ((HFSExtentDescriptor *)extents)[i].blockCount;
|
Completed in 122 milliseconds