extents.h 482 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _BCACHE_EXTENTS_H
  3. #define _BCACHE_EXTENTS_H
  4. extern const struct btree_keys_ops bch_btree_keys_ops;
  5. extern const struct btree_keys_ops bch_extent_keys_ops;
  6. struct bkey;
  7. struct cache_set;
  8. void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
  9. bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
  10. bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
  11. #endif /* _BCACHE_EXTENTS_H */