Searched refs:sectorsPerBlock (Results 1 - 7 of 7) sorted by relevance
/macosx-10.10/bless-103/libbless/HFS/ |
H A D | BLGetDiskSectorsForFile.c | 73 off_t sectorsPerBlock, offset; local 114 sectorsPerBlock = ainfo.allocationSize / 512; 150 extents[i][0] = info.extents[i].startBlock*sectorsPerBlock+offset; 151 extents[i][1] = info.extents[i].blockCount*sectorsPerBlock;
|
/macosx-10.10/hfs-285/fsck_hfs/dfalib/ |
H A D | SExtents.c | 758 UInt32 sectorsPerBlock; local 786 sectorsPerBlock = vcb->vcbBlockSize >> kSectorShift; 787 blocksToAdd = DivideAndRoundUp(sectorsToAdd, sectorsPerBlock); 807 maxFileBlocks = (kTwoGigSectors-1) / sectorsPerBlock; 834 // Note: (blocks * sectorsPerBlock - 1) is the sector offset 837 err = SearchExtentFile(vcb, fcb, (eofBlocks+blocksToAdd) * sectorsPerBlock - 1, &foundKey, foundData, &foundIndex, &hint, &nextBlock); 998 *actualSectorsAdded = blocksAdded * sectorsPerBlock; 1054 UInt32 sectorsPerBlock; 1060 sectorsPerBlock = vcb->vcbBlockSize >> kSectorShift; 1080 nextBlock = DivideAndRoundUp(eofSectors, sectorsPerBlock); // numbe [all...] |
H A D | SVerify1.c | 834 UInt32 sectorsPerBlock; local 884 sectorsPerBlock = mdb->drAlBlkSiz / Blk_Size; 899 startSector = mdb->drAlBlSt + (4 * sectorsPerBlock); // Start looking at 4th HFS allocation block 900 numSectorsToSearch = 10 * sectorsPerBlock; // search for VH in next 10 allocation blocks 910 embededExtent.blockCount = hfsPlusSectors / sectorsPerBlock; 911 embededExtent.startBlock = (vHSector - 2 - mdb->drAlBlSt ) / sectorsPerBlock;
|
H A D | SRepair.c | 5411 uint32_t sectorsPerBlock; local 5414 sectorsPerBlock = vcb->vcbBlockSize / Blk_Size; 5416 old_offset = (vcb->vcbAlBlSt + (sectorsPerBlock * startAllocationBlock)) << Log2BlkLo; 5417 new_offset = (vcb->vcbAlBlSt + (sectorsPerBlock * newStartAllocationBlock)) << Log2BlkLo;
|
/macosx-10.10/hfs-285/newfs_hfs/ |
H A D | makehfs.c | 330 UInt32 sectorsPerBlock; local 360 sectorsPerBlock = header->blockSize / kBytesPerSector; 382 header->f.extents[0].startBlock * sectorsPerBlock, \ 398 sector = header->allocationFile.extents[0].startBlock * sectorsPerBlock; 405 sector = header->catalogFile.extents[0].startBlock * sectorsPerBlock; 448 sector = header->allocationFile.extents[0].startBlock * sectorsPerBlock; 475 header->catalogFile.extents[0].startBlock * sectorsPerBlock, 509 sector = header->extentsFile.extents[0].startBlock * sectorsPerBlock; 525 sector = header->attributesFile.extents[0].startBlock * sectorsPerBlock; 538 sector = header->catalogFile.extents[0].startBlock * sectorsPerBlock; [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 510 u_int32_t sectorsPerBlock; // Number of sectors per allocation block local 538 sectorsPerBlock = allocBlockSize / sectorSize; // sectors per allocation block 546 temp += (daddr64_t)startBlock * (daddr64_t)sectorsPerBlock;
|
/macosx-10.10/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_resize.c | 932 u_int32_t sectorsPerBlock = hfsmp->blockSize / hfsmp->hfs_logical_block_size; local 1128 hfs_invalidate_sectors(vp, (daddr64_t)oldStart*sectorsPerBlock, (daddr64_t)blockCount*sectorsPerBlock); local
|
Completed in 206 milliseconds