Searched refs:clumpSize (Results 1 - 21 of 21) sorted by path

/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DSRebuildBTree.c210 myVCBPtr->vcbCatalogFile->fcbClumpSize = myVHBPtr->catalogFile.clumpSize;
212 myVCBPtr->vcbAttributesFile->fcbClumpSize = myVHBPtr->attributesFile.clumpSize;
214 myVCBPtr->vcbExtentsFile->fcbClumpSize = myVHBPtr->extentsFile.clumpSize;
632 myHeaderRecPtr->clumpSize = theBTreeCBPtr->fcbPtr->fcbClumpSize;
1123 plog( " clumpSize %d \n", thePtr->clumpSize );
H A DSRepair.c696 if ( (header.clumpSize % GPtr->calculatedVCB->vcbBlockSize) != 0 )
697 header.clumpSize = GPtr->calculatedVCB->vcbBlockSize;
H A DSUtils.c2010 void InitBTreeHeader (UInt32 fileSize, UInt32 clumpSize, UInt16 nodeSize, UInt16 recordCount, UInt16 keySize, argument
2073 bth->clumpSize = clumpSize; //
2297 //���should we use the vcb or fcb clumpSize values ????? -djb
2298 volumeHeader->allocationFile.clumpSize = vcb->vcbAllocationFile->fcbClumpSize;
2299 volumeHeader->extentsFile.clumpSize = vcb->vcbExtentsFile->fcbClumpSize;
2300 volumeHeader->catalogFile.clumpSize = vcb->vcbCatalogFile->fcbClumpSize;
2324 volumeHeader->attributesFile.clumpSize = fcb->fcbClumpSize;
H A DSVerify1.c3243 if ( ((volumeHeader->extentsFile.clumpSize % vcb->vcbBlockSize) == 0) &&
3244 (volumeHeader->extentsFile.clumpSize <= maxClump) )
3245 vcb->vcbExtentsFile->fcbClumpSize = volumeHeader->extentsFile.clumpSize;
3246 else if ( ((alternateVolumeHeader->extentsFile.clumpSize % vcb->vcbBlockSize) == 0) &&
3247 (alternateVolumeHeader->extentsFile.clumpSize <= maxClump) )
3248 vcb->vcbExtentsFile->fcbClumpSize = alternateVolumeHeader->extentsFile.clumpSize;
3254 if ( ((volumeHeader->catalogFile.clumpSize % vcb->vcbBlockSize) == 0) &&
3255 (volumeHeader->catalogFile.clumpSize <= maxClump) )
3256 vcb->vcbCatalogFile->fcbClumpSize = volumeHeader->catalogFile.clumpSize;
3257 else if ( ((alternateVolumeHeader->catalogFile.clumpSize
[all...]
H A DSVerify2.c1630 if ( volumeHeader->catalogFile.clumpSize != vcb->vcbCatalogFile->fcbClumpSize ) {
1633 sprintf(badStr, "%u", volumeHeader->catalogFile.clumpSize);
1723 if ( volumeHeader->extentsFile.clumpSize != vcb->vcbExtentsFile->fcbClumpSize ) {
1725 plog( "\tinvalid VHB extentsFile.clumpSize \n" );
1728 if ( volumeHeader->allocationFile.clumpSize != vcb->vcbAllocationFile->fcbClumpSize ) {
1730 plog( "\tinvalid VHB allocationFile.clumpSize \n" );
1734 (volumeHeader->attributesFile.clumpSize != vcb->vcbAttributesFile->fcbClumpSize )) {
1736 plog( "\tinvalid VHB attributesFile.clumpSize \n" );
H A DScavenger.h1331 UInt32 clumpSize,
H A Dhfs_endian.c70 src->clumpSize = SWAP_BE32 (src->clumpSize);
329 srcHead->clumpSize = SWAP_BE32 (srcHead->clumpSize);
1071 srcRec->clumpSize = SWAP_BE16 (srcRec->clumpSize);
/macosx-10.10/hfs-285/newfs_hfs/
H A Dhfs_endian.c165 src->clumpSize = SWAP_BE32 (src->clumpSize);
H A Dmakehfs.c691 hp->allocationFile.clumpSize = defaults->allocationClumpSize;
741 hp->extentsFile.clumpSize = defaults->extentsClumpSize;
759 hp->attributesFile.clumpSize = defaults->attributesClumpSize;
778 nextBlock += 10 * (hp->attributesFile.clumpSize / blockSize);
783 hp->catalogFile.clumpSize = defaults->catalogClumpSize;
806 nextBlock += 10 * (hp->catalogFile.clumpSize / hp->blockSize);
1065 bthp->clumpSize = SWAP_BE32 (fileSize);
1232 bthp->clumpSize = SWAP_BE32 (fileSize);
1509 bthp->clumpSize = SWAP_BE32 (fileSize);
H A Dnewfs_hfs.c949 UInt32 clumpSize; local
1114 clumpSize = CalcHFSPlusBTreeClumpSize(gBlockSize, catnodesiz, sectorCount, kHFSCatalogFileID);
1117 clumpSize = clumpsizecalc(catclumpblks);
1119 if (clumpSize % catnodesiz != 0)
1120 fatal("c=%ld: clump size is not a multiple of node size\n", clumpSize/gBlockSize);
1122 defaults->catalogClumpSize = clumpSize;
1131 clumpSize = CalcHFSPlusBTreeClumpSize(gBlockSize, extnodesiz, sectorCount, kHFSExtentsFileID);
1134 clumpSize = clumpsizecalc(extclumpblks);
1135 if (clumpSize % extnodesiz != 0)
1136 fatal("e=%ld: clump size is not a multiple of node size\n", clumpSize/gBlockSiz
1320 UInt32 clumpSize; local
[all...]
/macosx-10.10/pdisk-9/
H A Dhfs_misc.c113 u32 clumpSize; member in struct:HFSPlusForkData
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Drgb2ycbcr.c214 int clumpSize = vertSubSampling * horizSubSampling + 2; local
222 op += clumpSize;
227 op += clumpSize;
235 op += clumpSize;
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_btreeio.c807 bthp->clumpSize = cfork.cf_clump;
H A Dhfs_catalog.c408 recp->hfsPlusFile.dataFork.clumpSize *
424 recp->hfsPlusFile.resourceFork.clumpSize *
1030 recp->hfsPlusFile.resourceFork.clumpSize *
1049 recp->hfsPlusFile.dataFork.clumpSize *
1997 file->resourceFork.clumpSize =
2007 file->dataFork.clumpSize =
H A Dhfs_endian.c71 src->clumpSize = SWAP_BE32 (src->clumpSize);
264 srcHead->clumpSize = SWAP_BE32 (srcHead->clumpSize);
1167 srcRec->clumpSize = SWAP_BE16 (srcRec->clumpSize);
H A Dhfs_format.h246 u_int32_t clumpSize; /* fork's clump size in bytes */ member in struct:HFSPlusForkData
422 u_int16_t clumpSize; /* file clump size (not used) */ member in struct:HFSCatalogFile
743 u_int32_t clumpSize; /* reserved */ member in struct:BTHeaderRec
H A Dhfs_hotfiles.c1905 bthp->clumpSize = SWAP_BE32 (filesize);
H A Dhfs_vfsops.c919 forkp->ff_clumpsize = SWAP_BE32 (vhp->extentsFile.clumpSize);
931 forkp->ff_clumpsize = SWAP_BE32 (vhp->catalogFile.clumpSize);
943 forkp->ff_clumpsize = SWAP_BE32 (vhp->attributesFile.clumpSize);
955 forkp->ff_clumpsize = SWAP_BE32 (vhp->allocationFile.clumpSize);
3928 volumeHeader->extentsFile.clumpSize = SWAP_BE32 (fp->ff_clumpsize);
3943 volumeHeader->catalogFile.clumpSize = SWAP_BE32 (fp->ff_clumpsize);
3958 volumeHeader->allocationFile.clumpSize = SWAP_BE32 (fp->ff_clumpsize);
3974 volumeHeader->attributesFile.clumpSize = SWAP_BE32 (fp->ff_clumpsize);
3989 volumeHeader->startupFile.clumpSize = SWAP_BE32 (fp->ff_clumpsize);
H A Dhfs_vfsutils.c549 cfork.cf_clump = SWAP_BE32 (vhp->extentsFile.clumpSize);
588 cfork.cf_clump = SWAP_BE32 (vhp->catalogFile.clumpSize);
635 cfork.cf_clump = SWAP_BE32 (vhp->allocationFile.clumpSize);
665 cfork.cf_clump = SWAP_BE32 (vhp->attributesFile.clumpSize);
717 cfork.cf_clump = SWAP_BE32 (vhp->startupFile.clumpSize);
H A Dhfs_xattr.c1190 recp->forkData.theFork.clumpSize = 0;
/macosx-10.10/xnu-2782.1.97/bsd/hfs/hfscommon/BTree/
H A DBTree.c284 filePtr->ff_clumpsize = header->clumpSize;

Completed in 445 milliseconds