Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _BCACHE_EXTENTS_H
0003 #define _BCACHE_EXTENTS_H
0004 
0005 extern const struct btree_keys_ops bch_btree_keys_ops;
0006 extern const struct btree_keys_ops bch_extent_keys_ops;
0007 
0008 struct bkey;
0009 struct cache_set;
0010 
0011 void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
0012 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
0013 bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
0014 
0015 #endif /* _BCACHE_EXTENTS_H */