Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / md / bcache / extents.h
blob4d667e05bb73e8cdd389e67fc5489554a583bbaf
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHE_EXTENTS_H
3 #define _BCACHE_EXTENTS_H
5 extern const struct btree_keys_ops bch_btree_keys_ops;
6 extern const struct btree_keys_ops bch_extent_keys_ops;
8 struct bkey;
9 struct cache_set;
11 void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
12 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
13 bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
15 #endif /* _BCACHE_EXTENTS_H */