Home
last modified time | relevance | path

Searched defs:journal (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.4/fs/jbd2/
Djournal.c148 journal_t *journal = from_timer(journal, t, j_commit_timer); in commit_timeout() local
171 journal_t *journal = arg; in kjournald2() local
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() local
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()
535 static int __jbd2_journal_force_commit(journal_t *journal) in __jbd2_journal_force_commit()
573 int jbd2_journal_force_commit_nested(journal_t *journal) in jbd2_journal_force_commit_nested()
588 int jbd2_journal_force_commit(journal_t *journal) in jbd2_journal_force_commit()
[all …]
Drevoke.c131 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() local
420 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke() local
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()
527 journal_t *journal = transaction->t_journal; in jbd2_journal_write_revoke_records() local
[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() local
542 journal_t *journal = handle->h_journal; in jbd2_journal_start_reserved() local
[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() local
652 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
Drecovery.c67 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()
197 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags()
226 #define wrap(journal, var) \ argument
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()
416 static int do_one_pass(journal_t *journal, in do_one_pass()
812 static int scan_revoke_records(journal_t *journal, struct buffer_head *bh, in scan_revoke_records()
Dcommit.c116 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()
355 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
/Linux-v5.4/drivers/md/bcache/
Djournal.h104 struct journal { struct
108 /* used when waiting because the journal was full */ argument
121 struct journal_write w[2], *cur; argument
125 * Embedded in struct cache. First three fields refer to the array of journal argument
Dbtree.h106 atomic_t *journal; member
Dbcache.h455 struct journal_device journal; member
689 struct journal journal; member
/Linux-v5.4/fs/reiserfs/
Djournal.c117 struct reiserfs_journal *journal = SB_JOURNAL(sb); in init_journal_hash() local
159 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_bitmap_node() local
183 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_bitmap_node() local
197 struct reiserfs_journal *journal = SB_JOURNAL(sb); in allocate_bitmap_nodes() local
260 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_bitmap_nodes() local
316 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_list_bitmap() local
372 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_cnode() local
399 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_cnode() local
465 struct reiserfs_journal *journal = SB_JOURNAL(sb); in reiserfs_in_journal() local
583 struct reiserfs_journal *journal = SB_JOURNAL(s); in journal_list_still_alive() local
[all …]
Dsuper.c723 struct reiserfs_journal *journal = SB_JOURNAL(s); in reiserfs_show_options() local
1438 struct reiserfs_journal *journal = SB_JOURNAL(s); in reiserfs_remount() local
/Linux-v5.4/fs/ocfs2/
Djournal.c298 struct ocfs2_journal *journal = NULL; in ocfs2_commit_cache() local
337 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() local
379 struct ocfs2_journal *journal = osb->journal; in ocfs2_commit_trans() local
783 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty() local
800 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() local
815 int ocfs2_journal_init(struct ocfs2_journal *journal, int *dirty) in ocfs2_journal_init()
923 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_toggle_dirty() local
958 struct ocfs2_journal *journal = NULL; in ocfs2_journal_shutdown() local
1035 journal_t *journal, in ocfs2_clear_journal_error()
1052 int ocfs2_journal_load(struct ocfs2_journal *journal, int local, int replayed) in ocfs2_journal_load()
[all …]
Djournal.h80 static inline void ocfs2_set_ci_lock_trans(struct ocfs2_journal *journal, in ocfs2_set_ci_lock_trans()
96 struct ocfs2_journal *journal = in ocfs2_ci_fully_checkpointed() local
112 struct ocfs2_journal *journal = in ocfs2_ci_is_new() local
Dinode.c130 journal_t *journal = OCFS2_SB(sb)->journal->j_journal; in ocfs2_iget() local
Dsuper.c2001 struct ocfs2_journal *journal; in ocfs2_initialize_super() local
Dfile.c173 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file() local
/Linux-v5.4/fs/ext4/
Dext4_jbd2.c44 journal_t *journal; in ext4_journal_check_start() local
70 journal_t *journal; in __ext4_journal_start_sb() local
Dfsync.c99 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_sync_file() local
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() local
1241 journal_t *journal = EXT4_SB(sb)->s_journal; in bdev_try_to_free_page() local
4715 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params()
4771 journal_t *journal; in ext4_get_journal() local
4794 journal_t *journal; in ext4_get_dev_journal() local
4889 journal_t *journal; in ext4_load_journal() local
5064 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() local
5091 journal_t *journal; in ext4_clear_journal_err() local
5128 journal_t *journal; in ext4_force_commit() local
[all …]
Dinode.c227 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode() local
3263 journal_t *journal; in ext4_bmap() local
3360 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in __ext4_journalled_invalidatepage() local
3383 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in ext4_releasepage() local
3398 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty() local
4815 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget() local
5447 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() local
6095 journal_t *journal; in ext4_change_inode_journal_flag() local
Dfsmap.c256 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev() local
Dext4_jbd2.h356 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
/Linux-v5.4/include/linux/
Djbd2.h1513 static inline int is_journal_aborted(journal_t *journal) in is_journal_aborted()
1555 static inline int jbd2_journal_has_csum_v2or3(journal_t *journal) in jbd2_journal_has_csum_v2or3()
1573 static inline int jbd2_space_needed(journal_t *journal) in jbd2_space_needed()
1582 static inline unsigned long jbd2_log_space_left(journal_t *journal) in jbd2_log_space_left()
1614 static inline u32 jbd2_chksum(journal_t *journal, u32 crc, in jbd2_chksum()
1636 static inline tid_t jbd2_get_latest_transaction(journal_t *journal) in jbd2_get_latest_transaction()
/Linux-v5.4/fs/f2fs/
Dnode.c521 struct f2fs_journal *journal = curseg->journal; in f2fs_get_node_info() local
2257 struct f2fs_journal *journal = curseg->journal; in scan_curseg_cache() local
2703 struct f2fs_journal *journal = curseg->journal; in remove_nats_in_journal() local
2793 struct f2fs_journal *journal = curseg->journal; in __flush_nat_entry_set() local
2871 struct f2fs_journal *journal = curseg->journal; in f2fs_flush_nat_entries() local
Dsegment.c3682 int f2fs_lookup_journal_in_cursum(struct f2fs_journal *journal, int type, in f2fs_lookup_journal_in_cursum()
3794 struct f2fs_journal *journal = curseg->journal; in remove_sits_in_journal() local
3821 struct f2fs_journal *journal = curseg->journal; in f2fs_flush_sit_entries() local
4108 struct f2fs_journal *journal = curseg->journal; in build_sit_entries() local

12