Lines Matching refs:msblk
61 static void *squashfs_decompressor_create(struct squashfs_sb_info *msblk, in squashfs_decompressor_create() argument
87 decomp_strm->stream = msblk->decompressor->init(msblk, in squashfs_decompressor_create()
105 static void squashfs_decompressor_destroy(struct squashfs_sb_info *msblk) in squashfs_decompressor_destroy() argument
107 struct squashfs_stream *stream = msblk->stream; in squashfs_decompressor_destroy()
115 msblk->decompressor->free(decomp_strm->stream); in squashfs_decompressor_destroy()
126 static struct decomp_stream *get_decomp_stream(struct squashfs_sb_info *msblk, in get_decomp_stream() argument
147 if (stream->avail_decomp >= msblk->max_thread_num) in get_decomp_stream()
155 decomp_strm->stream = msblk->decompressor->init(msblk, in get_decomp_stream()
163 WARN_ON(stream->avail_decomp > msblk->max_thread_num); in get_decomp_stream()
182 static int squashfs_decompress(struct squashfs_sb_info *msblk, struct bio *bio, in squashfs_decompress() argument
187 struct squashfs_stream *stream = msblk->stream; in squashfs_decompress()
188 struct decomp_stream *decomp_stream = get_decomp_stream(msblk, stream); in squashfs_decompress()
189 res = msblk->decompressor->decompress(msblk, decomp_stream->stream, in squashfs_decompress()
194 msblk->decompressor->name); in squashfs_decompress()