Lines Matching refs:out
27 int (*decompress)(struct z_erofs_decompress_req *rq, u8 *out);
44 struct page *const page = rq->out[i]; in z_erofs_lz4_prepare_destpages()
54 availables[top++] = rq->out[i - LZ4_MAX_DISTANCE_PAGES]; in z_erofs_lz4_prepare_destpages()
81 rq->out[i] = victim; in z_erofs_lz4_prepare_destpages()
113 static int z_erofs_lz4_decompress(struct z_erofs_decompress_req *rq, u8 *out) in z_erofs_lz4_decompress() argument
151 rq->out[nr - 1] != rq->in[0] || in z_erofs_lz4_decompress()
160 ret = LZ4_decompress_safe_partial(src + inputmargin, out, in z_erofs_lz4_decompress()
170 16, 1, out, rq->outputsize, true); in z_erofs_lz4_decompress()
192 static void copy_from_pcpubuf(struct page **out, const char *dst, in copy_from_pcpubuf() argument
201 struct page *const page = *out++; in copy_from_pcpubuf()
230 DBG_BUGON(!*rq->out); in z_erofs_decompress_generic()
231 dst = kmap_atomic(*rq->out); in z_erofs_decompress_generic()
249 copy_from_pcpubuf(rq->out, dst, rq->pageofs_out, in z_erofs_decompress_generic()
260 dst = page_address(*rq->out); in z_erofs_decompress_generic()
267 dst = vm_map_ram(rq->out, nrpages_out, -1, PAGE_KERNEL); in z_erofs_decompress_generic()
303 if (rq->out[0] == *rq->in) { in z_erofs_shifted_transform()
309 if (!rq->out[0]) { in z_erofs_shifted_transform()
312 dst = kmap_atomic(rq->out[0]); in z_erofs_shifted_transform()
316 if (rq->out[1] == *rq->in) { in z_erofs_shifted_transform()
321 DBG_BUGON(!rq->out[1]); in z_erofs_shifted_transform()
322 dst = kmap_atomic(rq->out[1]); in z_erofs_shifted_transform()