18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _BCACHE_EXTENTS_H 38c2ecf20Sopenharmony_ci#define _BCACHE_EXTENTS_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciextern const struct btree_keys_ops bch_btree_keys_ops; 68c2ecf20Sopenharmony_ciextern const struct btree_keys_ops bch_extent_keys_ops; 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cistruct bkey; 98c2ecf20Sopenharmony_cistruct cache_set; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_civoid bch_extent_to_text(char *buf, size_t size, const struct bkey *k); 128c2ecf20Sopenharmony_cibool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k); 138c2ecf20Sopenharmony_cibool __bch_extent_invalid(struct cache_set *c, const struct bkey *k); 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#endif /* _BCACHE_EXTENTS_H */ 16