Home
last modified time | relevance | path

Searched refs:blktosec (Results 1 – 3 of 3) sorted by relevance

/external/syslinux/core/fs/iso9660/
Diso9660.c168 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in iso_get_inode() local
181 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() local
300 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()
/external/syslinux/core/fs/ext2/
Dbmap.c213 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ext2_next_extent() local
214 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()
/external/syslinux/core/fs/ufs/
Dbmap.c175 int blktosec = BLOCK_SHIFT(fs) - SECTOR_SHIFT(fs); in ufs_next_extent() local
177 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()