Lines Matching defs:b

26 void bch2_btree_node_io_unlock(struct btree *b)  in bch2_btree_node_io_unlock()
35 void bch2_btree_node_io_lock(struct btree *b) in bch2_btree_node_io_lock()
43 void __bch2_btree_node_wait_on_read(struct btree *b) in __bch2_btree_node_wait_on_read()
49 void __bch2_btree_node_wait_on_write(struct btree *b) in __bch2_btree_node_wait_on_write()
55 void bch2_btree_node_wait_on_read(struct btree *b) in bch2_btree_node_wait_on_read()
63 void bch2_btree_node_wait_on_write(struct btree *b) in bch2_btree_node_wait_on_write()
71 static void verify_no_dups(struct btree *b, in verify_no_dups()
130 unsigned n = nr, a = nr / 2, b, c, d; in sort_bkey_ptrs() local
164 static void bch2_sort_whiteouts(struct bch_fs *c, struct btree *b) in bch2_sort_whiteouts()
201 static bool should_compact_bset(struct btree *b, struct bset_tree *t, in should_compact_bset()
218 static bool bch2_drop_whiteouts(struct btree *b, enum compact_mode mode) in bch2_drop_whiteouts()
283 bool bch2_compact_whiteouts(struct bch_fs *c, struct btree *b, in bch2_compact_whiteouts()
289 static void btree_node_sort(struct bch_fs *c, struct btree *b, in btree_node_sort()
417 static bool btree_node_compact(struct bch_fs *c, struct btree *b) in btree_node_compact()
442 void bch2_btree_build_aux_trees(struct btree *b) in bch2_btree_build_aux_trees()
462 static inline bool should_compact_all(struct bch_fs *c, struct btree *b) in should_compact_all()
479 void bch2_btree_init_next(struct btree_trans *trans, struct btree *b) in bch2_btree_init_next()
515 struct btree *b, struct bset *i, in btree_err_msg()
538 struct btree *b, in __btree_err()
600 #define btree_err(type, c, ca, b, i, _err_type, msg, ...) \ argument
621 void bch2_btree_node_drop_keys_outside_node(struct btree *b) in bch2_btree_node_drop_keys_outside_node()
669 struct btree *b, struct bset *i, in validate_bset()
824 static int bset_key_invalid(struct bch_fs *c, struct btree *b, in bset_key_invalid()
834 static bool __bkey_valid(struct bch_fs *c, struct btree *b, in __bkey_valid()
851 static int validate_bset_keys(struct bch_fs *c, struct btree *b, in validate_bset_keys()
966 struct btree *b, bool have_retry, bool *saw_error) in bch2_btree_node_read_done()
1270 struct btree *b = rb->b; in btree_node_read_work() local
1362 struct btree *b; member
1415 struct btree *b = ra->b; in CLOSURE_CALLBACK() local
1560 static int btree_node_read_all_replicas(struct bch_fs *c, struct btree *b, bool sync) in btree_node_read_all_replicas()
1628 void bch2_btree_node_read(struct btree_trans *trans, struct btree *b, in bch2_btree_node_read()
1711 struct btree *b; in __bch2_btree_root_read() local
1758 static void bch2_btree_complete_write(struct bch_fs *c, struct btree *b, in bch2_btree_complete_write()
1777 static void __btree_node_write_done(struct bch_fs *c, struct btree *b) in __btree_node_write_done()
1815 static void btree_node_write_done(struct bch_fs *c, struct btree *b) in btree_node_write_done()
1831 struct btree *b = wbio->wbio.bio.bi_private; in btree_node_write_work() local
1881 struct btree *b = wbio->bio.bi_private; in btree_node_write_endio() local
1912 static int validate_bset_for_write(struct bch_fs *c, struct btree *b, in validate_bset_for_write()
1952 void __bch2_btree_node_write(struct bch_fs *c, struct btree *b, unsigned flags) in __bch2_btree_node_write()
2208 bool bch2_btree_post_write_cleanup(struct bch_fs *c, struct btree *b) in bch2_btree_post_write_cleanup()
2264 void bch2_btree_node_write(struct bch_fs *c, struct btree *b, in bch2_btree_node_write()
2294 struct btree *b; in __bch2_btree_flush_all() local