Home
last modified time | relevance | path

Searched refs:journal_entries (Results 1 – 15 of 15) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dbtree_trans_commit.c663 struct jset_entry *entry = trans->journal_entries; in bch2_trans_commit_write_locked()
666 for (entry = trans->journal_entries; in bch2_trans_commit_write_locked()
667 entry != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in bch2_trans_commit_write_locked()
698 for (struct jset_entry *i = trans->journal_entries; in bch2_trans_commit_write_locked()
699 i != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in bch2_trans_commit_write_locked()
754 trans->journal_entries, in bch2_trans_commit_write_locked()
780 for (struct jset_entry *entry2 = trans->journal_entries; in bch2_trans_commit_write_locked()
961 for (struct jset_entry *i = trans->journal_entries; in do_bch2_trans_commit_to_journal_replay()
962 i != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in do_bch2_trans_commit_to_journal_replay()
H A Dbtree_update.h112 return (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in btree_trans_journal_entries_top()
118 if (!trans->journal_entries || in bch2_trans_jset_entry_alloc()
H A Djournal_io.c108 genradix_ptr(&c->journal_entries, in __journal_replay_free()
171 genradix_for_each_from(&c->journal_entries, iter, _i, in journal_entry_add()
187 _i = genradix_ptr_alloc(&c->journal_entries, in journal_entry_add()
1280 genradix_for_each_reverse(&c->journal_entries, radix_iter, _i) { in bch2_journal_read()
1336 genradix_for_each(&c->journal_entries, radix_iter, _i) { in bch2_journal_read()
1358 genradix_for_each(&c->journal_entries, radix_iter, _i) { in bch2_journal_read()
1407 genradix_for_each(&c->journal_entries, radix_iter, _i) { in bch2_journal_read()
H A Dbtree_journal_iter.c683 genradix_for_each(&c->journal_entries, iter, i) in bch2_journal_keys_put()
685 genradix_free(&c->journal_entries); in bch2_journal_keys_put()
721 genradix_for_each(&c->journal_entries, iter, _i) { in bch2_journal_keys_sort()
H A Dbtree_update_interior.h113 u64 journal_entries[BTREE_UPDATE_JOURNAL_RES]; member
H A Dbtree_update.c582 if (trans->journal_entries) in __bch2_trans_jset_entry_alloc()
583 memcpy(n, trans->journal_entries, old_size * sizeof(u64)); in __bch2_trans_jset_entry_alloc()
584 trans->journal_entries = n; in __bch2_trans_jset_entry_alloc()
H A Ddisk_accounting.h263 (u64 *) a - (u64 *) trans->journal_entries); in bch2_accounting_trans_commit_hook()
H A Drecovery.c545 genradix_for_each(&c->journal_entries, iter, _i) { in journal_replay_early()
823 genradix_for_each_reverse(&c->journal_entries, iter, i) in bch2_fs_recovery()
846 genradix_for_each_reverse(&c->journal_entries, iter, i) in bch2_fs_recovery()
H A Ddisk_accounting.c302 for (struct jset_entry *i = trans->journal_entries; in bch2_accounting_update_sb()
303 i != (void *) ((u64 *) trans->journal_entries + trans->journal_entries_u64s); in bch2_accounting_update_sb()
H A Dbtree_update_interior.c624 memcpy(e, as->journal_entries, as->journal_u64s * sizeof(u64)); in btree_update_nodes_written_trans()
913 ARRAY_SIZE(as->journal_entries)); in btree_update_updated_root()
916 journal_entry_set((void *) &as->journal_entries[as->journal_u64s], in btree_update_updated_root()
1365 ARRAY_SIZE(as->journal_entries)); in bch2_insert_fixup_btree_ptr()
1368 journal_entry_set((void *) &as->journal_entries[as->journal_u64s], in bch2_insert_fixup_btree_ptr()
H A Dbtree_types.h533 struct jset_entry *journal_entries; member
H A Dbcachefs.h1084 GENRADIX(struct journal_replay *) journal_entries;
H A Djournal.c1412 genradix_for_each_reverse(&c->journal_entries, iter, _i) { in bch2_fs_journal_start()
1454 genradix_for_each(&c->journal_entries, iter, _i) { in bch2_fs_journal_start()
H A Dbtree_iter.c1488 for (struct jset_entry *e = trans->journal_entries; in bch2_trans_updates_to_text()
3234 trans->journal_entries = NULL; in bch2_trans_begin()
/linux-6.15/drivers/md/
H A Ddm-integrity.c211 unsigned int journal_entries; member
1355 if (unlikely(pos >= ic->journal_entries)) in test_journal_node()
2242 if (unlikely(pos >= ic->journal_entries)) in dm_integrity_map_continue()
3570 ic->free_sectors = ic->journal_entries; in replay_journal()
3573 for (i = 0; i < ic->journal_entries; i++) in replay_journal()
3828 watermark_percentage += ic->journal_entries / 2; in dm_integrity_status()
3829 do_div(watermark_percentage, ic->journal_entries); in dm_integrity_status()
3934 ic->journal_entries = ic->journal_section_entries * ic->journal_sections; in calculate_journal_section_size()
4465 journal_tree_size = (__u64)ic->journal_entries * sizeof(struct journal_node); in create_journal()
5000 threshold = (__u64)ic->journal_entries * (100 - journal_watermark); in dm_integrity_ctr()
[all …]