Lines Matching refs:EXT4_SB

269 					 EXT4_SB(s)->s_cluster_bits)
272 # define EXT4_CLUSTER_BITS(s) (EXT4_SB(s)->s_cluster_bits)
277 #define EXT4_ADDR_PER_BLOCK_BITS(s) (EXT4_SB(s)->s_addr_per_block_bits)
278 #define EXT4_INODE_SIZE(s) (EXT4_SB(s)->s_inode_size)
279 #define EXT4_FIRST_INO(s) (EXT4_SB(s)->s_first_ino)
368 #define EXT4_DESC_SIZE(s) (EXT4_SB(s)->s_desc_size)
370 # define EXT4_BLOCKS_PER_GROUP(s) (EXT4_SB(s)->s_blocks_per_group)
371 # define EXT4_CLUSTERS_PER_GROUP(s) (EXT4_SB(s)->s_clusters_per_group)
372 # define EXT4_DESC_PER_BLOCK(s) (EXT4_SB(s)->s_desc_per_block)
373 # define EXT4_INODES_PER_GROUP(s) (EXT4_SB(s)->s_inodes_per_group)
374 # define EXT4_DESC_PER_BLOCK_BITS(s) (EXT4_SB(s)->s_desc_per_block_bits)
1163 #define clear_opt(sb, opt) EXT4_SB(sb)->s_mount_opt &= \
1165 #define set_opt(sb, opt) EXT4_SB(sb)->s_mount_opt |= \
1167 #define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \
1170 #define clear_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 &= \
1172 #define set_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 |= \
1174 #define test_opt2(sb, opt) (EXT4_SB(sb)->s_mount_opt2 & \
1533 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB() function
1546 ino <= le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)); in ext4_valid_inum()
1628 #define EXT4_SB(sb) (sb) macro
1708 return ((EXT4_SB(sb)->s_es->s_feature_compat & \
1714 EXT4_SB(sb)->s_es->s_feature_compat |= \
1719 EXT4_SB(sb)->s_es->s_feature_compat &= \
1726 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \
1732 EXT4_SB(sb)->s_es->s_feature_ro_compat |= \
1737 EXT4_SB(sb)->s_es->s_feature_ro_compat &= \
1744 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \
1750 EXT4_SB(sb)->s_es->s_feature_incompat |= \
1755 EXT4_SB(sb)->s_es->s_feature_incompat &= \
1839 return ((EXT4_SB(sb)->s_es->s_feature_compat & \ in EXT4_FEATURE_COMPAT_FUNCS()
1844 return ((EXT4_SB(sb)->s_es->s_feature_ro_compat & \
1849 return ((EXT4_SB(sb)->s_es->s_feature_incompat & \
1859 return (EXT4_SB(sb)->s_es->s_feature_compat != 0);
1863 return (EXT4_SB(sb)->s_es->s_feature_ro_compat != 0); in ext4_has_ro_compat_features()
1867 return (EXT4_SB(sb)->s_es->s_feature_incompat != 0); in ext4_has_incompat_features()
2146 le32_to_cpu(EXT4_SB(sb)->s_es->s_first_data_block); in ext4_group_first_block_no()
2799 !EXT4_SB(sb)->s_chksum_driver); in ext4_has_metadata_csum()
2802 (EXT4_SB(sb)->s_chksum_driver != NULL); in ext4_has_metadata_csum()
2872 BUG_ON(group >= EXT4_SB(sb)->s_groups_count); in ext4_get_group_info()
2875 grp_info = sbi_array_rcu_deref(EXT4_SB(sb), s_group_info, indexv); in ext4_get_group_info()
2886 ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count; in ext4_get_groups_count()
2996 return bgl_lock_ptr(EXT4_SB(sb)->s_blockgroup_lock, group); in ext4_group_lock_ptr()
3016 atomic_add_unless(&EXT4_SB(sb)->s_lock_busy, -1, 0); in ext4_lock_group()
3022 atomic_add_unless(&EXT4_SB(sb)->s_lock_busy, 1, in ext4_lock_group()