Lines Matching refs:EXT4_SB
93 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_reset_inode_seed()
502 EXT4_SB(sb)->s_want_extra_isize, in ext4_ioctl_setproject()
559 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_shutdown()
707 if (EXT4_SB(sb)->s_journal) { in ext4_ioctl_group_add()
708 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()
709 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in ext4_ioctl_group_add()
710 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_group_add()
823 if (!EXT4_SB(sb)->s_journal) in ext4_ioctl_checkpoint()
829 q = bdev_get_queue(EXT4_SB(sb)->s_journal->j_dev); in ext4_ioctl_checkpoint()
846 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_checkpoint()
847 err = jbd2_journal_flush(EXT4_SB(sb)->s_journal, flush_flags); in ext4_ioctl_checkpoint()
848 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_checkpoint()
935 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in __ext4_ioctl()
936 if (EXT4_SB(sb)->s_journal) { in __ext4_ioctl()
937 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
938 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in __ext4_ioctl()
939 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
1062 ext4_group_t o_group = EXT4_SB(sb)->s_groups_count; in __ext4_ioctl()
1078 if (EXT4_SB(sb)->s_journal) { in __ext4_ioctl()
1080 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
1081 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in __ext4_ioctl()
1082 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
1087 if (!err && (o_group < EXT4_SB(sb)->s_groups_count) && in __ext4_ioctl()
1143 struct ext4_sb_info *sbi = EXT4_SB(sb); in __ext4_ioctl()