1 #ifndef _BCACHE_COMPRESS_H
2 #define _BCACHE_COMPRESS_H
4 int bch2_bio_uncompress_inplace(struct bch_fs *, struct bio *,
5 unsigned, struct bch_extent_crc128);
6 int bch2_bio_uncompress(struct bch_fs *, struct bio *, struct bio *,
7 struct bvec_iter, struct bch_extent_crc128);
8 void bch2_bio_compress(struct bch_fs *, struct bio *, size_t *,
9 struct bio *, size_t *, unsigned *);
11 int bch2_check_set_has_compressed_data(struct bch_fs *, unsigned);
12 void bch2_fs_compress_exit(struct bch_fs *);
13 int bch2_fs_compress_init(struct bch_fs *);
15 #endif /* _BCACHE_COMPRESS_H */