Home
last modified time | relevance | path

Searched refs:btree_node_root (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbtree_cache.h136 static inline struct btree *btree_node_root(struct bch_fs *c, struct btree *b) in btree_node_root() function
Dbtree_update_interior.h187 unsigned depth = btree_node_root(c, b)->c.level + 1; in btree_update_reserve_required()
Dbtree_update_interior.c61 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()
Dbtree_node_scan.c106 if (b != btree_node_root(trans->c, b)) in found_btree_node_is_readable()
Dbtree_cache.c226 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()
Dbackpointers.c714 if (b != btree_node_root(c, b)) { in check_btree_root_to_backpointers()
Dbtree_gc.c691 if (b != btree_node_root(c, b)) { in bch2_gc_btree()