Searched refs:sectorsize (Results 1 - 2 of 2) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_vfsops.c | 2903 int sectorsize; local 2906 sectorsize = hfsmp->hfs_logical_block_size; 2907 retval = (int)buf_bread(hfsmp->hfs_devvp, (daddr64_t)HFS_PRI_SECTOR(sectorsize), sectorsize, NOCRED, &bp); 2916 mdb = (HFSMasterDirectoryBlock *)(buf_dataptr(bp) + HFS_PRI_OFFSET(sectorsize)); 2971 if (buf_meta_bread(hfsmp->hfs_devvp, hfsmp->hfs_alt_id_sector, sectorsize, NOCRED, &alt_bp) == 0) { 2972 bcopy(mdb, (char *)buf_dataptr(alt_bp) + HFS_ALT_OFFSET(sectorsize), kMDBSize); 3284 u_int32_t sectorsize; local 3328 if (VNOP_IOCTL(devvp, DKIOCGETBLOCKSIZE, (caddr_t)§orsize, 0, context)) { 3331 if (sectorsize ! [all...] |
H A D | hfs_catalog.c | 2174 int sectorsize; local 2184 sectorsize = hfsmp->hfs_logical_block_size; 2197 blkno = ((u_int64_t)rsrcforkp->extents[0].startBlock * (u_int64_t)blksize) / sectorsize; 2198 blkno += hfsmp->hfsPlusIOPosOffset / sectorsize;
|
Completed in 34 milliseconds