Home
last modified time | relevance | path

Searched refs:journal_t (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/include/linux/
Djbd2.h104 typedef struct journal_s journal_t; /* Journal control structure */ typedef
503 journal_t *h_journal;
575 journal_t *t_journal;
1106 void (*j_commit_callback)(journal_t *,
1178 static inline bool jbd2_has_feature_##name(journal_t *j) \
1184 static inline void jbd2_set_feature_##name(journal_t *j) \
1189 static inline void jbd2_clear_feature_##name(journal_t *j) \
1196 static inline bool jbd2_has_feature_##name(journal_t *j) \
1202 static inline void jbd2_set_feature_##name(journal_t *j) \
1207 static inline void jbd2_clear_feature_##name(journal_t *j) \
[all …]
/Linux-v5.4/fs/jbd2/
Drevoke.c126 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()
420 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke()
478 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags()
507 void jbd2_journal_switch_revoke_table(journal_t *journal) in jbd2_journal_switch_revoke_table()
[all …]
Djournal.c99 static void __journal_abort_soft (journal_t *journal, int errno);
121 static int jbd2_verify_csum_type(journal_t *j, journal_superblock_t *sb) in jbd2_verify_csum_type()
129 static __be32 jbd2_superblock_csum(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum()
148 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 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()
[all …]
Drecovery.c39 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 …]
Dtransaction.c80 static void jbd2_get_transaction(journal_t *journal, in jbd2_get_transaction()
145 static void wait_transaction_locked(journal_t *journal) in wait_transaction_locked()
168 static void wait_transaction_switching(journal_t *journal) in wait_transaction_switching()
189 static void sub_reserved_credits(journal_t *journal, int blocks) in sub_reserved_credits()
201 static int add_transaction_credits(journal_t *journal, int blocks, in add_transaction_credits()
298 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
440 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
509 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
517 journal_t *journal = handle->h_journal; in jbd2_journal_free_reserved()
542 journal_t *journal = handle->h_journal; in jbd2_journal_start_reserved()
[all …]
Dcheckpoint.c108 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space()
178 __flush_batch(journal_t *journal, int *batch_count) in __flush_batch()
204 int jbd2_log_do_checkpoint(journal_t *journal) in jbd2_log_do_checkpoint()
396 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail()
476 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, bool destroy) in __jbd2_journal_clean_checkpoint_list()
524 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint()
564 journal_t *journal; in __jbd2_journal_remove_checkpoint()
652 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
Dcommit.c92 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()
213 static int journal_submit_data_buffers(journal_t *journal, in journal_submit_data_buffers()
256 static int journal_finish_inode_data_buffers(journal_t *journal, in journal_finish_inode_data_buffers()
317 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block()
325 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set()
355 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
/Linux-v5.4/include/trace/events/
Djbd2.h16 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-v5.4/fs/ext4/
Dext4_jbd2.c44 journal_t *journal; in ext4_journal_check_start()
70 journal_t *journal; in __ext4_journal_start_sb()
Dfsync.c99 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_sync_file()
Dsuper.c411 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback()
464 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error()
1241 journal_t *journal = EXT4_SB(sb)->s_journal; in bdev_try_to_free_page()
4715 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params()
4767 static journal_t *ext4_get_journal(struct super_block *sb, in ext4_get_journal()
4771 journal_t *journal; in ext4_get_journal()
4790 static journal_t *ext4_get_dev_journal(struct super_block *sb, in ext4_get_dev_journal()
4794 journal_t *journal; in ext4_get_dev_journal()
4889 journal_t *journal; in ext4_load_journal()
5064 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete()
[all …]
Dext4_jbd2.h356 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
Dinode.c227 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode()
3263 journal_t *journal; in ext4_bmap()
3360 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in __ext4_journalled_invalidatepage()
3383 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in ext4_releasepage()
3398 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty()
4815 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget()
5447 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit()
6095 journal_t *journal; in ext4_change_inode_journal_flag()
Dfsmap.c256 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev()
/Linux-v5.4/Documentation/filesystems/
Djournalling.rst11 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-v5.4/fs/ocfs2/
Djournal.c337 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans()
783 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty()
800 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params()
819 journal_t *j_journal = NULL; in ocfs2_journal_init()
1035 journal_t *journal, in ocfs2_clear_journal_error()
1570 journal_t *journal = NULL; in ocfs2_replay_journal()
Djournal.h41 journal_t *j_journal; /* The kernels journal type */
Dinode.c130 journal_t *journal = OCFS2_SB(sb)->journal->j_journal; in ocfs2_iget()
Dfile.c173 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file()