Home
last modified time | relevance | path

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

/fs/ext4/
Dioctl.c214 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl()
215 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl()
216 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); in ext4_ioctl()
217 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl()
300 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl()
301 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl()
302 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal); in ext4_ioctl()
303 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl()
390 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl()
391 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl()
[all …]
Dsuper.c307 journal = EXT4_SB(sb)->s_journal; in ext4_journal_start_sb()
476 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_handle_error()
586 if (!sb || (EXT4_SB(sb)->s_journal && in ext4_decode_error()
587 EXT4_SB(sb)->s_journal->j_flags & JBD2_ABORT)) in ext4_decode_error()
658 if (EXT4_SB(sb)->s_journal) in __ext4_abort()
659 jbd2_journal_abort(EXT4_SB(sb)->s_journal, -EIO); in __ext4_abort()
843 if (sbi->s_journal) { in ext4_put_super()
844 err = jbd2_journal_destroy(sbi->s_journal); in ext4_put_super()
845 sbi->s_journal = NULL; in ext4_put_super()
1078 journal_t *journal = EXT4_SB(sb)->s_journal; in bdev_try_to_free_page()
[all …]
Dfsync.c212 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_sync_file()
Dballoc.c509 !EXT4_SB(sb)->s_journal) in ext4_should_retry_alloc()
514 return jbd2_journal_force_commit_nested(EXT4_SB(sb)->s_journal); in ext4_should_retry_alloc()
Dfile.c193 if (sbi->s_journal && !ei->jinode && (filp->f_mode & FMODE_WRITE)) { in ext4_file_open()
Dext4_jbd2.h22 #define EXT4_JOURNAL(inode) (EXT4_SB((inode)->i_sb)->s_journal)
Dinode.c149 journal_t *journal = EXT4_SB(inode->i_sb)->s_journal; in ext4_evict_inode()
2326 if ((mpd.retval == -ENOSPC) && sbi->s_journal) { in ext4_da_writepages()
2331 jbd2_journal_force_commit_nested(sbi->s_journal); in ext4_da_writepages()
3655 journal_t *journal = EXT4_SB(sb)->s_journal; in ext4_iget()
4050 if (EXT4_SB(inode->i_sb)->s_journal) { in ext4_write_inode()
Dext4.h1180 struct journal_s *s_journal; member
2229 if (EXT4_SB(sb)->s_journal == NULL) in ext4_mark_super_dirty()
Dnamei.c2077 if (sbi->s_journal && !handle) in ext4_orphan_del()
/fs/ext3/
Dioctl.c217 journal_lock_updates(EXT3_SB(sb)->s_journal); in ext3_ioctl()
218 err2 = journal_flush(EXT3_SB(sb)->s_journal); in ext3_ioctl()
219 journal_unlock_updates(EXT3_SB(sb)->s_journal); in ext3_ioctl()
245 journal_lock_updates(EXT3_SB(sb)->s_journal); in ext3_ioctl()
246 err2 = journal_flush(EXT3_SB(sb)->s_journal); in ext3_ioctl()
247 journal_unlock_updates(EXT3_SB(sb)->s_journal); in ext3_ioctl()
Dsuper.c83 journal = EXT3_SB(sb)->s_journal; in ext3_journal_start_sb()
179 journal_t *journal = EXT3_SB(sb)->s_journal; in ext3_handle_error()
228 if (!sb || EXT3_SB(sb)->s_journal->j_flags & JFS_ABORT) in ext3_decode_error()
307 if (EXT3_SB(sb)->s_journal) in ext3_abort()
308 journal_abort(EXT3_SB(sb)->s_journal, -EIO); in ext3_abort()
425 err = journal_destroy(sbi->s_journal); in ext3_put_super()
426 sbi->s_journal = NULL; in ext3_put_super()
735 journal_t *journal = EXT3_SB(sb)->s_journal; in bdev_try_to_free_page()
1365 if (EXT3_SB(sb)->s_journal->j_inode == NULL) { in ext3_setup_super()
1368 bdevname(EXT3_SB(sb)->s_journal->j_dev, b)); in ext3_setup_super()
[all …]
Dfsync.c45 journal_t *journal = EXT3_SB(inode->i_sb)->s_journal; in ext3_sync_file()
Dext3.h665 struct journal_s * s_journal; member
1115 #define EXT3_JOURNAL(inode) (EXT3_SB((inode)->i_sb)->s_journal)
Dinode.c220 EXT3_SB(inode->i_sb)->s_journal && in ext3_evict_inode()
224 journal_t *journal = EXT3_SB(inode->i_sb)->s_journal; in ext3_evict_inode()
2891 journal_t *journal = EXT3_SB(sb)->s_journal; in ext3_iget()
Dballoc.c1468 return journal_force_commit_nested(EXT3_SB(sb)->s_journal); in ext3_should_retry_alloc()
/fs/reiserfs/
Dreiserfs.h96 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_1st_block))
98 ((sbp)->s_v1.s_journal.jp_journal_1st_block = cpu_to_le32(v))
100 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_dev))
102 ((sbp)->s_v1.s_journal.jp_journal_dev = cpu_to_le32(v))
104 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_size))
106 ((sbp)->s_v1.s_journal.jp_journal_size = cpu_to_le32(v))
108 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_trans_max))
110 ((sbp)->s_v1.s_journal.jp_journal_trans_max = cpu_to_le32(v))
112 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_magic))
114 ((sbp)->s_v1.s_journal.jp_journal_magic = cpu_to_le32(v))
[all …]
Dprocfs.c67 #define JF( x ) ( r -> s_journal -> x )
298 struct journal_params *jp = &rs->s_v1.s_journal; in show_journal()
359 atomic_read(&r->s_journal->j_wcount), in show_journal()