Lines Matching refs:btree_debug
340 struct btree_debug *bd = inode->i_private; in bch2_dump_open()
350 i->c = container_of(bd, struct bch_fs, btree_debug[bd->id]); in bch2_dump_open()
882 static void bch2_fs_debug_btree_init(struct bch_fs *c, struct btree_debug *bd) in bch2_fs_debug_btree_init()
898 struct btree_debug *bd; in bch2_fs_debug_init()
910 c->btree_debug, &cached_btree_nodes_ops); in bch2_fs_debug_init()
913 c->btree_debug, &btree_transactions_ops); in bch2_fs_debug_init()
916 c->btree_debug, &journal_pins_ops); in bch2_fs_debug_init()
919 c->btree_debug, &btree_updates_ops); in bch2_fs_debug_init()
925 c->btree_debug, &btree_deadlock_ops); in bch2_fs_debug_init()
931 for (bd = c->btree_debug; in bch2_fs_debug_init()
932 bd < c->btree_debug + ARRAY_SIZE(c->btree_debug); in bch2_fs_debug_init()
934 bd->id = bd - c->btree_debug; in bch2_fs_debug_init()