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