Lines Matching refs:bkey
46 static bool __ptr_invalid(struct cache_set *c, const struct bkey *k) in __ptr_invalid()
67 static const char *bch_ptr_status(struct cache_set *c, const struct bkey *k) in bch_ptr_status()
96 void bch_extent_to_text(char *buf, size_t size, const struct bkey *k) in bch_extent_to_text()
125 static void bch_bkey_dump(struct btree_keys *keys, const struct bkey *k) in bch_bkey_dump()
148 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k) in __bch_btree_ptr_invalid()
165 static bool bch_btree_ptr_invalid(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_invalid()
171 static bool btree_ptr_bad_expensive(struct btree *b, const struct bkey *k) in btree_ptr_bad_expensive()
203 static bool bch_btree_ptr_bad(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_bad()
226 struct bkey *insert, in bch_btree_ptr_insert_fixup()
228 struct bkey *replace_key) in bch_btree_ptr_insert_fixup()
264 static struct bkey *bch_extent_sort_fixup(struct btree_iter *iter, in bch_extent_sort_fixup()
265 struct bkey *tmp) in bch_extent_sort_fixup()
311 static void bch_subtract_dirty(struct bkey *k, in bch_subtract_dirty()
322 struct bkey *insert, in bch_extent_insert_fixup()
324 struct bkey *replace_key) in bch_extent_insert_fixup()
335 struct bkey *k = bch_btree_iter_next(iter); in bch_extent_insert_fixup()
402 struct bkey *top; in bch_extent_insert_fixup()
477 bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k) in __bch_extent_invalid()
497 static bool bch_extent_invalid(struct btree_keys *bk, const struct bkey *k) in bch_extent_invalid()
503 static bool bch_extent_bad_expensive(struct btree *b, const struct bkey *k, in bch_extent_bad_expensive()
533 static bool bch_extent_bad(struct btree_keys *bk, const struct bkey *k) in bch_extent_bad()
572 static uint64_t merge_chksums(struct bkey *l, struct bkey *r) in merge_chksums()
578 static bool bch_extent_merge(struct btree_keys *bk, struct bkey *l, struct bkey *r) in bch_extent_merge()