xref: /openbmc/linux/drivers/md/bcache/extents.h (revision 8730046c)
1 #ifndef _BCACHE_EXTENTS_H
2 #define _BCACHE_EXTENTS_H
3 
4 extern const struct btree_keys_ops bch_btree_keys_ops;
5 extern const struct btree_keys_ops bch_extent_keys_ops;
6 
7 struct bkey;
8 struct cache_set;
9 
10 void bch_extent_to_text(char *, size_t, const struct bkey *);
11 bool __bch_btree_ptr_invalid(struct cache_set *, const struct bkey *);
12 bool __bch_extent_invalid(struct cache_set *, const struct bkey *);
13 
14 #endif /* _BCACHE_EXTENTS_H */
15