/Linux-v4.19/include/linux/ |
D | jbd2.h | 107 typedef struct journal_s journal_t; /* Journal control structure */ typedef 490 journal_t *h_journal; 562 journal_t *t_journal; 1092 void (*j_commit_callback)(journal_t *, 1164 static inline bool jbd2_has_feature_##name(journal_t *j) \ 1170 static inline void jbd2_set_feature_##name(journal_t *j) \ 1175 static inline void jbd2_clear_feature_##name(journal_t *j) \ 1182 static inline bool jbd2_has_feature_##name(journal_t *j) \ 1188 static inline void jbd2_set_feature_##name(journal_t *j) \ 1193 static inline void jbd2_clear_feature_##name(journal_t *j) \ [all …]
|
/Linux-v4.19/fs/jbd2/ |
D | journal.c | 102 static void __journal_abort_soft (journal_t *journal, int errno); 124 static int jbd2_verify_csum_type(journal_t *j, journal_superblock_t *sb) in jbd2_verify_csum_type() 132 static __be32 jbd2_superblock_csum(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum() 145 static int jbd2_superblock_csum_verify(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum_verify() 153 static void jbd2_superblock_csum_set(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum_set() 167 journal_t *journal = from_timer(journal, t, j_commit_timer); in commit_timeout() 190 journal_t *journal = arg; in kjournald2() 292 static int jbd2_journal_start_thread(journal_t *journal) in jbd2_journal_start_thread() 305 static void journal_kill_thread(journal_t *journal) in journal_kill_thread() 367 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer() [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() 255 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke() 282 void jbd2_journal_destroy_revoke(journal_t *journal) in jbd2_journal_destroy_revoke() 322 journal_t *journal; in jbd2_journal_revoke() 412 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke() 470 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags() 499 void jbd2_journal_switch_revoke_table(journal_t *journal) in jbd2_journal_switch_revoke_table() [all …]
|
D | recovery.c | 39 static int do_one_pass(journal_t *journal, 41 static int scan_revoke_records(journal_t *, struct buffer_head *, 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() 174 static int jbd2_descriptor_block_csum_verify(journal_t *j, void *buf) in jbd2_descriptor_block_csum_verify() 197 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags() 244 int jbd2_journal_recover(journal_t *journal) in jbd2_journal_recover() 309 int jbd2_journal_skip_recovery(journal_t *journal) in jbd2_journal_skip_recovery() 337 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block() 350 static int calc_chksums(journal_t *journal, struct buffer_head *bh, in calc_chksums() [all …]
|
D | checkpoint.c | 108 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space() 179 __flush_batch(journal_t *journal, int *batch_count) in __flush_batch() 205 int jbd2_log_do_checkpoint(journal_t *journal) in jbd2_log_do_checkpoint() 384 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail() 464 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, bool destroy) in __jbd2_journal_clean_checkpoint_list() 512 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint() 552 journal_t *journal; in __jbd2_journal_remove_checkpoint() 640 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
|
D | transaction.c | 79 jbd2_get_transaction(journal_t *journal, transaction_t *transaction) in jbd2_get_transaction() 145 static void wait_transaction_locked(journal_t *journal) in wait_transaction_locked() 163 static void sub_reserved_credits(journal_t *journal, int blocks) in sub_reserved_credits() 175 static int add_transaction_credits(journal_t *journal, int blocks, in add_transaction_credits() 271 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() 407 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start() 476 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start() 484 journal_t *journal = handle->h_journal; in jbd2_journal_free_reserved() 509 journal_t *journal = handle->h_journal; in jbd2_journal_start_reserved() 566 journal_t *journal; in jbd2_journal_extend() [all …]
|
D | commit.c | 92 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set() 116 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() 212 static int journal_submit_data_buffers(journal_t *journal, in journal_submit_data_buffers() 251 static int journal_finish_inode_data_buffers(journal_t *journal, in journal_finish_inode_data_buffers() 306 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block() 314 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set() 344 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
|
/Linux-v4.19/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), 315 TP_PROTO(journal_t *journal, tid_t first_tid, 344 TP_PROTO(journal_t *journal, int write_op),
|
/Linux-v4.19/fs/ext4/ |
D | ext4_jbd2.c | 44 journal_t *journal; in ext4_journal_check_start() 70 journal_t *journal; in __ext4_journal_start_sb()
|
D | fsync.c | 99 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_sync_file()
|
D | super.c | 387 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() 434 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() 1188 journal_t *journal = EXT4_SB(sb)->s_journal; in bdev_try_to_free_page() 4551 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params() 4603 static journal_t *ext4_get_journal(struct super_block *sb, in ext4_get_journal() 4607 journal_t *journal; in ext4_get_journal() 4626 static journal_t *ext4_get_dev_journal(struct super_block *sb, in ext4_get_dev_journal() 4630 journal_t *journal; in ext4_get_dev_journal() 4725 journal_t *journal; in ext4_load_journal() 4900 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() [all …]
|
D | ext4_jbd2.h | 356 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
|
D | inode.c | 227 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode() 3265 journal_t *journal; in ext4_bmap() 3362 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in __ext4_journalled_invalidatepage() 3385 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in ext4_releasepage() 3400 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty() 4795 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_iget() 5402 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() 6066 journal_t *journal; in ext4_change_inode_journal_flag()
|
D | fsmap.c | 256 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev()
|
/Linux-v4.19/fs/ocfs2/ |
D | journal.c | 350 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() 796 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty() 813 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() 832 journal_t *j_journal = NULL; in ocfs2_journal_init() 1050 journal_t *journal, in ocfs2_clear_journal_error() 1568 journal_t *journal = NULL; in ocfs2_replay_journal()
|
D | journal.h | 55 journal_t *j_journal; /* The kernels journal type */
|
D | inode.c | 144 journal_t *journal = OCFS2_SB(sb)->journal->j_journal; in ocfs2_iget()
|
D | file.c | 187 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file()
|
/Linux-v4.19/Documentation/filesystems/ |
D | index.rst | 159 journal_t data structure. There are two calls to do this dependent on 164 journal_t is a typedef for a struct pointer, so when you are finally 168 Once you have got your journal_t object you need to 'mount' or load the
|