Searched refs:btree_transaction_stats (Results 1 – 4 of 4) sorted by relevance
25 static inline struct btree_transaction_stats *btree_trans_stats(struct btree_trans *trans) in btree_trans_stats()27 return trans->fn_idx < ARRAY_SIZE(trans->c->btree_transaction_stats) in btree_trans_stats()28 ? &trans->c->btree_transaction_stats[trans->fn_idx] in btree_trans_stats()
630 struct btree_transaction_stats { struct1093 struct btree_transaction_stats btree_transaction_stats[BCH_TRANSACTIONS_NR]; member
1594 struct btree_transaction_stats *s = btree_trans_stats(trans); in bch2_trans_update_max_paths()2960 struct btree_transaction_stats *s = btree_trans_stats(trans); in __bch2_trans_kmalloc()3214 struct btree_transaction_stats *s = &c->btree_transaction_stats[fn_idx]; in __bch2_trans_get()3415 struct btree_transaction_stats *s; in bch2_fs_btree_iter_exit()3437 for (s = c->btree_transaction_stats; in bch2_fs_btree_iter_exit()3438 s < c->btree_transaction_stats + ARRAY_SIZE(c->btree_transaction_stats); in bch2_fs_btree_iter_exit()3454 struct btree_transaction_stats *s; in bch2_fs_btree_iter_init_early()3456 for (s = c->btree_transaction_stats; in bch2_fs_btree_iter_init_early()3457 s < c->btree_transaction_stats + ARRAY_SIZE(c->btree_transaction_stats); in bch2_fs_btree_iter_init_early()
750 struct btree_transaction_stats *s = &c->btree_transaction_stats[i->iter]; in btree_transaction_stats_read()