/linux/fs/jbd2/ |
H A D | journal.c | 137 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 D | revoke.c | 131 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 D | checkpoint.c | 49 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() 317 int jbd2_cleanup_journal_tail(journal_t *journal) in jbd2_cleanup_journal_tail() 407 unsigned long jbd2_journal_shrink_checkpoint_list(journal_t *journal, in jbd2_journal_shrink_checkpoint_list() 489 void __jbd2_journal_clean_checkpoint_list(journal_t *journal, in __jbd2_journal_clean_checkpoint_list() 529 void jbd2_journal_destroy_checkpoint(journal_t *journal) in jbd2_journal_destroy_checkpoint() 569 journal_t *journal; in __jbd2_journal_remove_checkpoint() local 690 void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) in __jbd2_journal_drop_transaction()
|
/linux/drivers/md/bcache/ |
H A D | journal.h | 104 struct journal { struct 109 /* used when waiting because the journal was full */ argument 122 struct journal_write w[2], *cur; argument 126 * Embedded in struct cache. First three fields refer to the array of journal argument
|
H A D | btree.h | 106 atomic_t *journal; member
|
H A D | bcache.h | 472 struct journal_device journal; member 702 struct journal journal; member
|
/linux/drivers/md/dm-vdo/ |
H A D | slab-depot.c | 48 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() 147 static void mark_slab_journal_dirty(struct slab_journal *journal, sequence_number_t lock) in mark_slab_journal_dirty() 163 static void mark_slab_journal_clean(struct slab_journal *journal) in mark_slab_journal_clean() 172 struct slab_journal *journal = &slab->journal; in check_if_slab_drained() local 399 static void finish_reaping(struct slab_journal *journal) in finish_reaping() [all …]
|
H A D | repair.c | 714 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 D | recovery-journal.h | 122 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 D | block-map.h | 269 struct recovery_journal *journal; member
|
H A D | block-map.c | 2856 struct vdo *vdo, struct recovery_journal *journal, in vdo_decode_block_map() 2927 struct recovery_journal *journal) in vdo_initialize_block_map_from_journal() 3195 struct recovery_journal *journal = block_map->journal; in vdo_update_block_map_page() local
|
H A D | statistics.h | 230 struct recovery_journal_statistics journal; member
|
/linux/fs/ocfs2/ |
H A D | journal.c | 316 struct ocfs2_journal *journal = NULL; in ocfs2_commit_cache() local 355 journal_t *journal = osb->journal->j_journal; in ocfs2_start_trans() local 397 struct ocfs2_journal *journal = osb->journal; in ocfs2_commit_trans() local 838 journal_t *journal = handle->h_transaction->t_journal; in ocfs2_journal_dirty() local 857 journal_t *journal = osb->journal->j_journal; in ocfs2_set_journal_params() local 879 struct ocfs2_journal *journal; in ocfs2_journal_alloc() local 921 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_init() local 1025 struct ocfs2_journal *journal = osb->journal; in ocfs2_journal_toggle_dirty() local 1060 struct ocfs2_journal *journal = NULL; in ocfs2_journal_shutdown() local 1139 journal_t *journal, in ocfs2_clear_journal_error() [all …]
|
H A D | journal.h | 78 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
|
/linux/fs/bcachefs/ |
H A D | journal_sb.c | 22 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_validate() local 74 struct bch_sb_field_journal *journal = field_to_type(f, journal); in bch2_sb_journal_to_text() local 104 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_validate() local 175 struct bch_sb_field_journal_v2 *journal = field_to_type(f, journal_v2); in bch2_sb_journal_v2_to_text() local
|
H A D | btree_journal_iter.h | 25 struct journal_iter journal; member
|
H A D | btree_update_interior.h | 89 struct journal_entry_pin journal; member
|
H A D | btree_types.h | 57 struct journal_entry_pin journal; member 406 struct journal_entry_pin journal; member
|
/linux/include/linux/ |
H A D | jbd2.h | 1673 is_journal_aborted(journal_t * journal) is_journal_aborted() argument 1690 jbd2_init_fs_dev_write_error(journal_t * journal) jbd2_init_fs_dev_write_error() argument 1701 jbd2_check_fs_dev_write_error(journal_t * journal) jbd2_check_fs_dev_write_error() argument 1729 jbd2_journal_has_csum_v2or3(journal_t * journal) jbd2_journal_has_csum_v2or3() argument 1745 jbd2_log_space_left(journal_t * journal) jbd2_log_space_left() argument 1769 jbd2_chksum(journal_t * journal,u32 crc,const void * address,unsigned int length) jbd2_chksum() argument 1776 jbd2_get_latest_transaction(journal_t * journal) jbd2_get_latest_transaction() argument 1790 journal_t *journal; jbd2_handle_buffer_credits() local [all...] |
/linux/fs/ext4/ |
H A D | fsync.c | 101 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal() local
|
H A D | super.c | 466 journal_t *journal = sbi->s_journal; in ext4_maybe_update_superblock() local 499 static void ext4_journal_commit_callback(journal_t *journal, transaction_t *txn) in ext4_journal_commit_callback() 684 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error() local 739 journal_t *journal = sbi->s_journal; in update_super_work() local 5764 static void ext4_init_journal_params(struct super_block *sb, journal_t *journal) in ext4_init_journal_params() 5818 static int ext4_journal_bmap(journal_t *journal, sector_t *block) in ext4_journal_bmap() 5844 journal_t *journal; in ext4_open_inode_journal() local 5944 journal_t *journal; in ext4_open_dev_journal() local 5984 journal_t *journal; in ext4_load_journal() local 6244 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_mark_recovery_complete() local [all …]
|
H A D | block_validity.c | 354 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_check_blockref() local
|
H A D | inode.c | 384 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in __check_block_validity() local 3354 journal_t *journal = EXT4_JOURNAL(folio->mapping->host); in __ext4_journalled_invalidate_folio() local 3378 journal_t *journal = EXT4_JOURNAL(inode); in ext4_release_folio() local 3393 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty() local 5135 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget() local 5696 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit() local 6465 journal_t *journal; in ext4_change_inode_journal_flag() local
|
/linux/fs/f2fs/ |
H A D | node.c | 551 struct f2fs_journal *journal = curseg->journal; in f2fs_get_node_info() local 2436 struct f2fs_journal *journal = curseg->journal; in scan_curseg_cache() local 2905 struct f2fs_journal *journal = curseg->journal; in remove_nats_in_journal() local 2998 struct f2fs_journal *journal = curseg->journal; in __flush_nat_entry_set() local 3076 struct f2fs_journal *journal = curseg->journal; in f2fs_flush_nat_entries() local
|
H A D | segment.c | 4499 int f2fs_lookup_journal_in_cursum(struct f2fs_journal *journal, int type, in f2fs_lookup_journal_in_cursum() 4614 struct f2fs_journal *journal = curseg->journal; in remove_sits_in_journal() local 4641 struct f2fs_journal *journal = curseg->journal; in f2fs_flush_sit_entries() local 4934 struct f2fs_journal *journal = curseg->journal; in build_sit_entries() local
|