Lines Matching refs:EXT4_SB

342 					 EXT4_SB(s)->s_cluster_bits)
345 # define EXT4_CLUSTER_BITS(s) (EXT4_SB(s)->s_cluster_bits)
350 #define EXT4_ADDR_PER_BLOCK_BITS(s) (EXT4_SB(s)->s_addr_per_block_bits)
351 #define EXT4_INODE_SIZE(s) (EXT4_SB(s)->s_inode_size)
352 #define EXT4_FIRST_INO(s) (EXT4_SB(s)->s_first_ino)
444 #define EXT4_DESC_SIZE(s) (EXT4_SB(s)->s_desc_size)
446 # define EXT4_BLOCKS_PER_GROUP(s) (EXT4_SB(s)->s_blocks_per_group)
447 # define EXT4_CLUSTERS_PER_GROUP(s) (EXT4_SB(s)->s_clusters_per_group)
448 # define EXT4_DESC_PER_BLOCK(s) (EXT4_SB(s)->s_desc_per_block)
449 # define EXT4_INODES_PER_GROUP(s) (EXT4_SB(s)->s_inodes_per_group)
450 # define EXT4_DESC_PER_BLOCK_BITS(s) (EXT4_SB(s)->s_desc_per_block_bits)
1243 #define clear_opt(sb, opt) EXT4_SB(sb)->s_mount_opt &= \
1245 #define set_opt(sb, opt) EXT4_SB(sb)->s_mount_opt |= \
1247 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \
1250 #define clear_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 &= \
1252 #define set_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 |= \
1254 #define test_opt2(sb, opt) (EXT4_SB(sb)->s_mount_opt2 & \
1745 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB() function
1756 percpu_down_read(&EXT4_SB(sb)->s_writepages_rwsem); in ext4_writepages_down_read()
1763 percpu_up_read(&EXT4_SB(sb)->s_writepages_rwsem); in ext4_writepages_up_read()
1768 percpu_down_write(&EXT4_SB(sb)->s_writepages_rwsem); in ext4_writepages_down_write()
1775 percpu_up_write(&EXT4_SB(sb)->s_writepages_rwsem); in ext4_writepages_up_write()
1782 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum()
1812 set_bit(bit, &EXT4_SB(sb)->s_mount_flags); in ext4_set_mount_flag()
1817 clear_bit(bit, &EXT4_SB(sb)->s_mount_flags); in ext4_clear_mount_flag()
1822 return test_bit(bit, &EXT4_SB(sb)->s_mount_flags); in ext4_test_mount_flag()
1842 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_simulate_fail()
1949 #define EXT4_SB(sb) (sb) macro
2049 return ((EXT4_SB(sb)->s_es->s_feature_compat & \
2055 EXT4_SB(sb)->s_es->s_feature_compat |= \
2060 EXT4_SB(sb)->s_es->s_feature_compat &= \
2067 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \
2073 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \
2078 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \
2085 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \
2091 EXT4_SB(sb)->s_es->s_feature_incompat |= \
2096 EXT4_SB(sb)->s_es->s_feature_incompat &= \
2190 return ((EXT4_SB(sb)->s_es->s_feature_compat & \ in EXT4_FEATURE_COMPAT_FUNCS()
2195 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \
2200 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \
2210 return (EXT4_SB(sb)->s_es->s_feature_compat != 0);
2214 return (EXT4_SB(sb)->s_es->s_feature_ro_compat != 0); in ext4_has_ro_compat_features()
2218 return (EXT4_SB(sb)->s_es->s_feature_incompat != 0); in ext4_has_incompat_features()
2232 return test_bit(EXT4_FLAGS_SHUTDOWN, &EXT4_SB(sb)->s_ext4_flags); in ext4_forced_shutdown()
2547 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_group_first_block_no()
3256 !EXT4_SB(sb)->s_chksum_driver); in ext4_has_metadata_csum()
3259 (EXT4_SB(sb)->s_chksum_driver != NULL); in ext4_has_metadata_csum()
3332 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count()
3453 return bgl_lock_ptr(EXT4_SB(sb)->s_blockgroup_lock, group); in ext4_group_lock_ptr()
3473 atomic_add_unless(&EXT4_SB(sb)->s_lock_busy, -1, 0); in ext4_lock_group()
3479 atomic_add_unless(&EXT4_SB(sb)->s_lock_busy, 1, in ext4_lock_group()
3499 struct ext4_sb_info *sbi = EXT4_SB(sb); in ext4_is_quota_journalled()