Searched refs:compress_ctx (Results 1 - 3 of 3) sorted by relevance

/linux-master/fs/f2fs/
H A Dcompress.c52 int (*init_compress_ctx)(struct compress_ctx *cc);
53 void (*destroy_compress_ctx)(struct compress_ctx *cc);
54 int (*compress_pages)(struct compress_ctx *cc);
61 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index)
66 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index)
71 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc)
100 static void f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock)
114 static void f2fs_put_rpages(struct compress_ctx *cc)
119 static void f2fs_unlock_rpages(struct compress_ctx *cc, int len)
124 static void f2fs_put_rpages_wbc(struct compress_ctx *c
[all...]
H A Df2fs.h1467 struct compress_ctx { struct
4280 bool f2fs_cluster_is_empty(struct compress_ctx *cc);
4281 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index);
4282 bool f2fs_all_cluster_page_ready(struct compress_ctx *cc, struct page **pages,
4285 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page);
4286 int f2fs_write_multi_pages(struct compress_ctx *cc,
4294 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret,
4297 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc);
4303 int f2fs_init_compress_ctx(struct compress_ctx *cc);
4304 void f2fs_destroy_compress_ctx(struct compress_ctx *c
[all...]
H A Ddata.c2153 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret,
2333 struct compress_ctx cc = {
2946 struct compress_ctx cc = {

Completed in 259 milliseconds