Lines Matching refs:EXT2_SB
172 static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) in EXT2_SB() function
186 #define EXT2_ADDR_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_addr_per_block_bits)
187 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size)
188 #define EXT2_FIRST_INO(s) (EXT2_SB(s)->s_first_ino)
196 #define EXT2_FRAG_SIZE(s) (EXT2_SB(s)->s_frag_size)
197 #define EXT2_FRAGS_PER_BLOCK(s) (EXT2_SB(s)->s_frags_per_block)
217 #define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
218 #define EXT2_DESC_PER_BLOCK(s) (EXT2_SB(s)->s_desc_per_block)
219 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
220 #define EXT2_DESC_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_desc_per_block_bits)
396 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \
512 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) )
514 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) )
516 ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) )
518 EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
520 EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
522 EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
524 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
526 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
528 EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask)
812 le32_to_cpu(EXT2_SB(sb)->s_es->s_first_data_block); in ext2_group_first_block_no()
818 struct ext2_sb_info *sbi = EXT2_SB(sb); in ext2_group_last_block_no()