Searched refs:bch2_btree_id_root (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | btree_cache.h | 124 static inline struct btree_root *bch2_btree_id_root(struct bch_fs *c, unsigned id) in bch2_btree_id_root() function 141 struct btree_root *r = bch2_btree_id_root(c, b->c.btree_id); in btree_node_root()
|
| H A D | recovery.c | 112 bch2_btree_id_root(c, btree)->alive = false; in kill_btree() 482 struct btree_root *r = bch2_btree_id_root(c, entry->btree_id); in journal_replay_entry_early() 570 struct btree_root *r = bch2_btree_id_root(c, i); in read_btree_roots() 595 struct btree_root *r = bch2_btree_id_root(c, i); in read_btree_roots()
|
| H A D | btree_gc.c | 541 struct btree_root *r = bch2_btree_id_root(c, i); in bch2_check_topology() 716 0, bch2_btree_id_root(c, btree)->b->c.level, 0); in bch2_gc_btree() 760 if (IS_ERR_OR_NULL(bch2_btree_id_root(c, btree)->b)) in bch2_gc_btrees()
|
| H A D | btree_cache.c | 44 struct btree_root *r = bch2_btree_id_root(c, i); in bch2_recalc_btree_reserve() 597 struct btree_root *r = bch2_btree_id_root(c, i); in bch2_fs_btree_cache_exit() 1414 struct btree_root *r = bch2_btree_id_root(c, btree); in __bch2_btree_pos_to_text()
|
| H A D | btree_update_interior.c | 1287 bch2_btree_id_root(c, b->c.btree_id)->b = b; in bch2_btree_set_root_inmem() 1906 struct btree *n, *b = bch2_btree_id_root(c, path->btree_id)->b; in __btree_increase_depth() 1945 struct btree *b = bch2_btree_id_root(c, trans->paths[path].btree_id)->b; in bch2_btree_increase_depth() 2696 struct btree_root *r = bch2_btree_id_root(c, entry->btree_id); in bch2_journal_entry_to_btree_root() 2717 struct btree_root *r = bch2_btree_id_root(c, i); in bch2_btree_roots_to_journal_entries()
|
| H A D | move.c | 710 !bch2_btree_id_root(c, id)->b) in __bch2_move_data() 987 if (!bch2_btree_id_root(c, btree)->b) in bch2_move_btree()
|
| H A D | backpointers.c | 705 0, bch2_btree_id_root(c, btree_id)->b->c.level, 0); in check_btree_root_to_backpointers()
|
| H A D | btree_iter.c | 228 bch2_btree_id_root(c, path->btree_id)->b->c.level > i); in bch2_btree_path_verify() 724 struct btree_root *r = bch2_btree_id_root(c, path->btree_id); in btree_path_lock_root()
|