^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _BCACHE_EXTENTS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _BCACHE_EXTENTS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) extern const struct btree_keys_ops bch_btree_keys_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) extern const struct btree_keys_ops bch_extent_keys_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) struct bkey;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) struct cache_set;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #endif /* _BCACHE_EXTENTS_H */