• Home
  • Raw
  • Download

Lines Matching refs:buf

9 	struct xz_buf buf;  member
196 strm->buf.in = kin + inputmargin; in z_erofs_lzma_decompress()
197 strm->buf.in_pos = 0; in z_erofs_lzma_decompress()
198 strm->buf.in_size = min_t(u32, inlen, PAGE_SIZE - inputmargin); in z_erofs_lzma_decompress()
199 inlen -= strm->buf.in_size; in z_erofs_lzma_decompress()
200 strm->buf.out = NULL; in z_erofs_lzma_decompress()
201 strm->buf.out_pos = 0; in z_erofs_lzma_decompress()
202 strm->buf.out_size = 0; in z_erofs_lzma_decompress()
207 if (strm->buf.out_pos == strm->buf.out_size) { in z_erofs_lzma_decompress()
208 if (strm->buf.out) { in z_erofs_lzma_decompress()
210 strm->buf.out = NULL; in z_erofs_lzma_decompress()
218 strm->buf.out_pos = 0; in z_erofs_lzma_decompress()
219 strm->buf.out_size = min_t(u32, outlen, in z_erofs_lzma_decompress()
221 outlen -= strm->buf.out_size; in z_erofs_lzma_decompress()
223 strm->buf.out = kmap(rq->out[no]) + pageofs; in z_erofs_lzma_decompress()
225 } else if (strm->buf.in_pos == strm->buf.in_size) { in z_erofs_lzma_decompress()
233 strm->buf.in_pos = 0; in z_erofs_lzma_decompress()
234 strm->buf.in_size = min_t(u32, inlen, PAGE_SIZE); in z_erofs_lzma_decompress()
235 inlen -= strm->buf.in_size; in z_erofs_lzma_decompress()
237 strm->buf.in = kin; in z_erofs_lzma_decompress()
248 memcpy(strm->bounce, strm->buf.in, strm->buf.in_size); in z_erofs_lzma_decompress()
249 strm->buf.in = strm->bounce; in z_erofs_lzma_decompress()
266 xz_err = xz_dec_microlzma_run(strm->state, &strm->buf); in z_erofs_lzma_decompress()
267 DBG_BUGON(strm->buf.out_pos > strm->buf.out_size); in z_erofs_lzma_decompress()
268 DBG_BUGON(strm->buf.in_pos > strm->buf.in_size); in z_erofs_lzma_decompress()
279 if (no < nrpages_out && strm->buf.out) in z_erofs_lzma_decompress()