Searched refs:blktosec (Results 1 – 3 of 3) sorted by relevance
168 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in iso_get_inode() local181 inode->next_extent.pstart = (sector_t)de->extent_le << blktosec; in iso_get_inode()182 inode->next_extent.len = (sector_t)inode->blocks << blktosec; in iso_get_inode()283 int blktosec; in iso_fs_init() local300 blktosec = fs->block_shift - fs->sector_shift; in iso_fs_init()306 disk->rdwr_sectors(disk, pvd, (sector_t)pvd_lba << blktosec, in iso_fs_init()307 1 << blktosec, false); in iso_fs_init()
213 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ext2_next_extent() local214 int blkmask = (1 << blktosec) - 1; in ext2_next_extent()218 block = ext2_bmap(inode, lstart >> blktosec, &nblocks); in ext2_next_extent()224 ((sector_t)block << blktosec) | (lstart & blkmask); in ext2_next_extent()226 inode->next_extent.len = (nblocks << blktosec) - (lstart & blkmask); in ext2_next_extent()
175 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ufs_next_extent() local177 int blkmask = (1 << blktosec) - 1; in ufs_next_extent()182 block = ufs_bmap(inode, lstart >> blktosec, &nblocks); in ufs_next_extent()200 inode->next_extent.len = (nblocks << blktosec) - (lstart & blkmask); in ufs_next_extent()