Lines Matching refs:blockCount
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 = SWAP_BE16 (fp->ff_extents[0].blockCount);
2945 mdb->drXTExtRec[1].blockCount = SWAP_BE16 (fp->ff_extents[1].blockCount);
2947 mdb->drXTExtRec[2].blockCount = SWAP_BE16 (fp->ff_extents[2].blockCount);
2954 mdb->drCTExtRec[0].blockCount = SWAP_BE16 (fp->ff_extents[0].blockCount);
2956 mdb->drCTExtRec[1].blockCount = SWAP_BE16 (fp->ff_extents[1].blockCount);
2958 mdb->drCTExtRec[2].blockCount = SWAP_BE16 (fp->ff_extents[2].blockCount);
3145 volumeHeader->extentsFile.extents[i].blockCount =
3146 SWAP_BE32 (fp->ff_extents[i].blockCount);
3160 volumeHeader->catalogFile.extents[i].blockCount =
3161 SWAP_BE32 (fp->ff_extents[i].blockCount);
3175 volumeHeader->allocationFile.extents[i].blockCount =
3176 SWAP_BE32 (fp->ff_extents[i].blockCount);
3190 volumeHeader->attributesFile.extents[i].blockCount =
3191 SWAP_BE32 (fp->ff_extents[i].blockCount);
3206 volumeHeader->startupFile.extents[i].blockCount =
3207 SWAP_BE32 (fp->ff_extents[i].blockCount);
3580 attr_fp->ff_extents[0].blockCount = newblkcnt;
3795 fp->ff_extents[0].blockCount = newblkcnt;
3870 u_int32_t blockCount, /* The number of allocation blocks to copy. */
3923 resid = (off_t) blockCount * (off_t) hfsmp->blockSize;
3984 hfs_invalidate_sectors(vp, (daddr64_t)oldStart*sectorsPerBlock, (daddr64_t)blockCount*sectorsPerBlock);
4027 u_int32_t blockCount;
4050 if (fp->ff_extents[i].blockCount == 0)
4053 blockCount = fp->ff_extents[i].blockCount;
4054 datablks += blockCount;
4055 block = oldStartBlock + blockCount;
4057 error = BlockAllocate(hfsmp, 1, blockCount, blockCount, true, true, &newStartBlock, &blockCount);
4062 if (blockCount != fp->ff_extents[i].blockCount) {
4063 printf("hfs_reclaim_sys_file: new blockCount=%u, original blockCount=%u", blockCount, fp->ff_extents[i].blockCount);
4066 error = hfs_copy_extent(hfsmp, vp, oldStartBlock, newStartBlock, blockCount, context);
4074 error = BlockDeallocate(hfsmp, oldStartBlock, blockCount);
4131 if (record[i].blockCount == 0) {
4135 blockCount = record[i].blockCount;
4136 block = oldStartBlock + blockCount;
4138 error = BlockAllocate(hfsmp, 1, blockCount, blockCount, true, true, &newStartBlock, &blockCount);
4143 if (blockCount != record[i].blockCount) {
4144 printf("hfs_reclaim_sys_file: new blockCount=%u, original blockCount=%u", blockCount, fp->ff_extents[i].blockCount);
4148 error = hfs_copy_extent(hfsmp, vp, oldStartBlock, newStartBlock, blockCount, context);
4171 error = BlockDeallocate(hfsmp, oldStartBlock, blockCount);
4202 (void) BlockDeallocate(hfsmp, newStartBlock, blockCount);
4313 journal_fork.cf_extents[0].blockCount = newBlockCount;
4364 u_int32_t blockCount;
4377 error = BlockAllocate(hfsmp, 1, 1, 1, true, true, &newBlock, &blockCount);
4382 if (blockCount != 1) {
4383 printf("hfs_reclaim_journal_info_block: blockCount != 1 (%u)\n", blockCount);
4428 jib_fork.cf_extents[0].blockCount = 1;
4456 (void) BlockDeallocate(hfsmp, newBlock, blockCount);
4599 if (filerec.dataFork.extents[i].blockCount != 0) {
4600 datablks += filerec.dataFork.extents[i].blockCount;
4602 filerec.dataFork.extents[i].blockCount;
4615 if (filerec.resourceFork.extents[i].blockCount != 0) {
4616 rsrcblks += filerec.resourceFork.extents[i].blockCount;
4618 filerec.resourceFork.extents[i].blockCount;
4801 if (extrec[i].blockCount == 0) {
4804 block = extrec[i].startBlock + extrec[i].blockCount;