Lines Matching refs:datalen
75 unsigned char **cpage_out, u32 *datalen, u32 *cdatalen) in jffs2_selected_compress() argument
87 orig_slen = *datalen; in jffs2_selected_compress()
106 *datalen = orig_slen; in jffs2_selected_compress()
108 err = this->compress(data_in, output_buf, datalen, cdatalen); in jffs2_selected_compress()
116 this->stat_compr_orig_size += *datalen; in jffs2_selected_compress()
150 uint32_t *datalen, uint32_t *cdatalen) in jffs2_compress() argument
168 ret = jffs2_selected_compress(0, data_in, cpage_out, datalen, in jffs2_compress()
173 orig_slen = *datalen; in jffs2_compress()
204 *datalen = orig_slen; in jffs2_compress()
206 compr_ret = this->compress(data_in, this->compr_buf, datalen, cdatalen); in jffs2_compress()
211 && (*cdatalen < *datalen)) { in jffs2_compress()
213 best_slen = *datalen; in jffs2_compress()
220 *datalen = best_slen; in jffs2_compress()
234 cpage_out, datalen, cdatalen); in jffs2_compress()
238 cpage_out, datalen, cdatalen); in jffs2_compress()
246 *datalen = *cdatalen; in jffs2_compress()
248 none_stat_compr_size += *datalen; in jffs2_compress()
255 unsigned char *data_out, uint32_t cdatalen, uint32_t datalen) in jffs2_decompress() argument
268 memcpy(data_out, cdata_in, datalen); in jffs2_decompress()
272 memset(data_out, 0, datalen); in jffs2_decompress()
280 ret = this->decompress(cdata_in, data_out, cdatalen, datalen); in jffs2_decompress()