Home
last modified time | relevance | path

Searched refs:fn_idx (Results 1 – 3 of 3) sorted by relevance

/linux/fs/bcachefs/
H A Dbtree_locking.h27 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()
H A Dbtree_iter.c3151 struct btree_trans *__bch2_trans_get(struct bch_fs *c, unsigned fn_idx) in __bch2_trans_get() argument
3193 trans->fn_idx = fn_idx; in __bch2_trans_get()
3211 if (fn_idx < BCH_TRANSACTIONS_NR) { in __bch2_trans_get()
3212 trans->fn = bch2_btree_transaction_fns[fn_idx]; in __bch2_trans_get()
3214 struct btree_transaction_stats *s = &c->btree_transaction_stats[fn_idx]; in __bch2_trans_get()
H A Dbtree_types.h496 u8 fn_idx; member