Lines Matching defs:b
45 int bch2_btree_node_check_topology(struct btree_trans *trans, struct btree *b) in bch2_btree_node_check_topology()
161 static void __bch2_btree_calc_format(struct bkey_format_state *s, struct btree *b) in __bch2_btree_calc_format()
174 static struct bkey_format bch2_btree_calc_format(struct btree *b) in bch2_btree_calc_format()
214 static bool bch2_btree_node_format_fits(struct bch_fs *c, struct btree *b, in bch2_btree_node_format_fits()
225 static void __btree_node_free(struct btree_trans *trans, struct btree *b) in __btree_node_free()
244 struct btree *b) in bch2_btree_node_free_inmem()
269 struct btree *b) in bch2_btree_node_free_never_used()
311 struct btree *b; in __bch2_btree_node_alloc() local
386 struct btree *b; in bch2_btree_node_alloc() local
434 static void btree_set_min(struct btree *b, struct bpos pos) in btree_set_min()
441 static void btree_set_max(struct btree *b, struct bpos pos) in btree_set_max()
447 static struct btree *bch2_btree_node_alloc_replacement(struct btree_update *as, in bch2_btree_node_alloc_replacement()
478 struct btree *b = bch2_btree_node_alloc(as, trans, level); in __btree_root_alloc() local
499 struct btree *b = p->b[--p->nr]; in bch2_btree_reserve_put() local
531 struct btree *b; in bch2_btree_reserve_get() local
599 struct keylist *keys, struct btree *b) in btree_update_add_key()
672 struct btree *b; in btree_update_nodes_written() local
881 static void btree_update_updated_node(struct btree_update *as, struct btree *b) in btree_update_updated_node()
923 static void btree_update_updated_root(struct btree_update *as, struct btree *b) in btree_update_updated_root()
958 static void bch2_btree_update_add_new_node(struct btree_update *as, struct btree *b) in bch2_btree_update_add_new_node()
988 static void btree_update_drop_new_node(struct bch_fs *c, struct btree *b) in btree_update_drop_new_node()
1022 static void bch2_btree_update_get_open_buckets(struct btree_update *as, struct btree *b) in bch2_btree_update_get_open_buckets()
1041 struct btree *b) in bch2_btree_interior_update_will_free_node()
1296 static void bch2_btree_set_root_inmem(struct bch_fs *c, struct btree *b) in bch2_btree_set_root_inmem()
1313 struct btree *b, in bch2_btree_set_root()
1354 struct btree *b, in bch2_insert_fixup_btree_ptr()
1408 struct btree *b, in bch2_btree_insert_keys_interior()
1447 struct btree *b, in __btree_split_node()
1566 struct btree *b, in btree_split_insert_keys()
1584 btree_path_idx_t path, struct btree *b, in btree_split()
1774 btree_path_idx_t path_idx, struct btree *b, in bch2_btree_insert_node()
1851 struct btree *b = path_l(trans->paths + path)->b; in bch2_btree_split_leaf() local
1883 struct btree *n, *b = bch2_btree_id_root(c, path->btree_id)->b; in __btree_increase_depth() local
1922 struct btree *b = bch2_btree_id_root(c, trans->paths[path].btree_id)->b; in bch2_btree_increase_depth() local
1948 struct btree *b, *m, *n, *prev, *next, *parent; in __bch2_foreground_maybe_merge() local
2135 struct btree *b, in bch2_btree_node_rewrite()
2213 struct btree *b; in async_btree_node_rewrite_trans() local
2255 void bch2_btree_node_rewrite_async(struct bch_fs *c, struct btree *b) in bch2_btree_node_rewrite_async()
2329 struct btree *b, struct btree *new_hash, in __bch2_btree_node_update_key()
2426 struct btree *b, struct bkey_i *new_key, in bch2_btree_node_update_key()
2473 struct btree *b, struct bkey_i *new_key, in bch2_btree_node_update_key_get_iter()
2511 void bch2_btree_set_root_for_read(struct bch_fs *c, struct btree *b) in bch2_btree_set_root_for_read()
2522 struct btree *b; in bch2_btree_root_alloc_fake_trans() local