Lines Matching refs:EXT2_SB
73 static inline struct ext2_sb_info *EXT2_SB(struct super_block *sb) in EXT2_SB() function
81 #define EXT2_SB(sb) (sb) macro
107 #define EXT2_ADDR_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_addr_per_block_bits)
108 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size)
109 #define EXT2_FIRST_INO(s) (EXT2_SB(s)->s_first_ino)
126 # define EXT2_FRAG_SIZE(s) (EXT2_SB(s)->s_frag_size)
127 # define EXT2_FRAGS_PER_BLOCK(s) (EXT2_SB(s)->s_frags_per_block)
152 # define EXT2_BLOCKS_PER_GROUP(s) (EXT2_SB(s)->s_blocks_per_group)
153 # define EXT2_DESC_PER_BLOCK(s) (EXT2_SB(s)->s_desc_per_block)
154 # define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group)
155 # define EXT2_DESC_PER_BLOCK_BITS(s) (EXT2_SB(s)->s_desc_per_block_bits)
322 #define test_opt(sb, opt) (EXT2_SB(sb)->s_mount_opt & \
438 ( EXT2_SB(sb)->s_es->s_feature_compat & cpu_to_le32(mask) )
440 ( EXT2_SB(sb)->s_es->s_feature_ro_compat & cpu_to_le32(mask) )
442 ( EXT2_SB(sb)->s_es->s_feature_incompat & cpu_to_le32(mask) )
444 EXT2_SB(sb)->s_es->s_feature_compat |= cpu_to_le32(mask)
446 EXT2_SB(sb)->s_es->s_feature_ro_compat |= cpu_to_le32(mask)
448 EXT2_SB(sb)->s_es->s_feature_incompat |= cpu_to_le32(mask)
450 EXT2_SB(sb)->s_es->s_feature_compat &= ~cpu_to_le32(mask)
452 EXT2_SB(sb)->s_es->s_feature_ro_compat &= ~cpu_to_le32(mask)
454 EXT2_SB(sb)->s_es->s_feature_incompat &= ~cpu_to_le32(mask)