Lines Matching refs:dctx
142 struct z_erofs_stream_dctx dctx = { in z_erofs_zstd_decompress() local
156 dctx.kin = kmap_local_page(*rq->in); in z_erofs_zstd_decompress()
157 err = z_erofs_fixup_insize(rq, dctx.kin + rq->pageofs_in, in z_erofs_zstd_decompress()
160 kunmap_local(dctx.kin); in z_erofs_zstd_decompress()
177 in_buf.src = dctx.kin + rq->pageofs_in; in z_erofs_zstd_decompress()
178 dctx.bounce = strm->bounce; in z_erofs_zstd_decompress()
181 dctx.avail_out = out_buf.size - out_buf.pos; in z_erofs_zstd_decompress()
182 dctx.inbuf_sz = in_buf.size; in z_erofs_zstd_decompress()
183 dctx.inbuf_pos = in_buf.pos; in z_erofs_zstd_decompress()
184 err = z_erofs_stream_switch_bufs(&dctx, &out_buf.dst, in z_erofs_zstd_decompress()
190 out_buf.size = dctx.avail_out; in z_erofs_zstd_decompress()
193 in_buf.size = dctx.inbuf_sz; in z_erofs_zstd_decompress()
194 in_buf.pos = dctx.inbuf_pos; in z_erofs_zstd_decompress()
206 if (dctx.kout) in z_erofs_zstd_decompress()
207 kunmap_local(dctx.kout); in z_erofs_zstd_decompress()
209 kunmap_local(dctx.kin); in z_erofs_zstd_decompress()