Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dcompress.c50 int (*init_compress_ctx)(struct compress_ctx *cc);
51 void (*destroy_compress_ctx)(struct compress_ctx *cc);
52 int (*compress_pages)(struct compress_ctx *cc);
58 static unsigned int offset_in_cluster(struct compress_ctx *cc, pgoff_t index) in offset_in_cluster()
63 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx()
68 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster()
97 static void f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) in f2fs_drop_rpages()
111 static void f2fs_put_rpages(struct compress_ctx *cc) in f2fs_put_rpages()
116 static void f2fs_unlock_rpages(struct compress_ctx *cc, int len) in f2fs_unlock_rpages()
121 static void f2fs_put_rpages_wbc(struct compress_ctx *cc, in f2fs_put_rpages_wbc()
[all …]
H A Df2fs.h1488 struct compress_ctx { struct
4199 bool f2fs_cluster_is_empty(struct compress_ctx *cc);
4200 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index);
4201 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page);
4202 int f2fs_write_multi_pages(struct compress_ctx *cc,
4210 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret,
4213 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc);
4218 int f2fs_init_compress_ctx(struct compress_ctx *cc);
4219 void f2fs_destroy_compress_ctx(struct compress_ctx *cc, bool reuse);
H A Ddata.c2163 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret, in f2fs_read_multi_pages()
2340 struct compress_ctx cc = { in f2fs_mpage_readpages()
2940 struct compress_ctx cc = { in f2fs_write_cache_pages()