/linux-6.8/fs/bcachefs/ |
D | journal_types.h | 153 struct journal { struct 164 /* Max size of current journal entry */ argument 168 /* Reserved space in journal entry to be used just prior to write */ argument 173 * 0, or -ENOSPC if waiting on journal reclaim, or -EROFS if argument 176 enum journal_errors cur_entry_error; argument 181 * the journal has actually started - stash them here: argument 183 darray_u64 early_journal_entries; argument 192 * Two journal entries -- one is currently open for new entries, the argument 195 struct journal_buf buf[JOURNAL_BUF_NR]; argument 199 /* if nonzero, we may not open a new journal entry: */ argument [all …]
|
D | journal_sb.c | 23 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_validate() local 75 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_to_text() local 106 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_validate() local 162 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_to_text() local
|
D | btree_journal_iter.h | 22 struct journal_iter journal; member
|
D | btree_update_interior.h | 72 struct journal_entry_pin journal; member
|
/linux-6.8/fs/jbd2/ |
D | journal.c | 137 journal_t *journal = from_timer(journal, t, j_commit_timer); in commit_timeout() local 162 journal_t *journal = arg; in kjournald2() local 264 static int jbd2_journal_start_thread(journal_t *journal) in jbd2_journal_start_thread() 277 static void journal_kill_thread(journal_t *journal) in journal_kill_thread() 339 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer() local 469 static int __jbd2_log_start_commit(journal_t *journal, tid_t target) in __jbd2_log_start_commit() 506 int jbd2_log_start_commit(journal_t *journal, tid_t tid) in jbd2_log_start_commit() 523 static int __jbd2_journal_force_commit(journal_t *journal) in __jbd2_journal_force_commit() 563 int jbd2_journal_force_commit_nested(journal_t *journal) in jbd2_journal_force_commit_nested() 578 int jbd2_journal_force_commit(journal_t *journal) in jbd2_journal_force_commit() [all …]
|
D | transaction.c | 68 static int jbd2_descriptor_blocks_per_trans(journal_t *journal) in jbd2_descriptor_blocks_per_trans() 102 static void jbd2_get_transaction(journal_t *journal, in jbd2_get_transaction() 164 static void wait_transaction_locked(journal_t *journal) in wait_transaction_locked() 187 static void wait_transaction_switching(journal_t *journal) in wait_transaction_switching() 210 static void sub_reserved_credits(journal_t *journal, int blocks) in sub_reserved_credits() 227 static int add_transaction_credits(journal_t *journal, int blocks, in add_transaction_credits() 331 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() 485 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start() 557 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start() 565 journal_t *journal = handle->h_journal; in __jbd2_journal_unreserve_handle() local [all …]
|
D | revoke.c | 131 static inline int hash(journal_t *journal, unsigned long long block) in hash() 136 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash() 160 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record() 263 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke() 290 void jbd2_journal_destroy_revoke(journal_t *journal) in jbd2_journal_destroy_revoke() 330 journal_t *journal; in jbd2_journal_revoke() local 426 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 [all …]
|
D | checkpoint.c | 49 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space() 121 __flush_batch(journal_t *journal, int *batch_count) in __flush_batch() 148 int jbd2_log_do_checkpoint(journal_t *journal) in jbd2_log_do_checkpoint() 311 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail() 403 unsigned long jbd2_journal_shrink_checkpoint_list(journal_t *journal, in jbd2_journal_shrink_checkpoint_list() 479 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, bool destroy) in __jbd2_journal_clean_checkpoint_list() 518 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint() 558 journal_t *journal; in __jbd2_journal_remove_checkpoint() local 679 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
|
D | recovery.c | 67 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead() 129 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() 202 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags() 231 #define wrap(journal, var) \ argument 237 static int fc_do_one_pass(journal_t *journal, in fc_do_one_pass() 286 int jbd2_journal_recover(journal_t *journal) in jbd2_journal_recover() 357 int jbd2_journal_skip_recovery(journal_t *journal) in jbd2_journal_skip_recovery() 387 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block() 400 static int calc_chksums(journal_t *journal, struct buffer_head *bh, in calc_chksums() 466 static int do_one_pass(journal_t *journal, in do_one_pass() [all …]
|
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.8/drivers/md/bcache/ |
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
|
D | btree.h | 106 atomic_t *journal; member
|
/linux-6.8/fs/reiserfs/ |
D | journal.c | 114 struct reiserfs_journal *journal = SB_JOURNAL(sb); in init_journal_hash() local 156 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_bitmap_node() local 180 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_bitmap_node() local 194 struct reiserfs_journal *journal = SB_JOURNAL(sb); in allocate_bitmap_nodes() local 257 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_bitmap_nodes() local 313 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_list_bitmap() local 369 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_cnode() local 396 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_cnode() local 462 struct reiserfs_journal *journal = SB_JOURNAL(sb); in reiserfs_in_journal() local 578 struct reiserfs_journal *journal = SB_JOURNAL(s); in journal_list_still_alive() local [all …]
|
D | super.c | 724 struct reiserfs_journal *journal = SB_JOURNAL(s); in reiserfs_show_options() local 1437 struct reiserfs_journal *journal = SB_JOURNAL(s); in reiserfs_remount() local
|
/linux-6.8/fs/ocfs2/ |
D | journal.c | 294 struct ocfs2_journal *journal = NULL; in ocfs2_commit_cache() local 333 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() local 375 struct ocfs2_journal *journal = osb->journal; in ocfs2_commit_trans() local 779 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty() local 796 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() local 818 struct ocfs2_journal *journal; in ocfs2_journal_alloc() local 860 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_init() local 964 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_toggle_dirty() local 999 struct ocfs2_journal *journal = NULL; in ocfs2_journal_shutdown() local 1077 journal_t *journal, in ocfs2_clear_journal_error() [all …]
|
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.8/fs/ext4/ |
D | fast_commit.c | 961 static int ext4_fc_submit_inode_data_all(journal_t *journal) in ext4_fc_submit_inode_data_all() 995 static int ext4_fc_wait_inode_data_all(journal_t *journal) in ext4_fc_wait_inode_data_all() 1020 static int ext4_fc_commit_dentry_updates(journal_t *journal, u32 *crc) in ext4_fc_commit_dentry_updates() 1084 static int ext4_fc_perform_commit(journal_t *journal) in ext4_fc_perform_commit() 1189 int ext4_fc_commit(journal_t *journal, tid_t commit_tid) in ext4_fc_commit() 1266 static void ext4_fc_cleanup(journal_t *journal, int full, tid_t tid) in ext4_fc_cleanup() 2027 static int ext4_fc_replay_scan(journal_t *journal, in ext4_fc_replay_scan() 2150 static int ext4_fc_replay(journal_t *journal, struct buffer_head *bh, in ext4_fc_replay() 2242 void ext4_fc_init(struct super_block *sb, journal_t *journal) in ext4_fc_init()
|
D | ext4_jbd2.c | 66 journal_t *journal; in ext4_journal_check_start() local 95 journal_t *journal; in __ext4_journal_start_sb() local
|
D | fsync.c | 101 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal() local
|
D | super.c | 463 journal_t *journal = sbi->s_journal; in ext4_maybe_update_superblock() local 511 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() 712 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() local 765 journal_t *journal = sbi->s_journal; in update_super_work() local 5743 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params() 5801 static int ext4_journal_bmap(journal_t *journal, sector_t *block) in ext4_journal_bmap() 5827 journal_t *journal; in ext4_open_inode_journal() local 5927 journal_t *journal; in ext4_open_dev_journal() local 5967 journal_t *journal; in ext4_load_journal() local 6231 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() local [all …]
|
D | inode.c | 3160 journal_t *journal = EXT4_JOURNAL(folio->mapping->host); in __ext4_journalled_invalidate_folio() local 3184 journal_t *journal = EXT4_JOURNAL(inode); in ext4_release_folio() local 3199 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty() local 4665 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget() local 5209 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() local 5948 journal_t *journal; in ext4_change_inode_journal_flag() local
|
D | fsmap.c | 259 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev() local
|
D | ext4_jbd2.h | 413 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
|
/linux-6.8/include/linux/ |
D | jbd2.h | 1665 static inline int jbd2_journal_get_max_txn_bufs(journal_t *journal) in jbd2_journal_get_max_txn_bufs() 1680 static inline int is_journal_aborted(journal_t *journal) in is_journal_aborted() 1697 static inline void jbd2_init_fs_dev_write_error(journal_t *journal) in jbd2_init_fs_dev_write_error() 1708 static inline int jbd2_check_fs_dev_write_error(journal_t *journal) in jbd2_check_fs_dev_write_error() 1741 static inline int jbd2_journal_has_csum_v2or3(journal_t *journal) in jbd2_journal_has_csum_v2or3() 1759 static inline unsigned long jbd2_log_space_left(journal_t *journal) in jbd2_log_space_left() 1786 static inline u32 jbd2_chksum(journal_t *journal, u32 crc, in jbd2_chksum() 1808 static inline tid_t jbd2_get_latest_transaction(journal_t *journal) in jbd2_get_latest_transaction() 1822 journal_t *journal; in jbd2_handle_buffer_credits() local
|
/linux-6.8/fs/f2fs/ |
D | node.c | 551 struct f2fs_journal *journal = curseg->journal; in f2fs_get_node_info() local 2410 struct f2fs_journal *journal = curseg->journal; in scan_curseg_cache() local 2878 struct f2fs_journal *journal = curseg->journal; in remove_nats_in_journal() local 3006 struct f2fs_journal *journal = curseg->journal; in __flush_nat_entry_set() local 3084 struct f2fs_journal *journal = curseg->journal; in f2fs_flush_nat_entries() local
|