| /Linux-v6.1/include/linux/ |
| D | jbd2.h | 105 typedef struct journal_s journal_t; /* Journal control structure */ typedef 491 journal_t *h_journal; 563 journal_t *t_journal; 1204 void (*j_commit_callback)(journal_t *, 1321 static inline bool jbd2_has_feature_##name(journal_t *j) \ 1327 static inline void jbd2_set_feature_##name(journal_t *j) \ 1332 static inline void jbd2_clear_feature_##name(journal_t *j) \ 1339 static inline bool jbd2_has_feature_##name(journal_t *j) \ 1345 static inline void jbd2_set_feature_##name(journal_t *j) \ 1350 static inline void jbd2_clear_feature_##name(journal_t *j) \ [all …]
|
| /Linux-v6.1/fs/jbd2/ |
| D | journal.c | 119 static int jbd2_verify_csum_type(journal_t *j, journal_superblock_t *sb) in jbd2_verify_csum_type() 127 static __be32 jbd2_superblock_csum(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum() 146 journal_t *journal = from_timer(journal, t, j_commit_timer); in commit_timeout() 171 journal_t *journal = arg; in kjournald2() 273 static int jbd2_journal_start_thread(journal_t *journal) in jbd2_journal_start_thread() 286 static void journal_kill_thread(journal_t *journal) in journal_kill_thread() 348 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer() 481 static int __jbd2_log_start_commit(journal_t *journal, tid_t target) in __jbd2_log_start_commit() 518 int jbd2_log_start_commit(journal_t *journal, tid_t tid) in jbd2_log_start_commit() 535 static int __jbd2_journal_force_commit(journal_t *journal) in __jbd2_journal_force_commit() [all …]
|
| D | revoke.c | 126 static void flush_descriptor(journal_t *, struct buffer_head *, int); 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() 426 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke() 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() [all …]
|
| D | recovery.c | 38 static int do_one_pass(journal_t *journal, 40 static int scan_revoke_records(journal_t *, struct buffer_head *, 66 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead() 128 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() 178 static int jbd2_descriptor_block_csum_verify(journal_t *j, void *buf) in jbd2_descriptor_block_csum_verify() 201 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags() 240 static int fc_do_one_pass(journal_t *journal, in fc_do_one_pass() 289 int jbd2_journal_recover(journal_t *journal) in jbd2_journal_recover() 354 int jbd2_journal_skip_recovery(journal_t *journal) in jbd2_journal_skip_recovery() 382 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block() [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() [all …]
|
| D | checkpoint.c | 100 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space() 172 __flush_batch(journal_t *journal, int *batch_count) in __flush_batch() 198 int jbd2_log_do_checkpoint(journal_t *journal) in jbd2_log_do_checkpoint() 382 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail() 505 unsigned long jbd2_journal_shrink_checkpoint_list(journal_t *journal, in jbd2_journal_shrink_checkpoint_list() 590 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, bool destroy) in __jbd2_journal_clean_checkpoint_list() 638 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint() 678 journal_t *journal; in __jbd2_journal_remove_checkpoint() 780 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
|
| D | commit.c | 94 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set() 118 static int journal_submit_commit_record(journal_t *journal, in journal_submit_commit_record() 169 static int journal_wait_on_commit_record(journal_t *journal, in journal_wait_on_commit_record() 222 int jbd2_wait_inode_data(journal_t *journal, struct jbd2_inode *jinode) in jbd2_wait_inode_data() 241 static int journal_submit_data_buffers(journal_t *journal, in journal_submit_data_buffers() 284 static int journal_finish_inode_data_buffers(journal_t *journal, in journal_finish_inode_data_buffers() 343 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block() 351 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set() 381 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
|
| /Linux-v6.1/include/trace/events/ |
| D | jbd2.h | 16 TP_PROTO(journal_t *journal, int result), 36 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 59 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 66 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 73 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 80 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 87 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 93 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 329 TP_PROTO(journal_t *journal, tid_t first_tid, 358 TP_PROTO(journal_t *journal, blk_opf_t write_flags), [all …]
|
| D | ext4.h | 2890 TP_PROTO(journal_t *journal, int full, tid_t tid),
|
| /Linux-v6.1/fs/ext4/ |
| D | ext4_jbd2.c | 66 journal_t *journal; in ext4_journal_check_start() 93 journal_t *journal; in __ext4_journal_start_sb()
|
| D | fsync.c | 108 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal()
|
| D | fast_commit.c | 966 static int ext4_fc_submit_inode_data_all(journal_t *journal) in ext4_fc_submit_inode_data_all() 1000 static int ext4_fc_wait_inode_data_all(journal_t *journal) in ext4_fc_wait_inode_data_all() 1025 static int ext4_fc_commit_dentry_updates(journal_t *journal, u32 *crc) in ext4_fc_commit_dentry_updates() 1089 static int ext4_fc_perform_commit(journal_t *journal) in ext4_fc_perform_commit() 1194 int ext4_fc_commit(journal_t *journal, tid_t commit_tid) in ext4_fc_commit() 1271 static void ext4_fc_cleanup(journal_t *journal, int full, tid_t tid) in ext4_fc_cleanup() 2025 static int ext4_fc_replay_scan(journal_t *journal, in ext4_fc_replay_scan() 2147 static int ext4_fc_replay(journal_t *journal, struct buffer_head *bh, in ext4_fc_replay() 2239 void ext4_fc_init(struct super_block *sb, journal_t *journal) in ext4_fc_init()
|
| D | ext4_jbd2.h | 413 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
|
| D | super.c | 452 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() 653 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() 706 journal_t *journal = sbi->s_journal; in flush_stashed_error_work() 5681 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params() 5734 static journal_t *ext4_get_journal(struct super_block *sb, in ext4_get_journal() 5738 journal_t *journal; in ext4_get_journal() 5758 static journal_t *ext4_get_dev_journal(struct super_block *sb, in ext4_get_dev_journal() 5762 journal_t *journal; in ext4_get_dev_journal() 5856 journal_t *journal; in ext4_load_journal() 6100 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() [all …]
|
| D | inode.c | 204 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode() 3160 journal_t *journal; in ext4_bmap() 3260 journal_t *journal = EXT4_JOURNAL(folio->mapping->host); in __ext4_journalled_invalidate_folio() 3283 journal_t *journal = EXT4_JOURNAL(folio->mapping->host); in ext4_release_folio() 3298 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty() 4751 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget() 5284 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() 6016 journal_t *journal; in ext4_change_inode_journal_flag()
|
| D | fsmap.c | 259 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev()
|
| D | ext4.h | 2876 void ext4_fc_init(struct super_block *sb, journal_t *journal); 2896 int ext4_fc_commit(journal_t *journal, tid_t commit_tid);
|
| /Linux-v6.1/Documentation/filesystems/ |
| D | journalling.rst | 11 journal_t data structure. There are two calls to do this dependent on 16 journal_t is a typedef for a struct pointer, so when you are finally 20 Once you have got your journal_t object you need to 'mount' or load the
|
| /Linux-v6.1/fs/ocfs2/ |
| D | journal.c | 335 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() 781 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty() 798 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() 848 journal_t *j_journal = NULL; in ocfs2_journal_init() 1066 journal_t *journal, in ocfs2_clear_journal_error() 1606 journal_t *journal = NULL; in ocfs2_replay_journal()
|
| D | journal.h | 39 journal_t *j_journal; /* The kernels journal type */
|
| D | inode.c | 128 journal_t *journal = osb->journal->j_journal; in ocfs2_iget()
|
| D | file.c | 171 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file()
|
| /Linux-v6.1/Documentation/filesystems/ext4/ |
| D | journal.rst | 742 the journal_t structure.
|