Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dbtree_trans_commit.c685 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 Djournal_io.c107 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 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()
720 genradix_for_each(&c->journal_entries, iter, _i) { in bch2_journal_keys_sort()
H A Dbtree_update.c579 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 Dbtree_update_interior.h113 u64 journal_entries[BTREE_UPDATE_JOURNAL_RES]; member
H A Ddisk_accounting.h237 (u64 *) a - (u64 *) trans->journal_entries); in bch2_accounting_trans_commit_hook()
H A Ddisk_accounting.c292 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 Dbtree_update_interior.c627 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 Dbtree_types.h533 struct jset_entry *journal_entries; member
H A Djournal.c1327 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 Dbcachefs.h1075 GENRADIX(struct journal_replay *) journal_entries;
H A Dbtree_iter.c1502 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 Ddm-integrity.c210 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 …]