• Home
  • Raw
  • Download

Lines Matching refs:super

22 	return (blk - fs->super->s_first_data_block) /  in ext2fs_group_of_blk2()
23 fs->super->s_blocks_per_group; in ext2fs_group_of_blk2()
31 return fs->super->s_first_data_block + in ext2fs_group_first_block2()
32 EXT2_GROUPS_TO_BLOCKS(fs->super, group); in ext2fs_group_first_block2()
41 ext2fs_blocks_count(fs->super) - 1 : in ext2fs_group_last_block2()
43 (fs->super->s_blocks_per_group - 1)); in ext2fs_group_last_block2()
54 num_blocks = (ext2fs_blocks_count(fs->super) - in ext2fs_group_blocks_count()
55 fs->super->s_first_data_block) % in ext2fs_group_blocks_count()
56 fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
58 num_blocks = fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
60 num_blocks = fs->super->s_blocks_per_group; in ext2fs_group_blocks_count()
72 (ext2fs_has_feature_huge_file(fs->super) ? in ext2fs_inode_data_blocks2()
74 (inode->i_file_acl ? EXT2_CLUSTER_SIZE(fs->super) >> 9 : 0); in ext2fs_inode_data_blocks2()
84 (ext2fs_has_feature_huge_file(fs->super) ? in ext2fs_inode_i_blocks()
96 if (ext2fs_has_feature_huge_file(fs->super)) { in ext2fs_get_stat_i_blocks()
107 blk64_t ext2fs_blocks_count(struct ext2_super_block *super) in ext2fs_blocks_count() argument
109 return super->s_blocks_count | in ext2fs_blocks_count()
110 (ext2fs_has_feature_64bit(super) ? in ext2fs_blocks_count()
111 (__u64) super->s_blocks_count_hi << 32 : 0); in ext2fs_blocks_count()
117 void ext2fs_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_set() argument
119 super->s_blocks_count = blk; in ext2fs_blocks_count_set()
120 if (ext2fs_has_feature_64bit(super)) in ext2fs_blocks_count_set()
121 super->s_blocks_count_hi = (__u64) blk >> 32; in ext2fs_blocks_count_set()
127 void ext2fs_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_add() argument
130 tmp = ext2fs_blocks_count(super) + blk; in ext2fs_blocks_count_add()
131 ext2fs_blocks_count_set(super, tmp); in ext2fs_blocks_count_add()
137 blk64_t ext2fs_r_blocks_count(struct ext2_super_block *super) in ext2fs_r_blocks_count() argument
139 return super->s_r_blocks_count | in ext2fs_r_blocks_count()
140 (ext2fs_has_feature_64bit(super) ? in ext2fs_r_blocks_count()
141 (__u64) super->s_r_blocks_count_hi << 32 : 0); in ext2fs_r_blocks_count()
147 void ext2fs_r_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_r_blocks_count_set() argument
149 super->s_r_blocks_count = blk; in ext2fs_r_blocks_count_set()
150 if (ext2fs_has_feature_64bit(super)) in ext2fs_r_blocks_count_set()
151 super->s_r_blocks_count_hi = (__u64) blk >> 32; in ext2fs_r_blocks_count_set()
157 void ext2fs_r_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_r_blocks_count_add() argument
160 tmp = ext2fs_r_blocks_count(super) + blk; in ext2fs_r_blocks_count_add()
161 ext2fs_r_blocks_count_set(super, tmp); in ext2fs_r_blocks_count_add()
167 blk64_t ext2fs_free_blocks_count(struct ext2_super_block *super) in ext2fs_free_blocks_count() argument
169 return super->s_free_blocks_count | in ext2fs_free_blocks_count()
170 (ext2fs_has_feature_64bit(super) ? in ext2fs_free_blocks_count()
171 (__u64) super->s_free_blocks_hi << 32 : 0); in ext2fs_free_blocks_count()
177 void ext2fs_free_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_free_blocks_count_set() argument
179 super->s_free_blocks_count = blk; in ext2fs_free_blocks_count_set()
180 if (ext2fs_has_feature_64bit(super)) in ext2fs_free_blocks_count_set()
181 super->s_free_blocks_hi = (__u64) blk >> 32; in ext2fs_free_blocks_count_set()
187 void ext2fs_free_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_free_blocks_count_add() argument
190 tmp = ext2fs_free_blocks_count(super) + blk; in ext2fs_free_blocks_count_add()
191 ext2fs_free_blocks_count_set(super, tmp); in ext2fs_free_blocks_count_add()
209 int desc_size = EXT2_DESC_SIZE(fs->super) & ~7; in ext2fs_group_desc()
210 int desc_per_blk = EXT2_DESC_PER_BLOCK(fs->super); in ext2fs_group_desc()
229 blk = ext2fs_descriptor_block_loc2(fs, fs->super->s_first_data_block, in ext2fs_group_desc()
260 if (EXT2_DESC_SIZE(fs->super) >= EXT4_BG_BLOCK_BITMAP_CSUM_HI_LOCATION) in ext2fs_block_bitmap_checksum()
274 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_block_bitmap_loc()
287 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_block_bitmap_loc_set()
301 if (EXT2_DESC_SIZE(fs->super) >= EXT4_BG_INODE_BITMAP_CSUM_HI_END) in ext2fs_inode_bitmap_checksum()
315 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_inode_bitmap_loc()
328 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_inode_bitmap_loc_set()
341 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_inode_table_loc()
354 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_inode_table_loc_set()
367 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_free_blocks_count()
381 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_free_blocks_count_set()
394 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_free_inodes_count()
407 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_free_inodes_count_set()
420 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_used_dirs_count()
433 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_used_dirs_count_set()
446 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_itable_unused()
459 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_itable_unused_set()
551 if (fs && ext2fs_has_feature_64bit(fs->super)) in ext2fs_file_acl_block()
563 if (fs && ext2fs_has_feature_64bit(fs->super)) in ext2fs_file_acl_block_set()
581 if (!ext2fs_has_feature_large_file(fs->super)) { in ext2fs_inode_size_set()
582 ext2fs_set_feature_large_file(fs->super); in ext2fs_inode_size_set()
586 if (!ext2fs_has_feature_largedir(fs->super)) { in ext2fs_inode_size_set()
587 ext2fs_set_feature_largedir(fs->super); in ext2fs_inode_size_set()
595 if (fs->super->s_rev_level == EXT2_GOOD_OLD_REV) in ext2fs_inode_size_set()