Searched refs:bch2_accounting_mem_mod_locked (Results 1 – 2 of 2) sorted by relevance
/linux/fs/bcachefs/ |
H A D | disk_accounting.h | 149 static inline int bch2_accounting_mem_mod_locked(struct btree_trans *trans, in bch2_accounting_mem_mod_locked() function 207 int ret = bch2_accounting_mem_mod_locked(trans, a, gc ? BCH_ACCOUNTING_gc : BCH_ACCOUNTING_normal); in bch2_accounting_mem_add() 260 ? bch2_accounting_mem_mod_locked(trans, accounting_i_to_s_c(a), BCH_ACCOUNTING_normal) in bch2_accounting_trans_commit_hook() 272 bch2_accounting_mem_mod_locked(trans, a.c, BCH_ACCOUNTING_normal); in bch2_accounting_trans_commit_revert()
|
H A D | disk_accounting.c | 574 bch2_accounting_mem_mod_locked(trans, in bch2_gc_accounting_done() 604 int ret = bch2_accounting_mem_mod_locked(trans, bkey_s_c_to_accounting(k), in accounting_read_key()
|