Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ext4/
Dioctl.c825 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) { in ext4_shutdown()
827 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_shutdown()
832 if (sbi->s_journal && !is_journal_aborted(sbi->s_journal)) in ext4_shutdown()
833 jbd2_journal_abort(sbi->s_journal, -ESHUTDOWN); in ext4_shutdown()
947 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl_group_add()
948 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()
949 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in ext4_ioctl_group_add()
950 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()
1062 if (!EXT4_SB(sb)->s_journal) in ext4_ioctl_checkpoint()
1066 !bdev_max_discard_sectors(EXT4_SB(sb)->s_journal->j_dev)) in ext4_ioctl_checkpoint()
[all …]
Dsuper.c653 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error()
706 journal_t *journal = sbi->s_journal; in flush_stashed_error_work()
872 if (!sb || (EXT4_SB(sb)->s_journal && in ext4_decode_error()
873 EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT)) in ext4_decode_error()
1218 if (sbi->s_journal) { in ext4_put_super()
1219 aborted = is_journal_aborted(sbi->s_journal); in ext4_put_super()
1220 err = jbd2_journal_destroy(sbi->s_journal); in ext4_put_super()
1221 sbi->s_journal = NULL; in ext4_put_super()
2736 if (!sbi->s_journal) { in ext4_check_opt_consistency()
3042 if (!sbi->s_journal) in ext4_setup_super()
[all …]
Dfsync.c108 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_fsync_journal()
169 if (!sbi->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()
455 if (sbi->s_journal->j_flags & JBD2_FULL_COMMIT_ONGOING || in __track_dentry_update()
456 sbi->s_journal->j_flags & JBD2_FAST_COMMIT_ONGOING) in __track_dentry_update()
697 int bsize = sbi->s_journal->j_blocksize; in ext4_fc_reserve_space()
714 ret = jbd2_fc_get_buf(EXT4_SB(sb)->s_journal, &bh); in ext4_fc_reserve_space()
[all …]
Dext4_jbd2.c76 journal = EXT4_SB(sb)->s_journal; in ext4_journal_check_start()
102 journal = EXT4_SB(sb)->s_journal; in __ext4_journal_start_sb()
Dmove_extent.c410 if (*err == -EBUSY && retries++ < 4 && EXT4_SB(sb)->s_journal && in move_extent_per_page()
411 jbd2_journal_force_commit_nested(EXT4_SB(sb)->s_journal)) in move_extent_per_page()
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()
Dsysfs.c132 if (!sbi->s_journal) in journal_task_show()
135 task_pid_vnr(sbi->s_journal->j_task)); in journal_task_show()
Dballoc.c643 if (!sbi->s_journal) in ext4_should_retry_alloc()
670 (void) jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_should_retry_alloc()
Dext4_jbd2.h19 #define EXT4_JOURNAL(inode) (EXT4_SB((inode)->i_sb)->s_journal)
Dinode.c204 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode()
2870 if (ret == -ENOSPC && sbi->s_journal) { in ext4_writepages()
2876 jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_writepages()
3298 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_inode_datasync_dirty()
4147 if (ei->jinode || !EXT4_SB(inode->i_sb)->s_journal) in ext4_inode_attach_jinode()
4751 journal_t *journal = EXT4_SB(sb)->s_journal; in __ext4_iget()
5237 if (EXT4_SB(inode->i_sb)->s_journal) { in ext4_write_inode()
5252 err = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_write_inode()
5284 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()
996 if (!handle && sbi->s_journal && !(i_flags & EXT4_EA_INODE_FL)) { in __ext4_new_inode()
Dextents.c4762 if (file->f_flags & O_SYNC && EXT4_SB(inode->i_sb)->s_journal) { in ext4_fallocate()
4763 ret = ext4_fc_commit(EXT4_SB(inode->i_sb)->s_journal, in ext4_fallocate()
Dext4.h1560 struct journal_s *s_journal; member
Dxattr.c2444 if (!EXT4_SB(inode->i_sb)->s_journal) in ext4_xattr_set_credits()
/Linux-v6.1/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()