Lines Matching refs:btree_debug
342 struct btree_debug *bd = inode->i_private; in bch2_dump_open()
352 i->c = container_of(bd, struct bch_fs, btree_debug[bd->id]); in bch2_dump_open()
908 static void bch2_fs_debug_btree_init(struct bch_fs *c, struct btree_debug *bd) in bch2_fs_debug_btree_init()
924 struct btree_debug *bd; in bch2_fs_debug_init()
936 c->btree_debug, &cached_btree_nodes_ops); in bch2_fs_debug_init()
939 c->btree_debug, &btree_transactions_ops); in bch2_fs_debug_init()
942 c->btree_debug, &journal_pins_ops); in bch2_fs_debug_init()
945 c->btree_debug, &btree_updates_ops); in bch2_fs_debug_init()
951 c->btree_debug, &btree_deadlock_ops); in bch2_fs_debug_init()
954 c->btree_debug, &write_points_ops); in bch2_fs_debug_init()
960 for (bd = c->btree_debug; in bch2_fs_debug_init()
961 bd < c->btree_debug + ARRAY_SIZE(c->btree_debug); in bch2_fs_debug_init()
963 bd->id = bd - c->btree_debug; in bch2_fs_debug_init()