Lines Matching refs:clen
186 cc->clen = lzo1x_worst_compress(PAGE_SIZE << cc->log_cluster_size); in lzo_init_compress_ctx()
201 &cc->clen, cc->private); in lzo_compress_pages()
214 ret = lzo1x_decompress_safe(dic->cbuf->cdata, dic->clen, in lzo_decompress_pages()
258 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in lz4_init_compress_ctx()
275 cc->clen, cc->private); in lz4_compress_pages()
279 cc->clen, level, cc->private); in lz4_compress_pages()
286 cc->clen = len; in lz4_compress_pages()
295 dic->clen, dic->rlen); in lz4_decompress_pages()
361 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_init_compress_ctx()
412 cc->clen = outbuf.pos; in zstd_compress_pages()
461 inbuf.size = dic->clen; in zstd_decompress_pages()
509 &cc->clen, cc->private); in lzorle_compress_pages()
638 max_len = COMPRESS_HEADER_SIZE + cc->clen; in f2fs_compress_pages()
669 if (cc->clen > max_len) { in f2fs_compress_pages()
674 cc->cbuf->clen = cpu_to_le32(cc->clen); in f2fs_compress_pages()
678 cc->cbuf->cdata, cc->clen); in f2fs_compress_pages()
684 new_nr_cpages = DIV_ROUND_UP(cc->clen + COMPRESS_HEADER_SIZE, PAGE_SIZE); in f2fs_compress_pages()
687 memset(&cc->cbuf->cdata[cc->clen], 0, in f2fs_compress_pages()
689 (cc->clen + COMPRESS_HEADER_SIZE)); in f2fs_compress_pages()
705 cc->clen, ret); in f2fs_compress_pages()
724 cc->clen, ret); in f2fs_compress_pages()
756 dic->clen = le32_to_cpu(dic->cbuf->clen); in f2fs_decompress_cluster()
759 if (dic->clen > PAGE_SIZE * dic->nr_cpages - COMPRESS_HEADER_SIZE) { in f2fs_decompress_cluster()
774 u32 calculated = f2fs_crc32(sbi, dic->cbuf->cdata, dic->clen); in f2fs_decompress_cluster()
793 dic->clen, ret); in f2fs_decompress_cluster()