Searched refs:journal_entries (Results 1 – 13 of 13) sorted by relevance
/linux/fs/bcachefs/ |
H A D | btree_trans_commit.c | 685 struct jset_entry *entry = trans->journal_entries; in bch2_trans_commit_write_locked() 688 for (entry = trans->journal_entries; in bch2_trans_commit_write_locked() 689 entry != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in bch2_trans_commit_write_locked() 720 for (struct jset_entry *i = trans->journal_entries; in bch2_trans_commit_write_locked() 721 i != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in bch2_trans_commit_write_locked() 776 trans->journal_entries, in bch2_trans_commit_write_locked() 802 for (struct jset_entry *entry2 = trans->journal_entries; in bch2_trans_commit_write_locked() 981 for (struct jset_entry *i = trans->journal_entries; in do_bch2_trans_commit_to_journal_replay() 982 i != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in do_bch2_trans_commit_to_journal_replay()
|
H A D | journal_io.c | 107 genradix_ptr(&c->journal_entries, in __journal_replay_free() 170 genradix_for_each_from(&c->journal_entries, iter, _i, in journal_entry_add() 186 _i = genradix_ptr_alloc(&c->journal_entries, in journal_entry_add() 1252 genradix_for_each_reverse(&c->journal_entries, radix_iter, _i) { in bch2_journal_read() 1308 genradix_for_each(&c->journal_entries, radix_iter, _i) { in bch2_journal_read() 1330 genradix_for_each(&c->journal_entries, radix_iter, _i) { in bch2_journal_read() 1379 genradix_for_each(&c->journal_entries, radix_iter, _i) { in bch2_journal_read()
|
H A D | btree_journal_iter.c | 683 genradix_for_each(&c->journal_entries, iter, i) in bch2_journal_keys_put() 685 genradix_free(&c->journal_entries); in bch2_journal_keys_put() 720 genradix_for_each(&c->journal_entries, iter, _i) { in bch2_journal_keys_sort()
|
H A D | btree_update.c | 579 if (trans->journal_entries) in __bch2_trans_jset_entry_alloc() 580 memcpy(n, trans->journal_entries, old_size * sizeof(u64)); in __bch2_trans_jset_entry_alloc() 581 trans->journal_entries = n; in __bch2_trans_jset_entry_alloc()
|
H A D | btree_update_interior.h | 113 u64 journal_entries[BTREE_UPDATE_JOURNAL_RES]; member
|
H A D | disk_accounting.h | 237 (u64 *) a - (u64 *) trans->journal_entries); in bch2_accounting_trans_commit_hook()
|
H A D | disk_accounting.c | 292 for (struct jset_entry *i = trans->journal_entries; in bch2_accounting_update_sb() 293 i != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in bch2_accounting_update_sb()
|
H A D | btree_update_interior.c | 627 memcpy(e, as->journal_entries, as->journal_u64s * sizeof(u64)); in btree_update_nodes_written_trans() 916 ARRAY_SIZE(as->journal_entries)); in btree_update_updated_root() 919 journal_entry_set((void *) &as->journal_entries[as->journal_u64s], in btree_update_updated_root() 1367 ARRAY_SIZE(as->journal_entries)); in bch2_insert_fixup_btree_ptr() 1370 journal_entry_set((void *) &as->journal_entries[as->journal_u64s], in bch2_insert_fixup_btree_ptr()
|
H A D | btree_types.h | 533 struct jset_entry *journal_entries; member
|
H A D | journal.c | 1327 genradix_for_each_reverse(&c->journal_entries, iter, _i) { in bch2_fs_journal_start() 1360 genradix_for_each(&c->journal_entries, iter, _i) { in bch2_fs_journal_start()
|
H A D | bcachefs.h | 1075 GENRADIX(struct journal_replay *) journal_entries;
|
H A D | btree_iter.c | 1502 for (struct jset_entry *e = trans->journal_entries; in bch2_trans_updates_to_text() 3251 trans->journal_entries = NULL; in bch2_trans_begin()
|
/linux/drivers/md/ |
H A D | dm-integrity.c | 210 unsigned int journal_entries; member 1354 if (unlikely(pos >= ic->journal_entries)) in test_journal_node() 2243 if (unlikely(pos >= ic->journal_entries)) in dm_integrity_map_continue() 3571 ic->free_sectors = ic->journal_entries; in replay_journal() 3574 for (i = 0; i < ic->journal_entries; i++) in replay_journal() 3827 __u64 watermark_percentage = (__u64)(ic->journal_entries - ic->free_sectors_threshold) * 100; in dm_integrity_status() 3829 watermark_percentage += ic->journal_entries / 2; in dm_integrity_status() 3830 do_div(watermark_percentage, ic->journal_entries); in dm_integrity_status() 3935 ic->journal_entries = ic->journal_section_entries * ic->journal_sections; in calculate_journal_section_size() 4466 journal_tree_size = (__u64)ic->journal_entries * sizeof(struct journal_node); in create_journal() [all …]
|