Home
last modified time | relevance | path

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

12

/fs/jbd/
Djournal.c140 journal_t *journal = arg; in kjournald() local
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() local
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()
510 int journal_force_commit_nested(journal_t *journal) in journal_force_commit_nested()
538 int journal_start_commit(journal_t *journal, tid_t *ptid) in journal_start_commit()
569 int log_wait_commit(journal_t *journal, tid_t tid) in log_wait_commit()
[all …]
Drevoke.c133 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() local
426 journal_t *journal = handle->h_transaction->t_journal; in journal_cancel_revoke() local
484 void journal_clear_buffer_revoked_flags(journal_t *journal) in journal_clear_buffer_revoked_flags()
513 void journal_switch_revoke_table(journal_t *journal) in journal_switch_revoke_table()
530 void journal_write_revoke_records(journal_t *journal, in journal_write_revoke_records()
[all …]
Dtransaction.c49 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() local
389 journal_t *journal = transaction->t_journal; in journal_restart() local
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() local
787 journal_t *journal = transaction->t_journal; in journal_get_create_access() local
949 journal_t *journal = handle->h_transaction->t_journal; in journal_dirty_data() local
[all …]
Dcheckpoint.c122 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() local
753 void __journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __journal_drop_transaction()
Drecovery.c69 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()
206 #define wrap(journal, var) \ argument
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()
Dcommit.c105 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()
/fs/jbd2/
Djournal.c191 journal_t *journal = arg; in kjournald2() local
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() local
503 int __jbd2_log_start_commit(journal_t *journal, tid_t target) in __jbd2_log_start_commit()
540 int jbd2_log_start_commit(journal_t *journal, tid_t tid) in jbd2_log_start_commit()
557 static int __jbd2_journal_force_commit(journal_t *journal) in __jbd2_journal_force_commit()
595 int jbd2_journal_force_commit_nested(journal_t *journal) in jbd2_journal_force_commit_nested()
610 int jbd2_journal_force_commit(journal_t *journal) in jbd2_journal_force_commit()
626 int jbd2_journal_start_commit(journal_t *journal, tid_t *ptid) in jbd2_journal_start_commit()
[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()
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() local
494 journal_t *journal = handle->h_journal; in jbd2_journal_start_reserved() local
550 journal_t *journal; in jbd2_journal_extend() local
[all …]
Drevoke.c134 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() local
423 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke() local
481 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags()
510 void jbd2_journal_switch_revoke_table(journal_t *journal) in jbd2_journal_switch_revoke_table()
527 void jbd2_journal_write_revoke_records(journal_t *journal, in jbd2_journal_write_revoke_records()
[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()
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() local
645 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
Drecovery.c70 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()
201 static int count_tags(journal_t *journal, struct buffer_head *bh) in count_tags()
230 #define wrap(journal, var) \ argument
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()
420 static int do_one_pass(journal_t *journal, in do_one_pass()
837 static int scan_revoke_records(journal_t *journal, struct buffer_head *bh, in scan_revoke_records()
Dcommit.c119 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()
370 void jbd2_journal_commit_transaction(journal_t *journal) in jbd2_journal_commit_transaction()
/fs/reiserfs/
Djournal.c116 struct reiserfs_journal *journal = SB_JOURNAL(sb); in init_journal_hash() local
158 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_bitmap_node() local
182 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_bitmap_node() local
196 struct reiserfs_journal *journal = SB_JOURNAL(sb); in allocate_bitmap_nodes() local
259 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_bitmap_nodes() local
315 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_list_bitmap() local
370 struct reiserfs_journal *journal = SB_JOURNAL(sb); in get_cnode() local
397 struct reiserfs_journal *journal = SB_JOURNAL(sb); in free_cnode() local
463 struct reiserfs_journal *journal = SB_JOURNAL(sb); in reiserfs_in_journal() local
581 struct reiserfs_journal *journal = SB_JOURNAL(s); in journal_list_still_alive() local
[all …]
Dsuper.c675 struct reiserfs_journal *journal = SB_JOURNAL(s); in reiserfs_show_options() local
1381 struct reiserfs_journal *journal = SB_JOURNAL(s); in reiserfs_remount() local
/fs/ocfs2/
Djournal.c305 struct ocfs2_journal *journal = NULL; in ocfs2_commit_cache() local
344 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() local
386 struct ocfs2_journal *journal = osb->journal; in ocfs2_commit_trans() local
779 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() local
794 int ocfs2_journal_init(struct ocfs2_journal *journal, int *dirty) in ocfs2_journal_init()
902 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_toggle_dirty() local
937 struct ocfs2_journal *journal = NULL; in ocfs2_journal_shutdown() local
1017 journal_t *journal, in ocfs2_clear_journal_error()
1034 int ocfs2_journal_load(struct ocfs2_journal *journal, int local, int replayed) in ocfs2_journal_load()
1078 int ocfs2_journal_wipe(struct ocfs2_journal *journal, int full) in ocfs2_journal_wipe()
[all …]
Djournal.h94 static inline void ocfs2_set_ci_lock_trans(struct ocfs2_journal *journal, in ocfs2_set_ci_lock_trans()
110 struct ocfs2_journal *journal = in ocfs2_ci_fully_checkpointed() local
126 struct ocfs2_journal *journal = in ocfs2_ci_is_new() local
/fs/ext3/
Dsuper.c71 journal_t *journal; in ext3_journal_start_sb() local
169 journal_t *journal = EXT3_SB(sb)->s_journal; in ext3_handle_error() local
740 journal_t *journal = EXT3_SB(sb)->s_journal; in bdev_try_to_free_page() local
2152 static void ext3_init_journal_params(struct super_block *sb, journal_t *journal) in ext3_init_journal_params()
2178 journal_t *journal; in ext3_get_journal() local
2219 journal_t *journal; in ext3_get_dev_journal() local
2304 journal_t *journal; in ext3_load_journal() local
2395 journal_t *journal; in ext3_create_journal() local
2494 journal_t *journal = EXT3_SB(sb)->s_journal; in ext3_mark_recovery_complete() local
2518 journal_t *journal; in ext3_clear_journal_err() local
[all …]
Dfsync.c45 journal_t *journal = EXT3_SB(inode->i_sb)->s_journal; in ext3_sync_file() local
Dinode.c225 journal_t *journal = EXT3_SB(inode->i_sb)->s_journal; in ext3_evict_inode() local
1509 journal_t *journal; in ext3_bmap() local
1790 journal_t *journal = EXT3_JOURNAL(page->mapping->host); in ext3_invalidatepage() local
1805 journal_t *journal = EXT3_JOURNAL(page->mapping->host); in ext3_releasepage() local
2855 journal_t *journal = EXT3_SB(sb)->s_journal; in ext3_iget() local
3524 journal_t *journal; in ext3_change_inode_journal_flag() local
/fs/ext4/
Dext4_jbd2.c43 journal_t *journal; in ext4_journal_check_start() local
65 journal_t *journal; in __ext4_journal_start_sb() local
Dfsync.c92 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_sync_file() local
Dsuper.c353 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback()
394 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() local
1053 journal_t *journal = EXT4_SB(sb)->s_journal; in bdev_try_to_free_page() local
4395 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params()
4419 journal_t *journal; in ext4_get_journal() local
4462 journal_t *journal; in ext4_get_dev_journal() local
4557 journal_t *journal; in ext4_load_journal() local
4722 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() local
4750 journal_t *journal; in ext4_clear_journal_err() local
4787 journal_t *journal; in ext4_force_commit() local
[all …]
Dinode.c214 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode() local
2966 journal_t *journal; in ext4_bmap() local
3062 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in __ext4_journalled_invalidatepage() local
3085 journal_t *journal = EXT4_JOURNAL(page->mapping->host); in ext4_releasepage() local
4154 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_iget() local
4651 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() local
5178 journal_t *journal; in ext4_change_inode_journal_flag() local
Dext4_jbd2.h357 static inline int ext4_journal_force_commit(journal_t *journal) in ext4_journal_force_commit()
/fs/f2fs/
Dnode.c401 struct f2fs_journal *journal = curseg->journal; in get_node_info() local
1982 struct f2fs_journal *journal = curseg->journal; in scan_curseg_cache() local
2388 struct f2fs_journal *journal = curseg->journal; in remove_nats_in_journal() local
2478 struct f2fs_journal *journal = curseg->journal; in __flush_nat_entry_set() local
2556 struct f2fs_journal *journal = curseg->journal; in flush_nat_entries() local

12