Lines Matching refs:stream
23 void *stream; member
30 struct squashfs_stream *stream; in squashfs_decompressor_create() local
39 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create()
40 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create()
41 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create()
42 err = PTR_ERR(stream->stream); in squashfs_decompressor_create()
45 local_lock_init(&stream->lock); in squashfs_decompressor_create()
53 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create()
54 if (!IS_ERR_OR_NULL(stream->stream)) in squashfs_decompressor_create()
55 msblk->decompressor->free(stream->stream); in squashfs_decompressor_create()
64 (struct squashfs_stream __percpu *) msblk->stream; in squashfs_decompressor_destroy()
65 struct squashfs_stream *stream; in squashfs_decompressor_destroy() local
68 if (msblk->stream) { in squashfs_decompressor_destroy()
70 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_destroy()
71 msblk->decompressor->free(stream->stream); in squashfs_decompressor_destroy()
80 struct squashfs_stream *stream; in squashfs_decompress() local
82 (struct squashfs_stream __percpu *) msblk->stream; in squashfs_decompress()
86 stream = this_cpu_ptr(percpu); in squashfs_decompress()
88 res = msblk->decompressor->decompress(msblk, stream->stream, bio, in squashfs_decompress()