Lines Matching refs:bk
165 static bool bch_btree_ptr_invalid(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_invalid() argument
167 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_invalid()
203 static bool bch_btree_ptr_bad(struct btree_keys *bk, const struct bkey *k) in bch_btree_ptr_bad() argument
205 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_bad()
210 bch_ptr_invalid(bk, k)) in bch_btree_ptr_bad()
225 static bool bch_btree_ptr_insert_fixup(struct btree_keys *bk, in bch_btree_ptr_insert_fixup() argument
230 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_insert_fixup()
497 static bool bch_extent_invalid(struct btree_keys *bk, const struct bkey *k) in bch_extent_invalid() argument
499 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_invalid()
533 static bool bch_extent_bad(struct btree_keys *bk, const struct bkey *k) in bch_extent_bad() argument
535 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_bad()
540 bch_extent_invalid(bk, k)) in bch_extent_bad()
578 static bool bch_extent_merge(struct btree_keys *bk, struct bkey *l, struct bkey *r) in bch_extent_merge() argument
580 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_merge()