Searched refs:btree_node_root (Results 1 - 6 of 6) sorted by relevance

/linux-master/fs/bcachefs/
H A Dbtree_cache.h126 static inline struct btree *btree_node_root(struct bch_fs *c, struct btree *b) function
H A Dbtree_update_interior.h180 unsigned depth = btree_node_root(c, b)->c.level + 1;
H A Dbtree_node_scan.c85 if (b != btree_node_root(trans->c, b))
H A Dbtree_update_interior.c232 BUG_ON(b == btree_node_root(c, b));
1317 struct btree *old = btree_node_root(c, b);
1589 BUG_ON(!parent && (b != btree_node_root(c, b)));
2372 BUG_ON(btree_node_root(c, b) != b);
2509 BUG_ON(btree_node_root(c, b));
H A Dbackpointers.c698 if (b != btree_node_root(c, b)) {
H A Dbtree_cache.c1154 BUG_ON(b == btree_node_root(trans->c, b));

Completed in 163 milliseconds