Lines Matching defs:cc

60 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index)  in offset_in_cluster()
65 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx()
70 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster()
99 static void f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) in f2fs_drop_rpages()
113 static void f2fs_put_rpages(struct compress_ctx *cc) in f2fs_put_rpages()
118 static void f2fs_unlock_rpages(struct compress_ctx *cc, int len) in f2fs_unlock_rpages()
123 static void f2fs_put_rpages_wbc(struct compress_ctx *cc, in f2fs_put_rpages_wbc()
142 int f2fs_init_compress_ctx(struct compress_ctx *cc) in f2fs_init_compress_ctx()
151 void f2fs_destroy_compress_ctx(struct compress_ctx *cc, bool reuse) in f2fs_destroy_compress_ctx()
162 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page) in f2fs_compress_ctx_add_page()
176 static int lzo_init_compress_ctx(struct compress_ctx *cc) in lzo_init_compress_ctx()
187 static void lzo_destroy_compress_ctx(struct compress_ctx *cc) in lzo_destroy_compress_ctx()
193 static int lzo_compress_pages(struct compress_ctx *cc) in lzo_compress_pages()
239 static int lz4_init_compress_ctx(struct compress_ctx *cc) in lz4_init_compress_ctx()
261 static void lz4_destroy_compress_ctx(struct compress_ctx *cc) in lz4_destroy_compress_ctx()
268 static int lz4hc_compress_pages(struct compress_ctx *cc) in lz4hc_compress_pages()
288 static int lz4_compress_pages(struct compress_ctx *cc) in lz4_compress_pages()
337 static int zstd_init_compress_ctx(struct compress_ctx *cc) in zstd_init_compress_ctx()
373 static void zstd_destroy_compress_ctx(struct compress_ctx *cc) in zstd_destroy_compress_ctx()
380 static int zstd_compress_pages(struct compress_ctx *cc) in zstd_compress_pages()
508 static int lzorle_compress_pages(struct compress_ctx *cc) in lzorle_compress_pages()
617 static int f2fs_compress_pages(struct compress_ctx *cc) in f2fs_compress_pages()
821 static bool is_page_in_cluster(struct compress_ctx *cc, pgoff_t index) in is_page_in_cluster()
828 bool f2fs_cluster_is_empty(struct compress_ctx *cc) in f2fs_cluster_is_empty()
833 static bool f2fs_cluster_is_full(struct compress_ctx *cc) in f2fs_cluster_is_full()
838 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index) in f2fs_cluster_can_merge_page()
845 bool f2fs_all_cluster_page_ready(struct compress_ctx *cc, struct page **pages, in f2fs_all_cluster_page_ready()
871 static bool cluster_has_invalid_data(struct compress_ctx *cc) in cluster_has_invalid_data()
986 static int f2fs_compressed_blocks(struct compress_ctx *cc) in f2fs_compressed_blocks()
999 static bool cluster_may_compress(struct compress_ctx *cc) in cluster_may_compress()
1012 static void set_cluster_writeback(struct compress_ctx *cc) in set_cluster_writeback()
1022 static void set_cluster_dirty(struct compress_ctx *cc) in set_cluster_dirty()
1031 static int prepare_compress_overwrite(struct compress_ctx *cc, in prepare_compress_overwrite()
1121 struct compress_ctx cc = { in f2fs_prepare_compress_overwrite() local
1137 struct compress_ctx cc = { in f2fs_compress_write_end() local
1203 static int f2fs_write_compressed_pages(struct compress_ctx *cc, in f2fs_write_compressed_pages()
1429 static int f2fs_write_raw_pages(struct compress_ctx *cc, in f2fs_write_raw_pages()
1498 int f2fs_write_multi_pages(struct compress_ctx *cc, in f2fs_write_multi_pages()
1599 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc) in f2fs_alloc_dic()