Home
last modified time | relevance | path

Searched refs:s_journal (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/fs/ext4/
Dioctl.c821 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) { in ext4_force_shutdown()
823 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_force_shutdown()
828 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) in ext4_force_shutdown()
829 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_force_shutdown()
956 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl_group_add()
957 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()
958 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in ext4_ioctl_group_add()
959 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()
1071 if (!EXT4_SB(sb)->s_journal) in ext4_ioctl_checkpoint()
1075 !bdev_max_discard_sectors(EXT4_SB(sb)->s_journal->j_dev)) in ext4_ioctl_checkpoint()
[all …]
Dsuper.c456 journal_t *journal = sbi->s_journal; in ext4_maybe_update_superblock()
705 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error()
758 journal_t *journal = sbi->s_journal; in update_super_work()
933 if (!sb || (EXT4_SB(sb)->s_journal && in ext4_decode_error()
934 EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT)) in ext4_decode_error()
1314 if (sbi->s_journal) { in ext4_put_super()
1315 aborted = is_journal_aborted(sbi->s_journal); in ext4_put_super()
1316 err = jbd2_journal_destroy(sbi->s_journal); in ext4_put_super()
1317 sbi->s_journal = NULL; in ext4_put_super()
2802 if (!sbi->s_journal) { in ext4_check_opt_consistency()
[all …]
Dfsync.c101 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal()
150 if (!EXT4_SB(inode->i_sb)->s_journal) { in ext4_sync_file()
Dfast_commit.c350 read_lock(&sbi->s_journal->j_state_lock); in ext4_fc_mark_ineligible()
351 tid = sbi->s_journal->j_running_transaction ? in ext4_fc_mark_ineligible()
352 sbi->s_journal->j_running_transaction->t_tid : 0; in ext4_fc_mark_ineligible()
353 read_unlock(&sbi->s_journal->j_state_lock); in ext4_fc_mark_ineligible()
401 (sbi->s_journal->j_flags & JBD2_FULL_COMMIT_ONGOING || in ext4_fc_track_template()
402 sbi->s_journal->j_flags & JBD2_FAST_COMMIT_ONGOING) ? in ext4_fc_track_template()
464 if (sbi->s_journal->j_flags & JBD2_FULL_COMMIT_ONGOING || in __track_dentry_update()
465 sbi->s_journal->j_flags & JBD2_FAST_COMMIT_ONGOING) in __track_dentry_update()
694 int bsize = sbi->s_journal->j_blocksize; in ext4_fc_reserve_space()
707 ret = jbd2_fc_get_buf(EXT4_SB(sb)->s_journal, &bh); in ext4_fc_reserve_space()
[all …]
Dext4_jbd2.c77 journal = EXT4_SB(sb)->s_journal; in ext4_journal_check_start()
109 journal = EXT4_SB(sb)->s_journal; in __ext4_journal_start_sb()
Dmove_extent.c414 if (*err == -EBUSY && retries++ < 4 && EXT4_SB(sb)->s_journal && in move_extent_per_page()
415 jbd2_journal_force_commit_nested(EXT4_SB(sb)->s_journal)) in move_extent_per_page()
Dsysfs.c132 if (!sbi->s_journal) in journal_task_show()
135 task_pid_vnr(sbi->s_journal->j_task)); in journal_task_show()
Dorphan.c107 if (!sbi->s_journal || is_bad_inode(inode)) in ext4_orphan_add()
236 if (!sbi->s_journal && !(sbi->s_mount_state & EXT4_ORPHAN_FS)) in ext4_orphan_del()
Dext4_jbd2.h19 #define EXT4_JOURNAL(inode) (EXT4_SB((inode)->i_sb)->s_journal)
Dballoc.c685 if (!sbi->s_journal) in ext4_should_retry_alloc()
712 (void) jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_should_retry_alloc()
Dinode.c2592 ext4_fc_commit(sbi->s_journal, in ext4_do_writepages()
2723 if (ret == -ENOSPC && sbi->s_journal) { in ext4_do_writepages()
2729 jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_do_writepages()
3206 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty()
4055 if (ei->jinode || !EXT4_SB(inode->i_sb)->s_journal) in ext4_inode_attach_jinode()
4692 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget()
5189 if (EXT4_SB(inode->i_sb)->s_journal) { in ext4_write_inode()
5204 err = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_write_inode()
5236 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_wait_for_tail_page_commit()
Dpage-io.c231 WARN_ON(!io_end->handle && sbi->s_journal); in ext4_add_complete_io()
Dfsmap.c259 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_getfsmap_logdev()
Dialloc.c720 bool check_recently_deleted = EXT4_SB(sb)->s_journal == NULL; in find_inode_bit()
995 if (!handle && sbi->s_journal && !(i_flags & EXT4_EA_INODE_FL)) { in __ext4_new_inode()
Dextents.c4791 if (file->f_flags & O_SYNC && EXT4_SB(inode->i_sb)->s_journal) { in ext4_fallocate()
4792 ret = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_fallocate()
Dext4.h1531 struct journal_s *s_journal; member
Dxattr.c2506 if (!EXT4_SB(inode->i_sb)->s_journal) in ext4_xattr_set_credits()
/linux-6.6.21/fs/reiserfs/
Dreiserfs.h122 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_1st_block))
124 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))
126 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_dev))
128 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))
130 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_size))
132 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))
134 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_trans_max))
136 ((sbp)->s_v1.s_journal.jp_journal_trans_max = cpu_to_le32(v))
138 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_magic))
140 ((sbp)->s_v1.s_journal.jp_journal_magic = cpu_to_le32(v))
[all …]
Dprocfs.c68 #define JF( x ) ( r -> s_journal -> x )
312 struct journal_params *jp = &rs->s_v1.s_journal; in show_journal()
372 atomic_read(&r->s_journal->j_wcount), in show_journal()
Dsuper.c90 s = sbi->s_journal->j_work_sb; in flush_old_commits()