extents.h 430 B

1234567891011121314
  1. #ifndef _BCACHE_EXTENTS_H
  2. #define _BCACHE_EXTENTS_H
  3. extern const struct btree_keys_ops bch_btree_keys_ops;
  4. extern const struct btree_keys_ops bch_extent_keys_ops;
  5. struct bkey;
  6. struct cache_set;
  7. void bch_extent_to_text(char *, size_t, const struct bkey *);
  8. bool __bch_btree_ptr_invalid(struct cache_set *, const struct bkey *);
  9. bool __bch_extent_invalid(struct cache_set *, const struct bkey *);
  10. #endif /* _BCACHE_EXTENTS_H */