Searched refs:allocationFile (Results 1 - 11 of 11) sorted by relevance

/macosx-10.10/pdisk-9/
H A Dhfs_misc.c140 HFSPlusForkData allocationFile; member in struct:HFSPlusVolumeHeader
/macosx-10.10/hfs-285/newfs_hfs/
H A Dmakehfs.c389 MFU(allocationFile);
398 sector = header->allocationFile.extents[0].startBlock * sectorsPerBlock;
400 startOfAllocation = header->allocationFile.extents[0].startBlock;
448 sector = header->allocationFile.extents[0].startBlock * sectorsPerBlock;
691 hp->allocationFile.clumpSize = defaults->allocationClumpSize;
692 hp->allocationFile.logicalSize = defaults->allocationClumpSize;
693 hp->allocationFile.totalBlocks = bitmapBlocks;
702 createExtents(&hp->allocationFile, kHFSAllocationFileID, allocateBlock, defaults->allocationExtsCount, 1);
706 printf ("allocationFile: (%10u, %10u)\n", hp->allocationFile
[all...]
H A Dhfs_endian.c144 hfs_swap_HFSPlusForkData (&src->allocationFile);
/macosx-10.10/hfs-285/CopyHFSMeta/
H A Dutil.c165 CMP_FILE(vdp, allocationFile) == 0 &&
304 ADDEXTS(vop, allocationFile, kHFSAllocationFileID);
/macosx-10.10/hfs-285/fsck_hfs/dfalib/
H A DSVerify2.c1728 if ( volumeHeader->allocationFile.clumpSize != vcb->vcbAllocationFile->fcbClumpSize ) {
1730 plog( "\tinvalid VHB allocationFile.clumpSize \n" );
1788 if ( (UInt64)volumeHeader->allocationFile.totalBlocks * (UInt64)vcb->vcbBlockSize != fcbP->fcbPhysicalSize )
1795 if ( (volumeHeader->allocationFile.extents[i].startBlock != fcbP->fcbExtents32[i].startBlock) ||
1796 (volumeHeader->allocationFile.extents[i].blockCount != fcbP->fcbExtents32[i].blockCount) )
H A DSVerify1.c1611 CopyMemory( volumeHeader->allocationFile.extents, fcb->fcbExtents32, sizeof(HFSPlusExtentRecord) );
1625 if ( volumeHeader->allocationFile.totalBlocks != numABlks )
1633 fcb->fcbLogicalSize = volumeHeader->allocationFile.logicalSize;
1634 fcb->fcbPhysicalSize = (UInt64) volumeHeader->allocationFile.totalBlocks *
3265 if ( ((volumeHeader->allocationFile.clumpSize % vcb->vcbBlockSize) == 0) &&
3266 (volumeHeader->allocationFile.clumpSize <= maxClump) )
3267 vcb->vcbAllocationFile->fcbClumpSize = volumeHeader->allocationFile.clumpSize;
3268 else if ( ((alternateVolumeHeader->allocationFile.clumpSize % vcb->vcbBlockSize) == 0) &&
3269 (alternateVolumeHeader->allocationFile.clumpSize <= maxClump) )
3270 vcb->vcbAllocationFile->fcbClumpSize = alternateVolumeHeader->allocationFile
[all...]
H A DSUtils.c2298 volumeHeader->allocationFile.clumpSize = vcb->vcbAllocationFile->fcbClumpSize;
2315 CopyMemory( fcb->fcbExtents32, volumeHeader->allocationFile.extents, sizeof(HFSPlusExtentRecord) );
2316 volumeHeader->allocationFile.logicalSize = fcb->fcbLogicalSize;
2317 volumeHeader->allocationFile.totalBlocks = fcb->fcbPhysicalSize / vcb->vcbBlockSize;
H A Dhfs_endian.c175 hfs_swap_HFSPlusForkData (&src->allocationFile);
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_vfsops.c949 SWAP_BE32 (vhp->allocationFile.extents[i].startBlock);
951 SWAP_BE32 (vhp->allocationFile.extents[i].blockCount);
953 forkp->ff_size = SWAP_BE64 (vhp->allocationFile.logicalSize);
954 forkp->ff_blocks = SWAP_BE32 (vhp->allocationFile.totalBlocks);
955 forkp->ff_clumpsize = SWAP_BE32 (vhp->allocationFile.clumpSize);
3951 volumeHeader->allocationFile.extents[i].startBlock =
3953 volumeHeader->allocationFile.extents[i].blockCount =
3956 volumeHeader->allocationFile.logicalSize = SWAP_BE64 (fp->ff_size);
3957 volumeHeader->allocationFile.totalBlocks = SWAP_BE32 (fp->ff_blocks);
3958 volumeHeader->allocationFile
[all...]
H A Dhfs_format.h690 HFSPlusForkData allocationFile; /* allocation bitmap file */ member in struct:HFSPlusVolumeHeader
H A Dhfs_vfsutils.c634 cfork.cf_size = SWAP_BE64 (vhp->allocationFile.logicalSize);
635 cfork.cf_clump = SWAP_BE32 (vhp->allocationFile.clumpSize);
636 cfork.cf_blocks = SWAP_BE32 (vhp->allocationFile.totalBlocks);
641 SWAP_BE32 (vhp->allocationFile.extents[i].startBlock);
643 SWAP_BE32 (vhp->allocationFile.extents[i].blockCount);

Completed in 210 milliseconds