Searched refs:btree_node_root (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | btree_cache.h | 136 static inline struct btree *btree_node_root(struct bch_fs *c, struct btree *b) in btree_node_root() function
|
D | btree_update_interior.h | 187 unsigned depth = btree_node_root(c, b)->c.level + 1; in btree_update_reserve_required()
|
D | btree_update_interior.c | 61 if (b == btree_node_root(c, b)) { in bch2_btree_node_check_topology() 234 BUG_ON(b == btree_node_root(c, b)); in __btree_node_free() 1320 struct btree *old = btree_node_root(c, b); in bch2_btree_set_root() 1595 BUG_ON(!parent && (b != btree_node_root(c, b))); in btree_split() 2378 BUG_ON(btree_node_root(c, b) != b); in __bch2_btree_node_update_key() 2513 BUG_ON(btree_node_root(c, b)); in bch2_btree_set_root_for_read()
|
D | btree_node_scan.c | 106 if (b != btree_node_root(trans->c, b)) in found_btree_node_is_readable()
|
D | btree_cache.c | 226 if (b != btree_node_root(c, b) && !btree_node_pinned(b)) { in bch2_node_pin() 1355 BUG_ON(b == btree_node_root(trans->c, b)); in bch2_btree_node_evict()
|
D | backpointers.c | 714 if (b != btree_node_root(c, b)) { in check_btree_root_to_backpointers()
|
D | btree_gc.c | 691 if (b != btree_node_root(c, b)) { in bch2_gc_btree()
|