Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/f2fs/
H A Dcompress.c48 int (*init_compress_ctx)(struct compress_ctx *cc);
49 void (*destroy_compress_ctx)(struct compress_ctx *cc);
50 int (*compress_pages)(struct compress_ctx *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 *c
[all...]
H A Df2fs.h1322 struct compress_ctx { struct
3936 bool f2fs_cluster_is_empty(struct compress_ctx *cc);
3937 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index);
3938 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page);
3939 int f2fs_write_multi_pages(struct compress_ctx *cc,
3944 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret,
3947 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc);
3951 int f2fs_init_compress_ctx(struct compress_ctx *cc);
3952 void f2fs_destroy_compress_ctx(struct compress_ctx *cc, bool reuse);
H A Ddata.c2191 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret, in f2fs_read_multi_pages()
2389 struct compress_ctx cc = { in f2fs_mpage_readpages()
2990 struct compress_ctx cc = { in f2fs_write_cache_pages()
/kernel/linux/linux-6.6/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) in offset_in_cluster()
66 static pgoff_t cluster_idx(struct compress_ctx *cc, pgoff_t index) in cluster_idx()
71 static pgoff_t start_idx_of_cluster(struct compress_ctx *cc) in start_idx_of_cluster()
100 static void f2fs_drop_rpages(struct compress_ctx *cc, int len, bool unlock) in f2fs_drop_rpages()
114 static void f2fs_put_rpages(struct compress_ctx *cc) in f2fs_put_rpages()
119 static void f2fs_unlock_rpages(struct compress_ctx *cc, int len) in f2fs_unlock_rpages()
124 static void f2fs_put_rpages_wbc(struct compress_ctx *c
[all...]
H A Df2fs.h1459 struct compress_ctx { struct
4270 bool f2fs_cluster_is_empty(struct compress_ctx *cc);
4271 bool f2fs_cluster_can_merge_page(struct compress_ctx *cc, pgoff_t index);
4272 bool f2fs_all_cluster_page_ready(struct compress_ctx *cc, struct page **pages,
4275 void f2fs_compress_ctx_add_page(struct compress_ctx *cc, struct page *page);
4276 int f2fs_write_multi_pages(struct compress_ctx *cc,
4284 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret,
4287 struct decompress_io_ctx *f2fs_alloc_dic(struct compress_ctx *cc);
4293 int f2fs_init_compress_ctx(struct compress_ctx *cc);
4294 void f2fs_destroy_compress_ctx(struct compress_ctx *c
[all...]
H A Ddata.c2230 int f2fs_read_multi_pages(struct compress_ctx *cc, struct bio **bio_ret, in f2fs_read_multi_pages()
2410 struct compress_ctx cc = { in f2fs_mpage_readpages()
3024 struct compress_ctx cc = { in f2fs_write_cache_pages()

Completed in 30 milliseconds