Lines Matching refs:msblk
28 void *squashfs_decompressor_create(struct squashfs_sb_info *msblk, in squashfs_decompressor_create() argument
41 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create()
56 msblk->decompressor->free(stream->stream); in squashfs_decompressor_create()
62 void squashfs_decompressor_destroy(struct squashfs_sb_info *msblk) in squashfs_decompressor_destroy() argument
65 (struct squashfs_stream __percpu *) msblk->stream; in squashfs_decompressor_destroy()
69 if (msblk->stream) { in squashfs_decompressor_destroy()
72 msblk->decompressor->free(stream->stream); in squashfs_decompressor_destroy()
78 int squashfs_decompress(struct squashfs_sb_info *msblk, struct bio *bio, in squashfs_decompress() argument
84 local_lock(&msblk->stream->lock); in squashfs_decompress()
85 stream = this_cpu_ptr(msblk->stream); in squashfs_decompress()
87 res = msblk->decompressor->decompress(msblk, stream->stream, bio, in squashfs_decompress()
90 local_unlock(&msblk->stream->lock); in squashfs_decompress()
94 msblk->decompressor->name); in squashfs_decompress()