Home
last modified time | relevance | path

Searched refs:cpage_out (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/fs/jffs2/
Dcompr_rtime.c33 unsigned char *cpage_out, in jffs2_rtime_compress() argument
51 cpage_out[outpos++] = data_in[pos++]; in jffs2_rtime_compress()
61 cpage_out[outpos++] = runlen; in jffs2_rtime_compress()
77 unsigned char *cpage_out, in jffs2_rtime_decompress() argument
92 cpage_out[outpos++] = value; /* first the verbatim copied byte */ in jffs2_rtime_decompress()
100 cpage_out[outpos++] = cpage_out[backoffs++]; in jffs2_rtime_decompress()
104 memcpy(&cpage_out[outpos],&cpage_out[backoffs],repeat); in jffs2_rtime_decompress()
Dcompr_rubin.c263 unsigned char *cpage_out, uint32_t *sourcelen, in rubin_do_compress() argument
270 init_pushpull(&rs.pp, cpage_out, *dstlen * 8, 0, 32); in rubin_do_compress()
297 int jffs2_rubinmips_compress(unsigned char *data_in, unsigned char *cpage_out,
301 cpage_out, sourcelen, dstlen);
305 unsigned char *cpage_out, in jffs2_dynrubin_compress() argument
347 cpage_out[i] = bits[i]; in jffs2_dynrubin_compress()
350 ret = rubin_do_compress(256, bits, data_in, cpage_out+8, &mysrclen, in jffs2_dynrubin_compress()
385 unsigned char *cpage_out, in jffs2_rubinmips_decompress() argument
389 cpage_out, sourcelen, dstlen); in jffs2_rubinmips_decompress()
394 unsigned char *cpage_out, in jffs2_dynrubin_decompress() argument
[all …]
Dcompr_lzo.c43 static int jffs2_lzo_compress(unsigned char *data_in, unsigned char *cpage_out, in jffs2_lzo_compress() argument
57 memcpy(cpage_out, lzo_compress_buf, compress_size); in jffs2_lzo_compress()
68 static int jffs2_lzo_decompress(unsigned char *data_in, unsigned char *cpage_out, in jffs2_lzo_decompress() argument
74 ret = lzo1x_decompress_safe(data_in, srclen, cpage_out, &dl); in jffs2_lzo_decompress()
Dcompr.c75 unsigned char **cpage_out, u32 *datalen, u32 *cdatalen) in jffs2_selected_compress() argument
125 *cpage_out = output_buf; in jffs2_selected_compress()
149 unsigned char *data_in, unsigned char **cpage_out, in jffs2_compress() argument
168 ret = jffs2_selected_compress(0, data_in, cpage_out, datalen, in jffs2_compress()
228 *cpage_out = output_buf; in jffs2_compress()
234 cpage_out, datalen, cdatalen); in jffs2_compress()
238 cpage_out, datalen, cdatalen); in jffs2_compress()
245 *cpage_out = data_in; in jffs2_compress()
Dcompr_zlib.c73 unsigned char *cpage_out, in jffs2_zlib_compress() argument
92 def_strm.next_out = cpage_out; in jffs2_zlib_compress()
142 unsigned char *cpage_out, in jffs2_zlib_decompress() argument
154 inf_strm.next_out = cpage_out; in jffs2_zlib_decompress()
Dcompr.h53 int (*compress)(unsigned char *data_in, unsigned char *cpage_out,
74 unsigned char *data_in, unsigned char **cpage_out,
/kernel/linux/linux-5.10/fs/btrfs/
Dlzo.c121 char *cpage_out; in lzo_compress_pages() local
154 cpage_out = kmap(out_page); in lzo_compress_pages()
174 write_compress_length(cpage_out + out_offset, out_len); in lzo_compress_pages()
187 memcpy(cpage_out + out_offset, buf, bytes); in lzo_compress_pages()
203 memset(cpage_out + out_offset, 0, in lzo_compress_pages()
224 cpage_out = kmap(out_page); in lzo_compress_pages()
261 cpage_out = kmap(pages[0]); in lzo_compress_pages()
262 write_compress_length(cpage_out, tot_out); in lzo_compress_pages()
Dzlib.c101 char *cpage_out; in zlib_compress_pages() local
129 cpage_out = kmap(out_page); in zlib_compress_pages()
135 workspace->strm.next_out = cpage_out; in zlib_compress_pages()
210 cpage_out = kmap(out_page); in zlib_compress_pages()
214 workspace->strm.next_out = cpage_out; in zlib_compress_pages()
248 cpage_out = kmap(out_page); in zlib_compress_pages()
252 workspace->strm.next_out = cpage_out; in zlib_compress_pages()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch668 - unsigned char **cpage_out, u32 *datalen, u32 *cdatalen)
670 + unsigned char **cpage_out, uint32_t *datalen, uint32_t *cdatalen)
788 -static int jffs2_lzo_compress(unsigned char *data_in, unsigned char *cpage_out,
802 - memcpy(cpage_out, lzo_compress_buf, compress_size);
813 -static int jffs2_lzo_decompress(unsigned char *data_in, unsigned char *cpage_out,
819 - ret = lzo1x_decompress_safe(data_in, srclen, cpage_out, &dl);
901 - init_pushpull(&rs.pp, cpage_out, *dstlen * 8, 0, 32);
902 + init_pushpull(&rs.pp, (char *)cpage_out, *dstlen * 8, 0, 32);
983 unsigned char *cpage_out,