| /linux-6.15/fs/bcachefs/ |
| H A D | journal_types.h | 165 struct journal { struct 176 /* Max size of current journal entry */ argument 180 /* Reserved space in journal entry to be used just prior to write */ argument 194 * the journal has actually started - stash them here: argument 214 /* if nonzero, we may not open a new journal entry: */ argument 225 /* Sequence number of most recent journal entry (last entry in @pin) */ argument 229 /* seq, last_seq from the most recent journal entry successfully written */ argument 239 * FIFO of journal entries whose btree updates have not yet been argument 269 * Used for waiting until journal reclaim has freed up space in the argument 280 struct journal_entry_pin *flush_in_progress; argument [all …]
|
| H A D | journal_sb.c | 22 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_validate() local 74 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_to_text() local 104 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_validate() local 175 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_to_text() local
|
| H A D | btree_journal_iter.h | 25 struct journal_iter journal; member
|
| /linux-6.15/drivers/md/dm-vdo/ |
| H A D | recovery-journal.c | 483 struct recovery_journal *journal = completion->parent; in complete_reaping() local 497 struct recovery_journal *journal = completion->parent; in handle_flush_error() local 507 struct recovery_journal *journal = vio->completion.parent; in flush_endio() local 709 struct recovery_journal *journal; in vdo_decode_recovery_journal() local 1088 struct recovery_journal *journal = block->journal; in assign_entry() local 1145 struct recovery_journal *journal = block->journal; in recycle_journal_block() local 1174 struct recovery_journal *journal = context; in continue_committed_waiter() local 1267 struct recovery_journal *journal = block->journal; in complete_write() local 1305 struct recovery_journal *journal = block->journal; in handle_write_error() local 1319 struct recovery_journal *journal = block->journal; in complete_write_endio() local [all …]
|
| H A D | slab-depot.c | 172 struct slab_journal *journal = &slab->journal; in check_if_slab_drained() local 450 struct slab_journal *journal = in flush_for_reaping() local 560 struct slab_journal *journal = in release_journal_locks() local 660 struct slab_journal *journal = &slab->journal; in reopen_slab_journal() local 745 struct slab_journal *journal = in write_slab_journal_block() local 961 struct slab_journal *journal = &slab->journal; in vdo_attempt_replay_into_slab() local 1693 struct slab_journal *journal = context; in add_entry_from_waiter() local 2542 struct slab_journal *journal = in read_slab_journal_tail() local 2570 struct slab_journal *journal = &slab->journal; in load_slab_journal() local 3601 struct slab_journal *journal; in vdo_prepare_slabs_for_allocation() local [all …]
|
| H A D | repair.c | 714 static struct packed_journal_sector * __must_check get_sector(struct recovery_journal *journal, in get_sector() 798 struct recovery_journal *journal = vdo->recovery_journal; in add_slab_journal_entries() local 1161 get_recovery_journal_block_header(struct recovery_journal *journal, char *data, in get_recovery_journal_block_header() 1183 static bool __must_check is_valid_recovery_journal_block(const struct recovery_journal *journal, in is_valid_recovery_journal_block() 1208 static bool __must_check is_exact_recovery_journal_block(const struct recovery_journal *journal, in is_exact_recovery_journal_block() 1224 struct recovery_journal *journal = repair->completion.vdo->recovery_journal; in find_recovery_journal_head_and_tail() local 1361 struct recovery_journal *journal, in extract_entries_from_block() 1407 struct recovery_journal *journal = vdo->recovery_journal; in parse_journal_for_rebuild() local 1518 struct recovery_journal *journal = vdo->recovery_journal; in compute_usages() local 1557 struct recovery_journal *journal = repair->completion.vdo->recovery_journal; in parse_journal_for_recovery() local [all …]
|
| H A D | recovery-journal.h | 122 struct recovery_journal *journal; member 229 vdo_get_recovery_journal_block_number(const struct recovery_journal *journal, in vdo_get_recovery_journal_block_number() 247 vdo_compute_recovery_journal_check_byte(const struct recovery_journal *journal, in vdo_compute_recovery_journal_check_byte()
|
| /linux-6.15/fs/jbd2/ |
| H A D | journal.c | 162 journal_t *journal = arg; in kjournald2() local 335 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer() local 757 int jbd2_fc_end_commit(journal_t *journal) in jbd2_fc_end_commit() 1109 journal_t *journal; member 1176 journal_t *journal = pde_data(inode); in jbd2_seq_info_open() local 1260 journal_t *journal = shrink->private_data; in jbd2_journal_shrink_scan() local 1527 journal_t *journal; in journal_init_common() local 1647 journal_t *journal; in jbd2_journal_init_dev() local 1671 journal_t *journal; in jbd2_journal_init_inode() local 2065 int jbd2_journal_load(journal_t *journal) in jbd2_journal_load() [all …]
|
| H A D | transaction.c | 546 journal_t *journal = handle->h_journal; in __jbd2_journal_unreserve_handle() local 556 journal_t *journal = handle->h_journal; in jbd2_journal_free_reserved() local 644 journal_t *journal; in jbd2_journal_extend() local 763 journal_t *journal; in jbd2__journal_restart() local 952 journal_t *journal; in do_get_write_access() local 1215 journal_t *journal; in jbd2_journal_get_write_access() local 1269 journal_t *journal; in jbd2_journal_get_create_access() local 1484 journal_t *journal; in jbd2_journal_dirty_metadata() local 1656 journal_t *journal; in jbd2_journal_forget() local 1823 journal_t *journal; in jbd2_journal_stop() local [all …]
|
| H A D | revoke.c | 290 void jbd2_journal_destroy_revoke(journal_t *journal) in jbd2_journal_destroy_revoke() 330 journal_t *journal; in jbd2_journal_revoke() local 428 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke() local 484 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags() 513 void jbd2_journal_switch_revoke_table(journal_t *journal) in jbd2_journal_switch_revoke_table() 533 journal_t *journal = transaction->t_journal; in jbd2_journal_write_revoke_records() local 577 journal_t *journal = transaction->t_journal; in write_one_revoke_record() local 641 static void flush_descriptor(journal_t *journal, in flush_descriptor() 683 int jbd2_journal_set_revoke(journal_t *journal, in jbd2_journal_set_revoke() 707 int jbd2_journal_test_revoke(journal_t *journal, in jbd2_journal_test_revoke() [all …]
|
| H A D | checkpoint.c | 49 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space() 127 __flush_batch(journal_t *journal, int *batch_count) in __flush_batch() 154 int jbd2_log_do_checkpoint(journal_t *journal) in jbd2_log_do_checkpoint() 317 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail() 407 unsigned long jbd2_journal_shrink_checkpoint_list(journal_t *journal, in jbd2_journal_shrink_checkpoint_list() 489 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, in __jbd2_journal_clean_checkpoint_list() 529 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint() 569 journal_t *journal; in __jbd2_journal_remove_checkpoint() local 690 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
|
| H A D | recovery.c | 68 static void do_readahead(journal_t *journal, unsigned int start) in do_readahead() 125 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() 198 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags() 227 #define wrap(journal, var) \ argument 233 static int fc_do_one_pass(journal_t *journal, in fc_do_one_pass() 282 int jbd2_journal_recover(journal_t *journal) in jbd2_journal_recover() 360 int jbd2_journal_skip_recovery(journal_t *journal) in jbd2_journal_skip_recovery() 390 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block() 403 static int calc_chksums(journal_t *journal, struct buffer_head *bh, in calc_chksums() 490 static __always_inline int jbd2_do_replay(journal_t *journal, in jbd2_do_replay() [all …]
|
| H A D | commit.c | 114 static int journal_submit_commit_record(journal_t *journal, in journal_submit_commit_record() 165 static int journal_wait_on_commit_record(journal_t *journal, in journal_wait_on_commit_record() 181 int jbd2_submit_inode_data(journal_t *journal, struct jbd2_inode *jinode) in jbd2_submit_inode_data() 192 int jbd2_wait_inode_data(journal_t *journal, struct jbd2_inode *jinode) in jbd2_wait_inode_data() 211 static int journal_submit_data_buffers(journal_t *journal, in journal_submit_data_buffers() 254 static int journal_finish_inode_data_buffers(journal_t *journal, in journal_finish_inode_data_buffers() 348 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
|
| /linux-6.15/drivers/md/bcache/ |
| H A D | journal.h | 104 struct journal { struct 109 /* used when waiting because the journal was full */ argument 122 struct journal_write w[2], *cur; argument 126 * Embedded in struct cache. First three fields refer to the array of journal argument
|
| /linux-6.15/fs/ocfs2/ |
| H A D | journal.c | 316 struct ocfs2_journal *journal = NULL; in ocfs2_commit_cache() local 355 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() local 397 struct ocfs2_journal *journal = osb->journal; in ocfs2_commit_trans() local 857 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() local 879 struct ocfs2_journal *journal; in ocfs2_journal_alloc() local 921 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_init() local 1025 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_toggle_dirty() local 1060 struct ocfs2_journal *journal = NULL; in ocfs2_journal_shutdown() local 1139 journal_t *journal, in ocfs2_clear_journal_error() 1324 struct ocfs2_journal *journal = in ocfs2_complete_recovery() local [all …]
|
| H A D | journal.h | 78 static inline void ocfs2_set_ci_lock_trans(struct ocfs2_journal *journal, in ocfs2_set_ci_lock_trans() 94 struct ocfs2_journal *journal = in ocfs2_ci_fully_checkpointed() local 110 struct ocfs2_journal *journal = in ocfs2_ci_is_new() local
|
| /linux-6.15/fs/ext4/ |
| H A D | fast_commit.c | 958 static int ext4_fc_submit_inode_data_all(journal_t *journal) in ext4_fc_submit_inode_data_all() 992 static int ext4_fc_wait_inode_data_all(journal_t *journal) in ext4_fc_wait_inode_data_all() 1017 static int ext4_fc_commit_dentry_updates(journal_t *journal, u32 *crc) in ext4_fc_commit_dentry_updates() 1081 static int ext4_fc_perform_commit(journal_t *journal) in ext4_fc_perform_commit() 1186 int ext4_fc_commit(journal_t *journal, tid_t commit_tid) in ext4_fc_commit() 1263 static void ext4_fc_cleanup(journal_t *journal, int full, tid_t tid) in ext4_fc_cleanup() 2038 static int ext4_fc_replay_scan(journal_t *journal, in ext4_fc_replay_scan() 2161 static int ext4_fc_replay(journal_t *journal, struct buffer_head *bh, in ext4_fc_replay() 2253 void ext4_fc_init(struct super_block *sb, journal_t *journal) in ext4_fc_init()
|
| H A D | ext4_jbd2.c | 67 journal_t *journal; in ext4_journal_check_start() local 97 journal_t *journal; in __ext4_journal_start_sb() local
|
| H A D | fsync.c | 101 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal() local
|
| H A D | super.c | 468 journal_t *journal = sbi->s_journal; in ext4_maybe_update_superblock() local 501 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() 688 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() local 743 journal_t *journal = sbi->s_journal; in update_super_work() local 5820 static int ext4_journal_bmap(journal_t *journal, sector_t *block) in ext4_journal_bmap() 5846 journal_t *journal; in ext4_open_inode_journal() local 5946 journal_t *journal; in ext4_open_dev_journal() local 5986 journal_t *journal; in ext4_load_journal() local 6246 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() local 6285 journal_t *journal; in ext4_clear_journal_err() local [all …]
|
| H A D | ext4_jbd2.h | 329 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit() 436 static inline int ext4_journal_destroy(struct ext4_sb_info *sbi, journal_t *journal) in ext4_journal_destroy()
|
| H A D | block_validity.c | 354 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_check_blockref() local
|
| H A D | inode.c | 389 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in __check_block_validity() local 3225 journal_t *journal = EXT4_JOURNAL(folio->mapping->host); in __ext4_journalled_invalidate_folio() local 3249 journal_t *journal = EXT4_JOURNAL(inode); in ext4_release_folio() local 3264 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty() local 4776 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget() local 5339 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() local 6109 journal_t *journal; in ext4_change_inode_journal_flag() local
|
| /linux-6.15/include/linux/ |
| H A D | jbd2.h | 1673 static inline int is_journal_aborted(journal_t *journal) in is_journal_aborted() 1690 static inline void jbd2_init_fs_dev_write_error(journal_t *journal) in jbd2_init_fs_dev_write_error() 1701 static inline int jbd2_check_fs_dev_write_error(journal_t *journal) in jbd2_check_fs_dev_write_error() 1729 static inline int jbd2_journal_has_csum_v2or3(journal_t *journal) in jbd2_journal_has_csum_v2or3() 1745 static inline unsigned long jbd2_log_space_left(journal_t *journal) in jbd2_log_space_left() 1769 static inline u32 jbd2_chksum(journal_t *journal, u32 crc, in jbd2_chksum() 1776 static inline tid_t jbd2_get_latest_transaction(journal_t *journal) in jbd2_get_latest_transaction() 1790 journal_t *journal; in jbd2_handle_buffer_credits() local
|
| /linux-6.15/fs/f2fs/ |
| H A D | node.c | 551 struct f2fs_journal *journal = curseg->journal; in f2fs_get_node_info() local 2460 struct f2fs_journal *journal = curseg->journal; in scan_curseg_cache() local 2928 struct f2fs_journal *journal = curseg->journal; in remove_nats_in_journal() local 3021 struct f2fs_journal *journal = curseg->journal; in __flush_nat_entry_set() local 3099 struct f2fs_journal *journal = curseg->journal; in f2fs_flush_nat_entries() local
|