Lines Matching refs:EXT4_SB

60 	struct ext4_sb_info *sbi = EXT4_SB(sb);  in ext4_update_primary_sb()
195 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_update_superblocks_fn()
340 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_reset_inode_seed()
745 EXT4_SB(sb)->s_want_extra_isize, in ext4_ioctl_setproject()
799 struct ext4_sb_info *sbi = EXT4_SB(sb); 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()
1089 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_checkpoint()
1090 err = jbd2_journal_flush(EXT4_SB(sb)->s_journal, flush_flags); in ext4_ioctl_checkpoint()
1091 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in ext4_ioctl_checkpoint()
1307 err = ext4_group_extend(sb, EXT4_SB(sb)->s_es, n_blocks_count); in __ext4_ioctl()
1308 if (EXT4_SB(sb)->s_journal) { in __ext4_ioctl()
1309 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
1310 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in __ext4_ioctl()
1311 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
1436 ext4_group_t o_group = EXT4_SB(sb)->s_groups_count; in __ext4_ioctl()
1452 if (EXT4_SB(sb)->s_journal) { in __ext4_ioctl()
1454 jbd2_journal_lock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
1455 err2 = jbd2_journal_flush(EXT4_SB(sb)->s_journal, 0); in __ext4_ioctl()
1456 jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal); in __ext4_ioctl()
1461 if (!err && (o_group < EXT4_SB(sb)->s_groups_count) && in __ext4_ioctl()
1601 return ext4_ioctl_getlabel(EXT4_SB(sb), (void __user *)arg); in __ext4_ioctl()
1608 return ext4_ioctl_getuuid(EXT4_SB(sb), (void __user *)arg); in __ext4_ioctl()
1705 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_update_overhead()