Lines Matching refs:EXT2_SB
166 static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) in EXT2_SB() function
181 #define EXT2_ADDR_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_addr_per_block_bits)
182 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size)
183 #define EXT2_FIRST_INO(s) (EXT2_SB(s)->s_first_ino)
203 #define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
204 #define EXT2_DESC_PER_BLOCK(s) (EXT2_SB(s)->s_desc_per_block)
205 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
206 #define EXT2_DESC_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_desc_per_block_bits)
391 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \
507 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) )
509 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) )
511 ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) )
513 EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
515 EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
517 EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
519 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
521 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
523 EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask)
821 le32_to_cpu(EXT2_SB(sb)->s_es->s_first_data_block); in ext2_group_first_block_no()