Home
last modified time | relevance | path

Searched refs:COMPRESS_HEADER_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dcompress.c257 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in lz4_init_compress_ctx()
369 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_init_compress_ctx()
386 int dst_size = src_size - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_compress_pages()
635 max_len = COMPRESS_HEADER_SIZE + cc->clen; in f2fs_compress_pages()
669 max_len = PAGE_SIZE * (cc->cluster_size - 1) - COMPRESS_HEADER_SIZE; in f2fs_compress_pages()
686 new_nr_cpages = DIV_ROUND_UP(cc->clen + COMPRESS_HEADER_SIZE, PAGE_SIZE); in f2fs_compress_pages()
691 (cc->clen + COMPRESS_HEADER_SIZE)); in f2fs_compress_pages()
763 if (dic->clen > PAGE_SIZE * dic->nr_cpages - COMPRESS_HEADER_SIZE) { in f2fs_decompress_cluster()
Df2fs.h1523 #define COMPRESS_HEADER_SIZE (sizeof(struct compress_data)) macro