Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Djbd2.h107 typedef struct journal_s journal_t; /* Journal control structure */ typedef
465 journal_t *h_journal;
547 journal_t *t_journal;
1014 void (*j_commit_callback)(journal_t *,
1042 static inline bool jbd2_has_feature_##name(journal_t *j) \
1048 static inline void jbd2_set_feature_##name(journal_t *j) \
1053 static inline void jbd2_clear_feature_##name(journal_t *j) \
1060 static inline bool jbd2_has_feature_##name(journal_t *j) \
1066 static inline void jbd2_set_feature_##name(journal_t *j) \
1071 static inline void jbd2_clear_feature_##name(journal_t *j) \
[all …]
/linux-4.4.14/fs/jbd2/
Drevoke.c125 static void write_one_revoke_record(journal_t *, transaction_t *,
129 static void flush_descriptor(journal_t *, struct buffer_head *, int, int);
134 static inline int hash(journal_t *journal, unsigned long long block) in hash()
139 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash()
163 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record()
262 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke()
288 void jbd2_journal_destroy_revoke(journal_t *journal) in jbd2_journal_destroy_revoke()
328 journal_t *journal; in jbd2_journal_revoke()
418 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke()
476 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags()
[all …]
Djournal.c103 static void __journal_abort_soft (journal_t *journal, int errno);
125 static int jbd2_verify_csum_type(journal_t *j, journal_superblock_t *sb) in jbd2_verify_csum_type()
133 static __be32 jbd2_superblock_csum(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum()
146 static int jbd2_superblock_csum_verify(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum_verify()
154 static void jbd2_superblock_csum_set(journal_t *j, journal_superblock_t *sb) in jbd2_superblock_csum_set()
191 journal_t *journal = arg; in kjournald2()
286 static int jbd2_journal_start_thread(journal_t *journal) in jbd2_journal_start_thread()
299 static void journal_kill_thread(journal_t *journal) in journal_kill_thread()
361 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer()
494 int __jbd2_log_start_commit(journal_t *journal, tid_t target) in __jbd2_log_start_commit()
[all …]
Drecovery.c42 static int do_one_pass(journal_t *journal,
44 static int scan_revoke_records(journal_t *, struct buffer_head *,
70 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead()
132 static int jread(struct buffer_head **bhp, journal_t *journal, in jread()
177 static int jbd2_descr_block_csum_verify(journal_t *j, in jbd2_descr_block_csum_verify()
201 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags()
248 int jbd2_journal_recover(journal_t *journal) in jbd2_journal_recover()
313 int jbd2_journal_skip_recovery(journal_t *journal) in jbd2_journal_skip_recovery()
341 static inline unsigned long long read_tag_block(journal_t *journal, in read_tag_block()
354 static int calc_chksums(journal_t *journal, struct buffer_head *bh, in calc_chksums()
[all …]
Dtransaction.c83 jbd2_get_transaction(journal_t *journal, transaction_t *transaction) in jbd2_get_transaction()
149 static void wait_transaction_locked(journal_t *journal) in wait_transaction_locked()
166 static void sub_reserved_credits(journal_t *journal, int blocks) in sub_reserved_credits()
178 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()
426 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
475 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
483 journal_t *journal = handle->h_journal; in jbd2_journal_free_reserved()
506 journal_t *journal = handle->h_journal; in jbd2_journal_start_reserved()
562 journal_t *journal; in jbd2_journal_extend()
[all …]
Dcheckpoint.c111 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space()
182 __flush_batch(journal_t *journal, int *batch_count) in __flush_batch()
208 int jbd2_log_do_checkpoint(journal_t *journal) in jbd2_log_do_checkpoint()
387 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail()
467 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, bool destroy) in __jbd2_journal_clean_checkpoint_list()
515 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint()
555 journal_t *journal; in __jbd2_journal_remove_checkpoint()
643 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
Dcommit.c95 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set()
119 static int journal_submit_commit_record(journal_t *journal, in journal_submit_commit_record()
172 static int journal_wait_on_commit_record(journal_t *journal, in journal_wait_on_commit_record()
215 static int journal_submit_data_buffers(journal_t *journal, in journal_submit_data_buffers()
252 static int journal_finish_inode_data_buffers(journal_t *journal, in journal_finish_inode_data_buffers()
314 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block()
322 static void jbd2_descr_block_csum_set(journal_t *j, in jbd2_descr_block_csum_set()
338 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set()
368 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
/linux-4.4.14/include/trace/events/
Djbd2.h15 TP_PROTO(journal_t *journal, int result),
35 TP_PROTO(journal_t *journal, transaction_t *commit_transaction),
58 TP_PROTO(journal_t *journal, transaction_t *commit_transaction),
65 TP_PROTO(journal_t *journal, transaction_t *commit_transaction),
72 TP_PROTO(journal_t *journal, transaction_t *commit_transaction),
79 TP_PROTO(journal_t *journal, transaction_t *commit_transaction),
86 TP_PROTO(journal_t *journal, transaction_t *commit_transaction),
92 TP_PROTO(journal_t *journal, transaction_t *commit_transaction),
314 TP_PROTO(journal_t *journal, tid_t first_tid,
343 TP_PROTO(journal_t *journal, int write_op),
/linux-4.4.14/fs/ext4/
Dext4_jbd2.c43 journal_t *journal; in ext4_journal_check_start()
65 journal_t *journal; in __ext4_journal_start_sb()
Dfsync.c91 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_sync_file()
Dsuper.c335 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback()
376 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error()
1058 journal_t *journal = EXT4_SB(sb)->s_journal; in bdev_try_to_free_page()
4030 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params()
4050 static journal_t *ext4_get_journal(struct super_block *sb, in ext4_get_journal()
4054 journal_t *journal; in ext4_get_journal()
4093 static journal_t *ext4_get_dev_journal(struct super_block *sb, in ext4_get_dev_journal()
4097 journal_t *journal; in ext4_get_dev_journal()
4192 journal_t *journal; in ext4_load_journal()
4358 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete()
[all …]
Dext4_jbd2.h355 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
Dinode.c211 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode()
2939 journal_t *journal; in ext4_bmap()
3035 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in __ext4_journalled_invalidatepage()
3058 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in ext4_releasepage()
4147 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_iget()
4709 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit()
5250 journal_t *journal; in ext4_change_inode_journal_flag()
/linux-4.4.14/fs/ocfs2/
Djournal.c350 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans()
795 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty()
812 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params()
831 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()
Djournal.h55 journal_t *j_journal; /* The kernels journal type */
Dinode.c133 journal_t *journal = OCFS2_SB(sb)->journal->j_journal; in ocfs2_iget()
Daops.c803 journal_t *journal = osb->journal->j_journal; in ocfs2_direct_IO_write()
Dfile.c185 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file()