Lines Matching defs:b

38 void bch2_btree_node_io_unlock(struct btree *b)  in bch2_btree_node_io_unlock()
47 void bch2_btree_node_io_lock(struct btree *b) in bch2_btree_node_io_lock()
53 void __bch2_btree_node_wait_on_read(struct btree *b) in __bch2_btree_node_wait_on_read()
59 void __bch2_btree_node_wait_on_write(struct btree *b) in __bch2_btree_node_wait_on_write()
65 void bch2_btree_node_wait_on_read(struct btree *b) in bch2_btree_node_wait_on_read()
71 void bch2_btree_node_wait_on_write(struct btree *b) in bch2_btree_node_wait_on_write()
77 static void verify_no_dups(struct btree *b, in verify_no_dups()
136 unsigned n = nr, a = nr / 2, b, c, d; in sort_bkey_ptrs() local
170 static void bch2_sort_whiteouts(struct bch_fs *c, struct btree *b) in bch2_sort_whiteouts()
207 static bool should_compact_bset(struct btree *b, struct bset_tree *t, in should_compact_bset()
224 static bool bch2_drop_whiteouts(struct btree *b, enum compact_mode mode) in bch2_drop_whiteouts()
288 bool bch2_compact_whiteouts(struct bch_fs *c, struct btree *b, in bch2_compact_whiteouts()
294 static void btree_node_sort(struct bch_fs *c, struct btree *b, in btree_node_sort()
421 static bool btree_node_compact(struct bch_fs *c, struct btree *b) in btree_node_compact()
445 void bch2_btree_build_aux_trees(struct btree *b) in bch2_btree_build_aux_trees()
463 static inline bool should_compact_all(struct bch_fs *c, struct btree *b) in should_compact_all()
480 void bch2_btree_init_next(struct btree_trans *trans, struct btree *b) in bch2_btree_init_next()
516 struct btree *b, struct bset *i, struct bkey_packed *k, in btree_err_msg()
545 struct btree *b, in __btree_err()
613 #define btree_err(type, c, ca, b, i, k, _err_type, msg, ...) \ argument
634 void bch2_btree_node_drop_keys_outside_node(struct btree *b) in bch2_btree_node_drop_keys_outside_node()
681 struct btree *b, struct bset *i, in validate_bset()
835 static int bset_key_validate(struct bch_fs *c, struct btree *b, in bset_key_validate()
844 static bool bkey_packed_valid(struct bch_fs *c, struct btree *b, in bkey_packed_valid()
861 static int validate_bset_keys(struct bch_fs *c, struct btree *b, in validate_bset_keys()
975 struct btree *b, bool have_retry, bool *saw_error) in bch2_btree_node_read_done()
1282 struct btree *b = rb->b; in btree_node_read_work() local
1376 struct btree *b; member
1429 struct btree *b = ra->b; in CLOSURE_CALLBACK() local
1575 static int btree_node_read_all_replicas(struct bch_fs *c, struct btree *b, bool sync) in btree_node_read_all_replicas()
1643 void bch2_btree_node_read(struct btree_trans *trans, struct btree *b, in bch2_btree_node_read()
1727 struct btree *b; in __bch2_btree_root_read() local
1774 static void bch2_btree_complete_write(struct bch_fs *c, struct btree *b, in bch2_btree_complete_write()
1794 static void __btree_node_write_done(struct bch_fs *c, struct btree *b) in __btree_node_write_done()
1832 static void btree_node_write_done(struct bch_fs *c, struct btree *b) in btree_node_write_done()
1849 struct btree *b = wbio->wbio.bio.bi_private; in btree_node_write_work() local
1898 struct btree *b = wbio->bio.bi_private; in btree_node_write_endio() local
1930 static int validate_bset_for_write(struct bch_fs *c, struct btree *b, in validate_bset_for_write()
1966 void __bch2_btree_node_write(struct bch_fs *c, struct btree *b, unsigned flags) in __bch2_btree_node_write()
2222 bool bch2_btree_post_write_cleanup(struct bch_fs *c, struct btree *b) in bch2_btree_post_write_cleanup()
2277 void bch2_btree_node_write(struct bch_fs *c, struct btree *b, in bch2_btree_node_write()
2307 struct btree *b; in __bch2_btree_flush_all() local