Searched refs:totalBlocks (Results 1 - 11 of 11) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/ |
H A D | FileIDsServices.c | 138 numSrcExtentBlocks = CheckExtents( srcData.hfsPlusFile.dataFork.extents, srcData.hfsPlusFile.dataFork.totalBlocks, isHFSPlus ); 140 numSrcExtentBlocks = CheckExtents( srcData.hfsPlusFile.resourceFork.extents, srcData.hfsPlusFile.resourceFork.totalBlocks, isHFSPlus ); 149 numDestExtentBlocks = CheckExtents( destData.hfsPlusFile.dataFork.extents, destData.hfsPlusFile.dataFork.totalBlocks, isHFSPlus ); 151 numDestExtentBlocks = CheckExtents( destData.hfsPlusFile.resourceFork.extents, destData.hfsPlusFile.resourceFork.totalBlocks, isHFSPlus ); 732 static u_int32_t CheckExtents( void *extents, u_int32_t totalBlocks, Boolean isHFSPlus ) argument 738 if ( totalBlocks == 0 ) 748 if ( extentAllocationBlocks >= totalBlocks ) // greater than or equal (extents can add past eof if 'Close" crashes w/o truncating new clump) 757 if ( extentAllocationBlocks >= totalBlocks ) // greater than or equal (extents can add past eof if 'Close" crashes w/o truncating new clump)
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vfsops.c | 203 vcb->reserveBlocks = ((u_int64_t)vcb->totalBlocks * HFS_MINFREE) / 100; 931 vcb->totalBlocks = SWAP_BE32 (vhp->totalBlocks); 948 forkp->ff_blocks = SWAP_BE32 (vhp->extentsFile.totalBlocks); 960 forkp->ff_blocks = SWAP_BE32 (vhp->catalogFile.totalBlocks); 972 forkp->ff_blocks = SWAP_BE32 (vhp->attributesFile.totalBlocks); 984 forkp->ff_blocks = SWAP_BE32 (vhp->allocationFile.totalBlocks); 1177 err = GenerateTree(hfsmp, hfsmp->totalBlocks, &flags, 1); 1972 (HFSTOVCB(hfsmp)->totalBlocks / 100) * HFS_VERYLOWDISKTRIGGERFRACTION); 1975 (HFSTOVCB(hfsmp)->totalBlocks / 10 [all...] |
H A D | hfs_catalog.c | 201 datafp->cf_blocks = recp->hfsPlusFile.dataFork.totalBlocks; 217 rsrcfp->cf_blocks = recp->hfsPlusFile.resourceFork.totalBlocks; 770 forkp->cf_blocks = recp->hfsPlusFile.resourceFork.totalBlocks; 789 forkp->cf_blocks = recp->hfsPlusFile.dataFork.totalBlocks; 805 if (forkp->cf_extents[i].startBlock + forkp->cf_extents[i].blockCount >= hfsmp->totalBlocks) { 839 attrp->ca_blocks = validblks + recp->hfsPlusFile.resourceFork.totalBlocks; 1762 file->resourceFork.totalBlocks = forkp->cf_blocks; 1772 file->dataFork.totalBlocks = forkp->cf_blocks; 2405 rsrcforkp->totalBlocks = rsrcforkp->extents[0].blockCount; 2413 rsrcforkp->totalBlocks 2426 uint32_t totalBlocks; local [all...] |
H A D | hfs_vfsutils.c | 128 vcb->totalBlocks = SWAP_BE16 (mdb->drNmAlBlks); 129 vcb->allocLimit = vcb->totalBlocks; 424 vcb->totalBlocks = SWAP_BE32(vhp->totalBlocks); 425 vcb->allocLimit = vcb->totalBlocks; 448 (((daddr64_t)vcb->totalBlocks * blockSize) / 476 cfork.cf_blocks = SWAP_BE32 (vhp->extentsFile.totalBlocks); 515 cfork.cf_blocks = SWAP_BE32 (vhp->catalogFile.totalBlocks); 562 cfork.cf_blocks = SWAP_BE32 (vhp->allocationFile.totalBlocks); 585 if (vhp->attributesFile.totalBlocks ! [all...] |
H A D | hfs_format.h | 255 u_int32_t totalBlocks; /* total blocks used by this fork */ member in struct:HFSPlusForkData 680 u_int32_t totalBlocks; /* number of allocation blocks in volume (includes this header and VBM*/ member in struct:HFSPlusVolumeHeader
|
H A D | hfs_xattr.c | 564 totalblocks = recp->forkData.theFork.totalBlocks; 1113 recp->forkData.theFork.totalBlocks = blkcnt; 1584 totalblks = attrdata.forkData.theFork.totalBlocks; 2242 cat_attr.ca_blocks = hfsmp->totalBlocks; 2260 cat_fork.cf_size = (u_int64_t)hfsmp->totalBlocks * (u_int64_t)hfsmp->blockSize; 2261 cat_fork.cf_blocks = hfsmp->totalBlocks; 2497 return (forkdata->totalBlocks > blocks);
|
H A D | hfs.h | 203 u_int32_t totalBlocks; /* total allocation blocks */ member in struct:hfsmount 208 * allocLimit is set to totalBlocks. The allocation code uses allocLimit instead of 209 * totalBlocks to limit which blocks may be allocated, so that during a resize, we don't
|
H A D | hfs_endian.c | 69 src->totalBlocks = SWAP_BE32 (src->totalBlocks);
|
H A D | hfs_hotfiles.c | 642 if (filep->dataFork.totalBlocks == 0) {
|
H A D | hfs_readwrite.c | 1722 cursize = (u_int64_t)hfsmp->totalBlocks * (u_int64_t)hfsmp->blockSize;
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 759 while ((blocks_scanned < hfsmp->totalBlocks) && (error == 0)){ 760 error = hfs_alloc_scan_block (hfsmp, blocks_scanned, hfsmp->totalBlocks, 1075 if (*actualStartBlock >= hfsmp->totalBlocks) { 1082 if ((*actualStartBlock + *actualNumBlocks) >= hfsmp->totalBlocks) { 1143 if (firstBlock >= hfsmp->totalBlocks) { 1147 if ((firstBlock + numBlocks) >= hfsmp->totalBlocks) { 2662 deallocated to check if they are within totalBlocks 2696 * NOTE: We use vcb->totalBlocks instead of vcb->allocLimit because we 2700 (startingBlock + numBlocks > vcb->totalBlocks)) { 3328 u_int32_t min_start = vcb->totalBlocks; [all...] |
Completed in 185 milliseconds