Searched refs:btree_node_root (Results 1 – 7 of 7) sorted by relevance
/linux/fs/bcachefs/ |
H A D | btree_cache.h | 140 static inline struct btree *btree_node_root(struct bch_fs *c, struct btree *b) in btree_node_root() function
|
H A D | btree_update_interior.h | 204 unsigned depth = btree_node_root(c, b)->c.level + 1; in btree_update_reserve_required()
|
H A D | btree_update_interior.c | 68 if (b == btree_node_root(c, b)) { in bch2_btree_node_check_topology() 225 BUG_ON(b == btree_node_root(c, b)); in __btree_node_free() 1345 struct btree *old = btree_node_root(c, b); in bch2_btree_set_root() 1643 BUG_ON(!parent && (b != btree_node_root(c, b))); in btree_split() 2516 BUG_ON(btree_node_root(c, b) != b); in __bch2_btree_node_update_key() 2636 BUG_ON(btree_node_root(c, b)); in bch2_btree_set_root_for_read()
|
H A D | btree_cache.c | 218 if (b != btree_node_root(c, b) && !btree_node_pinned(b)) { in bch2_node_pin() 1356 BUG_ON(b == btree_node_root(trans->c, b)); in bch2_btree_node_evict()
|
H A D | btree_gc.c | 751 if (b != btree_node_root(c, b)) { in bch2_gc_btree()
|
H A D | backpointers.c | 734 if (b != btree_node_root(c, b)) { in check_btree_root_to_backpointers()
|
H A D | move.c | 668 if (b != btree_node_root(c, b)) { in bch2_move_data_btree()
|