Searched refs:journal_keys (Results 1 – 8 of 8) sorted by relevance
19 static inline size_t idx_to_pos(struct journal_keys *keys, size_t idx) in idx_to_pos()28 static inline struct journal_key *idx_to_key(struct journal_keys *keys, size_t idx) in idx_to_key()33 static size_t __bch2_journal_key_search(struct journal_keys *keys, in __bch2_journal_key_search()56 static size_t bch2_journal_key_search(struct journal_keys *keys, in bch2_journal_key_search()68 struct journal_keys *keys = &c->journal_keys; in bch2_journal_keys_peek_upto()120 struct journal_keys *keys = iter->keys; in journal_iter_verify()137 struct journal_keys *keys = &c->journal_keys; in journal_iters_fix()161 struct journal_keys *keys = &c->journal_keys; in journal_iters_move_gap()187 struct journal_keys *keys = &c->journal_keys; in bch2_journal_key_insert_take()209 struct journal_keys new_keys = { in bch2_journal_key_insert_take()[all …]
12 struct journal_keys *keys;77 if (c->journal_keys.initial_ref_held) in bch2_journal_keys_put_initial()79 c->journal_keys.initial_ref_held = false; in bch2_journal_keys_put_initial()
38 struct journal_keys *keys = &c->journal_keys; in bch2_set_may_go_rw()
119 static void zero_out_btree_mem_ptr(struct journal_keys *keys) in zero_out_btree_mem_ptr()254 struct journal_keys *keys = &c->journal_keys; in bch2_journal_replay()813 zero_out_btree_mem_ptr(&c->journal_keys); in bch2_fs_recovery()
653 struct journal_keys { struct1079 struct journal_keys journal_keys; member
712 struct journal_keys *keys = &c->journal_keys; in bch2_accounting_read()
566 BUG_ON(atomic_read(&c->journal_keys.ref)); in __bch2_fs_free()773 atomic_set(&c->journal_keys.ref, 1); in bch2_fs_alloc()774 c->journal_keys.initial_ref_held = true; in bch2_fs_alloc()
3197 atomic_inc_not_zero(&c->journal_keys.ref); in __bch2_trans_get()