/linux-4.1.27/include/linux/ |
D | jbd.h | 113 typedef struct journal_s journal_t; /* Journal control structure */ typedef 373 journal_t *t_journal; 799 extern void journal_unfile_buffer(journal_t *, struct journal_head *); 802 extern void journal_refile_buffer(journal_t *, struct journal_head *); 809 extern struct journal_head * journal_get_descriptor_buffer(journal_t *); 810 int journal_next_log_block(journal_t *, unsigned int *); 813 extern void journal_commit_transaction(journal_t *); 816 int __journal_clean_checkpoint_list(journal_t *journal); 828 extern void __wait_on_journal (journal_t *); 852 extern handle_t *journal_start(journal_t *, int nblocks); [all …]
|
D | jbd2.h | 106 typedef struct journal_s journal_t; /* Journal control structure */ typedef 423 journal_t *h_journal; 505 journal_t *t_journal; 972 void (*j_commit_callback)(journal_t *, 1018 extern void jbd2_journal_unfile_buffer(journal_t *, struct journal_head *); 1020 extern void jbd2_journal_refile_buffer(journal_t *, struct journal_head *); 1035 struct buffer_head *jbd2_journal_get_descriptor_buffer(journal_t *journal); 1036 int jbd2_journal_next_log_block(journal_t *, unsigned long long *); 1037 int jbd2_journal_get_log_tail(journal_t *journal, tid_t *tid, 1039 int __jbd2_update_log_tail(journal_t *journal, tid_t tid, unsigned long block); [all …]
|
/linux-4.1.27/include/trace/events/ |
D | jbd.h | 12 TP_PROTO(journal_t *journal, int result), 33 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 54 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 61 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 68 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 75 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 82 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 102 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 124 TP_PROTO(journal_t *journal, transaction_t *commit_transaction), 145 TP_PROTO(journal_t *journal, tid_t first_tid, [all …]
|
D | jbd2.h | 15 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.1.27/fs/jbd/ |
D | journal.c | 89 static int journal_convert_superblock_v1(journal_t *, journal_superblock_t *); 90 static void __journal_abort_soft (journal_t *journal, int errno); 91 static const char *journal_dev_name(journal_t *journal, char *buffer); 140 journal_t *journal = arg; in kjournald() 238 static int journal_start_thread(journal_t *journal) in journal_start_thread() 250 static void journal_kill_thread(journal_t *journal) in journal_kill_thread() 316 journal_t *journal = transaction->t_journal; in journal_write_metadata_buffer() 434 int __log_space_left(journal_t *journal) in __log_space_left() 458 int __log_start_commit(journal_t *journal, tid_t target) in __log_start_commit() 490 int log_start_commit(journal_t *journal, tid_t tid) in log_start_commit() [all …]
|
D | revoke.c | 125 static void write_one_revoke_record(journal_t *, transaction_t *, 128 static void flush_descriptor(journal_t *, struct journal_head *, int, int); 133 static inline int hash(journal_t *journal, unsigned int block) in hash() 140 static int insert_revoke_hash(journal_t *journal, unsigned int blocknr, in insert_revoke_hash() 169 static struct jbd_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record() 270 int journal_init_revoke(journal_t *journal, int hash_size) in journal_init_revoke() 296 void journal_destroy_revoke(journal_t *journal) in journal_destroy_revoke() 336 journal_t *journal; in journal_revoke() 426 journal_t *journal = handle->h_transaction->t_journal; in journal_cancel_revoke() 484 void journal_clear_buffer_revoked_flags(journal_t *journal) in journal_clear_buffer_revoked_flags() [all …]
|
D | recovery.c | 41 static int do_one_pass(journal_t *journal, 43 static int scan_revoke_records(journal_t *, struct buffer_head *, 69 static int do_readahead(journal_t *journal, unsigned int start) in do_readahead() 131 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() 224 int journal_recover(journal_t *journal) in journal_recover() 290 int journal_skip_recovery(journal_t *journal) in journal_skip_recovery() 317 static int do_one_pass(journal_t *journal, in do_one_pass() 572 static int scan_revoke_records(journal_t *journal, struct buffer_head *bh, in scan_revoke_records()
|
D | checkpoint.c | 122 void __log_wait_for_space(journal_t *journal) in __log_wait_for_space() 186 static void jbd_sync_bh(journal_t *journal, struct buffer_head *bh) in jbd_sync_bh() 207 static int __wait_cp_io(journal_t *journal, transaction_t *transaction) in __wait_cp_io() 258 __flush_batch(journal_t *journal, struct buffer_head **bhs, int *batch_count) in __flush_batch() 287 static int __process_buffer(journal_t *journal, struct journal_head *jh, in __process_buffer() 355 int log_do_checkpoint(journal_t *journal) in log_do_checkpoint() 464 int cleanup_journal_tail(journal_t *journal) in cleanup_journal_tail() 605 int __journal_clean_checkpoint_list(journal_t *journal) in __journal_clean_checkpoint_list() 668 journal_t *journal; in __journal_remove_checkpoint() 753 void __journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __journal_drop_transaction()
|
D | transaction.c | 49 get_transaction(journal_t *journal, transaction_t *transaction) in get_transaction() 84 static int start_this_handle(journal_t *journal, handle_t *handle) in start_this_handle() 271 handle_t *journal_start(journal_t *journal, int nblocks) in journal_start() 323 journal_t *journal = transaction->t_journal; in journal_extend() 389 journal_t *journal = transaction->t_journal; in journal_restart() 438 void journal_lock_updates(journal_t *journal) in journal_lock_updates() 487 void journal_unlock_updates (journal_t *journal) in journal_unlock_updates() 524 journal_t *journal; in do_get_write_access() 787 journal_t *journal = transaction->t_journal; in journal_get_create_access() 949 journal_t *journal = handle->h_transaction->t_journal; in journal_dirty_data() [all …]
|
D | commit.c | 105 static int inverted_lock(journal_t *journal, struct buffer_head *bh) in inverted_lock() 122 static int journal_write_commit_record(journal_t *journal, in journal_write_commit_record() 182 static int journal_submit_data_buffers(journal_t *journal, in journal_submit_data_buffers() 296 void journal_commit_transaction(journal_t *journal) in journal_commit_transaction()
|
/linux-4.1.27/fs/jbd2/ |
D | revoke.c | 125 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() 168 static struct jbd2_revoke_record_s *find_revoke_record(journal_t *journal, in find_revoke_record() 267 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke() 293 void jbd2_journal_destroy_revoke(journal_t *journal) in jbd2_journal_destroy_revoke() 333 journal_t *journal; in jbd2_journal_revoke() 423 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke() 481 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags() [all …]
|
D | journal.c | 103 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() 503 int __jbd2_log_start_commit(journal_t *journal, tid_t target) in __jbd2_log_start_commit() [all …]
|
D | recovery.c | 42 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 …]
|
D | transaction.c | 83 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() 257 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() 414 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start() 463 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start() 471 journal_t *journal = handle->h_journal; in jbd2_journal_free_reserved() 494 journal_t *journal = handle->h_journal; in jbd2_journal_start_reserved() 550 journal_t *journal; in jbd2_journal_extend() [all …]
|
D | checkpoint.c | 111 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() 469 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, bool destroy) in __jbd2_journal_clean_checkpoint_list() 517 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint() 557 journal_t *journal; in __jbd2_journal_remove_checkpoint() 645 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
|
D | commit.c | 95 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() 174 static int journal_wait_on_commit_record(journal_t *journal, in journal_wait_on_commit_record() 217 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() 316 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block() 324 static void jbd2_descr_block_csum_set(journal_t *j, in jbd2_descr_block_csum_set() 340 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set() 370 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
|
/linux-4.1.27/fs/ext3/ |
D | fsync.c | 45 journal_t *journal = EXT3_SB(inode->i_sb)->s_journal; in ext3_sync_file()
|
D | super.c | 71 journal_t *journal; in ext3_journal_start_sb() 169 journal_t *journal = EXT3_SB(sb)->s_journal; in ext3_handle_error() 746 journal_t *journal = EXT3_SB(sb)->s_journal; in bdev_try_to_free_page() 2164 static void ext3_init_journal_params(struct super_block *sb, journal_t *journal) in ext3_init_journal_params() 2186 static journal_t *ext3_get_journal(struct super_block *sb, in ext3_get_journal() 2190 journal_t *journal; in ext3_get_journal() 2227 static journal_t *ext3_get_dev_journal(struct super_block *sb, in ext3_get_dev_journal() 2231 journal_t *journal; in ext3_get_dev_journal() 2316 journal_t *journal; in ext3_load_journal() 2407 journal_t *journal; in ext3_create_journal() [all …]
|
D | inode.c | 225 journal_t *journal = EXT3_SB(inode->i_sb)->s_journal; in ext3_evict_inode() 1509 journal_t *journal; in ext3_bmap() 1790 journal_t *journal = EXT3_JOURNAL(page->mapping->host); in ext3_invalidatepage() 1805 journal_t *journal = EXT3_JOURNAL(page->mapping->host); in ext3_releasepage() 2855 journal_t *journal = EXT3_SB(sb)->s_journal; in ext3_iget() 3524 journal_t *journal; in ext3_change_inode_journal_flag()
|
D | ext3.h | 1291 static inline int ext3_journal_force_commit(journal_t *journal) in ext3_journal_force_commit()
|
/linux-4.1.27/fs/ext4/ |
D | ext4_jbd2.c | 43 journal_t *journal; in ext4_journal_check_start() 65 journal_t *journal; in __ext4_journal_start_sb()
|
D | fsync.c | 91 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_sync_file()
|
D | super.c | 343 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() 384 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() 1041 journal_t *journal = EXT4_SB(sb)->s_journal; in bdev_try_to_free_page() 4363 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params() 4383 static journal_t *ext4_get_journal(struct super_block *sb, in ext4_get_journal() 4387 journal_t *journal; in ext4_get_journal() 4426 static journal_t *ext4_get_dev_journal(struct super_block *sb, in ext4_get_dev_journal() 4430 journal_t *journal; in ext4_get_dev_journal() 4525 journal_t *journal; in ext4_load_journal() 4690 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() [all …]
|
D | ext4_jbd2.h | 357 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
|
D | inode.c | 210 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode() 2908 journal_t *journal; in ext4_bmap() 3004 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in __ext4_journalled_invalidatepage() 3027 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in ext4_releasepage() 4106 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_iget() 4667 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() 5199 journal_t *journal; in ext4_change_inode_journal_flag()
|
/linux-4.1.27/fs/ocfs2/ |
D | journal.c | 350 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() 785 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() 804 journal_t *j_journal = NULL; in ocfs2_journal_init() 1023 journal_t *journal, in ocfs2_clear_journal_error() 1541 journal_t *journal = NULL; in ocfs2_replay_journal()
|
D | journal.h | 55 journal_t *j_journal; /* The kernels journal type */
|
D | inode.c | 133 journal_t *journal = OCFS2_SB(sb)->journal->j_journal; in ocfs2_iget()
|
D | aops.c | 791 journal_t *journal = osb->journal->j_journal; in ocfs2_direct_IO_write()
|
D | file.c | 181 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file()
|