Home
last modified time | relevance | path

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

12

/linux/drivers/md/dm-vdo/
H A Drecovery-journal.c67 static inline atomic_t *get_zone_count_ptr(struct recovery_journal *journal, in get_zone_count_ptr()
85 static inline u16 *get_counter(struct recovery_journal *journal, in get_counter()
101 static atomic_t *get_decrement_counter(struct recovery_journal *journal, in get_decrement_counter()
114 static bool is_journal_zone_locked(struct recovery_journal *journal, in is_journal_zone_locked()
138 void vdo_release_recovery_journal_block_reference(struct recovery_journal *journal, in vdo_release_recovery_journal_block_reference()
200 static struct recovery_journal_block * __must_check pop_free_list(struct recovery_journal *journal) in pop_free_list()
254 static void assert_on_journal_thread(struct recovery_journal *journal, in assert_on_journal_thread()
280 static inline bool has_block_waiters(struct recovery_journal *journal) in has_block_waiters()
321 static inline bool is_read_only(struct recovery_journal *journal) in is_read_only()
330 static void check_for_drain_complete(struct recovery_journal *journal) in check_for_drain_complete()
[all …]
H A Dslab-depot.c48 static inline struct journal_lock * __must_check get_lock(struct slab_journal *journal, in get_lock()
66 static inline bool __must_check must_make_entries_to_flush(struct slab_journal *journal) in must_make_entries_to_flush()
78 static inline bool __must_check is_reaping(struct slab_journal *journal) in is_reaping()
87 static void initialize_tail_block(struct slab_journal *journal) in initialize_tail_block()
100 static void initialize_journal_state(struct slab_journal *journal) in initialize_journal_state()
115 static bool __must_check block_is_full(struct slab_journal *journal) in block_is_full()
148 static void mark_slab_journal_dirty(struct slab_journal *journal, sequence_number_t lock) in mark_slab_journal_dirty()
164 static void mark_slab_journal_clean(struct slab_journal *journal) in mark_slab_journal_clean()
173 struct slab_journal *journal = &slab->journal; in check_if_slab_drained() local
401 static void finish_reaping(struct slab_journal *journal) in finish_reaping()
[all …]
H A Drepair.c714 static struct packed_journal_sector * __must_check get_sector(struct recovery_journal *journal, in get_sector()
798 struct recovery_journal *journal = vdo->recovery_journal; in add_slab_journal_entries() local
1161 get_recovery_journal_block_header(struct recovery_journal *journal, char *data, in get_recovery_journal_block_header()
1183 static bool __must_check is_valid_recovery_journal_block(const struct recovery_journal *journal, in is_valid_recovery_journal_block()
1208 static bool __must_check is_exact_recovery_journal_block(const struct recovery_journal *journal, in is_exact_recovery_journal_block()
1224 struct recovery_journal *journal = repair->completion.vdo->recovery_journal; in find_recovery_journal_head_and_tail() local
1361 struct recovery_journal *journal, in extract_entries_from_block()
1407 struct recovery_journal *journal = vdo->recovery_journal; in parse_journal_for_rebuild() local
1518 struct recovery_journal *journal = vdo->recovery_journal; in compute_usages() local
1557 struct recovery_journal *journal = repair->completion.vdo->recovery_journal; in parse_journal_for_recovery() local
[all …]
H A Drecovery-journal.h122 struct recovery_journal *journal; member
229 vdo_get_recovery_journal_block_number(const struct recovery_journal *journal, in vdo_get_recovery_journal_block_number()
247 vdo_compute_recovery_journal_check_byte(const struct recovery_journal *journal, in vdo_compute_recovery_journal_check_byte()
H A Dblock-map.h269 struct recovery_journal *journal; member
H A Dblock-map.c2888 struct vdo *vdo, struct recovery_journal *journal, in vdo_decode_block_map()
2959 struct recovery_journal *journal) in vdo_initialize_block_map_from_journal()
3230 struct recovery_journal *journal = block_map->journal; in vdo_update_block_map_page() local
H A Dstatistics.h230 struct recovery_journal_statistics journal; member
H A Dvdo.c1506 struct recovery_journal *journal = vdo->recovery_journal; in get_vdo_statistics() local
H A Dslab-depot.h222 struct slab_journal journal; member
/linux/fs/jbd2/
H A Djournal.c137 journal_t *journal = timer_container_of(journal, t, j_commit_timer); in commit_timeout() local
162 journal_t *journal = arg; in kjournald2() local
257 static int jbd2_journal_start_thread(journal_t *journal) in jbd2_journal_start_thread()
270 static void journal_kill_thread(journal_t *journal) in journal_kill_thread()
335 journal_t *journal = transaction->t_journal; in jbd2_journal_write_metadata_buffer() local
445 static int __jbd2_log_start_commit(journal_t *journal, tid_t target) in __jbd2_log_start_commit()
482 int jbd2_log_start_commit(journal_t *journal, tid_t tid) in jbd2_log_start_commit()
499 static int __jbd2_journal_force_commit(journal_t *journal) in __jbd2_journal_force_commit()
539 int jbd2_journal_force_commit_nested(journal_t *journal) in jbd2_journal_force_commit_nested()
554 int jbd2_journal_force_commit(journal_t *journal) in jbd2_journal_force_commit()
[all …]
H A Dtransaction.c80 static void jbd2_get_transaction(journal_t *journal, in jbd2_get_transaction()
138 static void wait_transaction_locked(journal_t *journal) in wait_transaction_locked()
161 static void wait_transaction_switching(journal_t *journal) in wait_transaction_switching()
184 static void sub_reserved_credits(journal_t *journal, int blocks) in sub_reserved_credits()
191 static int jbd2_max_user_trans_buffers(journal_t *journal) in jbd2_max_user_trans_buffers()
208 static int add_transaction_credits(journal_t *journal, int blocks, in add_transaction_credits()
312 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
466 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start()
538 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start()
546 journal_t *journal = handle->h_journal; in __jbd2_journal_unreserve_handle() local
[all …]
H A 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
428 journal_t *journal = handle->h_transaction->t_journal; in jbd2_journal_cancel_revoke() local
484 void jbd2_clear_buffer_revoked_flags(journal_t *journal) in jbd2_clear_buffer_revoked_flags()
513 void jbd2_journal_switch_revoke_table(journal_t *journal) in jbd2_journal_switch_revoke_table()
533 journal_t *journal = transaction->t_journal; in jbd2_journal_write_revoke_records() local
[all …]
H A Dcheckpoint.c49 void __jbd2_log_wait_for_space(journal_t *journal) in __jbd2_log_wait_for_space()
127 __flush_batch(journal_t *journal, int *batch_count) in __flush_batch()
154 int jbd2_log_do_checkpoint(journal_t *journal) in jbd2_log_do_checkpoint()
326 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail()
419 unsigned long jbd2_journal_shrink_checkpoint_list(journal_t *journal, in jbd2_journal_shrink_checkpoint_list()
501 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, in __jbd2_journal_clean_checkpoint_list()
541 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint()
581 journal_t *journal; in __jbd2_journal_remove_checkpoint() local
702 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
/linux/fs/ocfs2/
H A Djournal.c313 struct ocfs2_journal *journal = NULL; in ocfs2_commit_cache() local
352 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() local
394 struct ocfs2_journal *journal = osb->journal; in ocfs2_commit_trans() local
835 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty() local
854 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() local
876 struct ocfs2_journal *journal; in ocfs2_journal_alloc() local
911 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_init() local
1015 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_toggle_dirty() local
1050 struct ocfs2_journal *journal = NULL; in ocfs2_journal_shutdown() local
1129 journal_t *journal, in ocfs2_clear_journal_error()
[all …]
H A Djournal.h78 static inline void ocfs2_set_ci_lock_trans(struct ocfs2_journal *journal, in ocfs2_set_ci_lock_trans()
94 struct ocfs2_journal *journal = in ocfs2_ci_fully_checkpointed() local
110 struct ocfs2_journal *journal = in ocfs2_ci_is_new() local
H A Dfile.c172 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file() local
/linux/fs/ext4/
H A Dfast_commit.c970 static int ext4_fc_flush_data(journal_t *journal) in ext4_fc_flush_data()
993 static int ext4_fc_commit_dentry_updates(journal_t *journal, u32 *crc) in ext4_fc_commit_dentry_updates()
1042 static int ext4_fc_perform_commit(journal_t *journal) in ext4_fc_perform_commit()
1201 int ext4_fc_commit(journal_t *journal, tid_t commit_tid) in ext4_fc_commit()
1291 static void ext4_fc_cleanup(journal_t *journal, int full, tid_t tid) in ext4_fc_cleanup()
2074 static int ext4_fc_replay_scan(journal_t *journal, in ext4_fc_replay_scan()
2197 static int ext4_fc_replay(journal_t *journal, struct buffer_head *bh, in ext4_fc_replay()
2289 void ext4_fc_init(struct super_block *sb, journal_t *journal) in ext4_fc_init()
H A Dext4_jbd2.c67 journal_t *journal; in ext4_journal_check_start() local
97 journal_t *journal; in __ext4_journal_start_sb() local
H A Dfsync.c113 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal() local
H A Dsuper.c476 journal_t *journal = sbi->s_journal; in ext4_maybe_update_superblock() local
509 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback()
694 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() local
749 journal_t *journal = sbi->s_journal; in update_super_work() local
5856 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params()
5910 static int ext4_journal_bmap(journal_t *journal, sector_t *block) in ext4_journal_bmap()
5936 journal_t *journal; in ext4_open_inode_journal() local
6036 journal_t *journal; in ext4_open_dev_journal() local
6076 journal_t *journal; in ext4_load_journal() local
6337 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() local
[all …]
H A Dblock_validity.c354 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_check_blockref() local
H A Dinode.c395 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in __check_block_validity() local
3399 journal_t *journal = EXT4_JOURNAL(folio->mapping->host); in __ext4_journalled_invalidate_folio() local
3423 journal_t *journal = EXT4_JOURNAL(inode); in ext4_release_folio() local
3438 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty() local
5142 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget() local
5730 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() local
6501 journal_t *journal; in ext4_change_inode_journal_flag() local
H A Dfsmap.c313 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev() local
/linux/drivers/md/bcache/
H A Dbtree.h106 atomic_t *journal; member
H A Dbcache.h471 struct journal_device journal; member
702 struct journal journal; member

12