Lines Matching refs:msblk
192 struct squashfs_sb_info *msblk = sb->s_fs_info; in squashfs_bio_read() local
193 struct address_space *cache_mapping = msblk->cache_mapping; in squashfs_bio_read()
194 const u64 read_start = round_down(index, msblk->devblksize); in squashfs_bio_read()
195 const sector_t block = read_start >> msblk->devblksize_log2; in squashfs_bio_read()
196 const u64 read_end = round_up(index + length, msblk->devblksize); in squashfs_bio_read()
197 const sector_t block_end = read_end >> msblk->devblksize_log2; in squashfs_bio_read()
199 int total_len = (block_end - block) << msblk->devblksize_log2; in squashfs_bio_read()
208 bio->bi_iter.bi_sector = block * (msblk->devblksize >> SECTOR_SHIFT); in squashfs_bio_read()
244 *block_offset = index & ((1 << msblk->devblksize_log2) - 1); in squashfs_bio_read()
266 struct squashfs_sb_info *msblk = sb->s_fs_info; in squashfs_read_data() local
288 if (index + 2 > msblk->bytes_used) { in squashfs_read_data()
325 (index + length) > msblk->bytes_used) { in squashfs_read_data()
338 if (!msblk->stream) { in squashfs_read_data()
342 res = msblk->thread_ops->decompress(msblk, bio, offset, length, output); in squashfs_read_data()
354 if (msblk->panic_on_errors) in squashfs_read_data()