• Home
  • Raw
  • Download

Lines Matching defs:cc

56 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index)  in offset_in_cluster()
61 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx()
66 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster()
102 static void f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) in f2fs_drop_rpages()
116 static void f2fs_put_rpages(struct compress_ctx *cc) in f2fs_put_rpages()
121 static void f2fs_unlock_rpages(struct compress_ctx *cc, int len) in f2fs_unlock_rpages()
126 static void f2fs_put_rpages_wbc(struct compress_ctx *cc, in f2fs_put_rpages_wbc()
145 int f2fs_init_compress_ctx(struct compress_ctx *cc) in f2fs_init_compress_ctx()
154 void f2fs_destroy_compress_ctx(struct compress_ctx *cc, bool reuse) in f2fs_destroy_compress_ctx()
164 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page) in f2fs_compress_ctx_add_page()
178 static int lzo_init_compress_ctx(struct compress_ctx *cc) in lzo_init_compress_ctx()
189 static void lzo_destroy_compress_ctx(struct compress_ctx *cc) in lzo_destroy_compress_ctx()
195 static int lzo_compress_pages(struct compress_ctx *cc) in lzo_compress_pages()
241 static int lz4_init_compress_ctx(struct compress_ctx *cc) in lz4_init_compress_ctx()
257 static void lz4_destroy_compress_ctx(struct compress_ctx *cc) in lz4_destroy_compress_ctx()
263 static int lz4_compress_pages(struct compress_ctx *cc) in lz4_compress_pages()
310 static int zstd_init_compress_ctx(struct compress_ctx *cc) in zstd_init_compress_ctx()
341 static void zstd_destroy_compress_ctx(struct compress_ctx *cc) in zstd_destroy_compress_ctx()
348 static int zstd_compress_pages(struct compress_ctx *cc) in zstd_compress_pages()
476 static int lzorle_compress_pages(struct compress_ctx *cc) in lzorle_compress_pages()
586 static int f2fs_compress_pages(struct compress_ctx *cc) in f2fs_compress_pages()
799 static bool is_page_in_cluster(struct compress_ctx *cc, pgoff_t index) in is_page_in_cluster()
806 bool f2fs_cluster_is_empty(struct compress_ctx *cc) in f2fs_cluster_is_empty()
811 static bool f2fs_cluster_is_full(struct compress_ctx *cc) in f2fs_cluster_is_full()
816 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index) in f2fs_cluster_can_merge_page()
823 static bool __cluster_may_compress(struct compress_ctx *cc) in __cluster_may_compress()
847 static int __f2fs_cluster_blocks(struct compress_ctx *cc, bool compr) in __f2fs_cluster_blocks()
885 static int f2fs_compressed_blocks(struct compress_ctx *cc) in f2fs_compressed_blocks()
891 static int f2fs_cluster_blocks(struct compress_ctx *cc) in f2fs_cluster_blocks()
898 struct compress_ctx cc = { in f2fs_is_compressed_cluster() local
908 static bool cluster_may_compress(struct compress_ctx *cc) in cluster_may_compress()
923 static void set_cluster_writeback(struct compress_ctx *cc) in set_cluster_writeback()
933 static void set_cluster_dirty(struct compress_ctx *cc) in set_cluster_dirty()
942 static int prepare_compress_overwrite(struct compress_ctx *cc, in prepare_compress_overwrite()
1056 struct compress_ctx cc = { in f2fs_prepare_compress_overwrite() local
1072 struct compress_ctx cc = { in f2fs_compress_write_end() local
1138 static int f2fs_write_compressed_pages(struct compress_ctx *cc, in f2fs_write_compressed_pages()
1359 static int f2fs_write_raw_pages(struct compress_ctx *cc, in f2fs_write_raw_pages()
1430 int f2fs_write_multi_pages(struct compress_ctx *cc, in f2fs_write_multi_pages()
1463 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc) in f2fs_alloc_dic()