Lines Matching refs:cdatalen
75 unsigned char **cpage_out, u32 *datalen, u32 *cdatalen) in jffs2_selected_compress() argument
82 output_buf = kmalloc(*cdatalen, GFP_KERNEL); in jffs2_selected_compress()
88 orig_dlen = *cdatalen; in jffs2_selected_compress()
107 *cdatalen = orig_dlen; in jffs2_selected_compress()
108 err = this->compress(data_in, output_buf, datalen, cdatalen); in jffs2_selected_compress()
117 this->stat_compr_new_size += *cdatalen; in jffs2_selected_compress()
150 uint32_t *datalen, uint32_t *cdatalen) in jffs2_compress() argument
169 cdatalen); in jffs2_compress()
174 orig_dlen = *cdatalen; in jffs2_compress()
205 *cdatalen = orig_dlen; in jffs2_compress()
206 compr_ret = this->compress(data_in, this->compr_buf, datalen, cdatalen); in jffs2_compress()
210 if (((!best_dlen) || jffs2_is_best_compression(this, best, *cdatalen, best_dlen)) in jffs2_compress()
211 && (*cdatalen < *datalen)) { in jffs2_compress()
212 best_dlen = *cdatalen; in jffs2_compress()
219 *cdatalen = best_dlen; 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()
255 unsigned char *data_out, uint32_t cdatalen, uint32_t datalen) in jffs2_decompress() argument
280 ret = this->decompress(cdata_in, data_out, cdatalen, datalen); in jffs2_decompress()