• 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()
91 blk64_t ext2fs_blocks_count(struct ext2_super_block *super) in ext2fs_blocks_count() argument
93 return super->s_blocks_count | in ext2fs_blocks_count()
94 (ext2fs_has_feature_64bit(super) ? in ext2fs_blocks_count()
95 (__u64) super->s_blocks_count_hi << 32 : 0); in ext2fs_blocks_count()
101 void ext2fs_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_set() argument
103 super->s_blocks_count = blk; in ext2fs_blocks_count_set()
104 if (ext2fs_has_feature_64bit(super)) in ext2fs_blocks_count_set()
105 super->s_blocks_count_hi = (__u64) blk >> 32; in ext2fs_blocks_count_set()
111 void ext2fs_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_add() argument
114 tmp = ext2fs_blocks_count(super) + blk; in ext2fs_blocks_count_add()
115 ext2fs_blocks_count_set(super, tmp); in ext2fs_blocks_count_add()
121 blk64_t ext2fs_r_blocks_count(struct ext2_super_block *super) in ext2fs_r_blocks_count() argument
123 return super->s_r_blocks_count | in ext2fs_r_blocks_count()
124 (ext2fs_has_feature_64bit(super) ? in ext2fs_r_blocks_count()
125 (__u64) super->s_r_blocks_count_hi << 32 : 0); in ext2fs_r_blocks_count()
131 void ext2fs_r_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_r_blocks_count_set() argument
133 super->s_r_blocks_count = blk; in ext2fs_r_blocks_count_set()
134 if (ext2fs_has_feature_64bit(super)) in ext2fs_r_blocks_count_set()
135 super->s_r_blocks_count_hi = (__u64) blk >> 32; in ext2fs_r_blocks_count_set()
141 void ext2fs_r_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_r_blocks_count_add() argument
144 tmp = ext2fs_r_blocks_count(super) + blk; in ext2fs_r_blocks_count_add()
145 ext2fs_r_blocks_count_set(super, tmp); in ext2fs_r_blocks_count_add()
151 blk64_t ext2fs_free_blocks_count(struct ext2_super_block *super) in ext2fs_free_blocks_count() argument
153 return super->s_free_blocks_count | in ext2fs_free_blocks_count()
154 (ext2fs_has_feature_64bit(super) ? in ext2fs_free_blocks_count()
155 (__u64) super->s_free_blocks_hi << 32 : 0); in ext2fs_free_blocks_count()
161 void ext2fs_free_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_free_blocks_count_set() argument
163 super->s_free_blocks_count = blk; in ext2fs_free_blocks_count_set()
164 if (ext2fs_has_feature_64bit(super)) in ext2fs_free_blocks_count_set()
165 super->s_free_blocks_hi = (__u64) blk >> 32; in ext2fs_free_blocks_count_set()
171 void ext2fs_free_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_free_blocks_count_add() argument
174 tmp = ext2fs_free_blocks_count(super) + blk; in ext2fs_free_blocks_count_add()
175 ext2fs_free_blocks_count_set(super, tmp); in ext2fs_free_blocks_count_add()
188 int desc_size = EXT2_DESC_SIZE(fs->super) & ~7; in ext2fs_group_desc()
211 if (EXT2_DESC_SIZE(fs->super) >= EXT4_BG_BLOCK_BITMAP_CSUM_HI_LOCATION) in ext2fs_block_bitmap_checksum()
225 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_block_bitmap_loc()
238 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_block_bitmap_loc_set()
252 if (EXT2_DESC_SIZE(fs->super) >= EXT4_BG_INODE_BITMAP_CSUM_HI_END) in ext2fs_inode_bitmap_checksum()
266 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_inode_bitmap_loc()
279 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_inode_bitmap_loc_set()
292 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_inode_table_loc()
305 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_inode_table_loc_set()
318 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_free_blocks_count()
332 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_free_blocks_count_set()
345 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_free_inodes_count()
358 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_free_inodes_count_set()
371 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_used_dirs_count()
384 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_used_dirs_count_set()
397 (ext2fs_has_feature_64bit(fs->super) ? in ext2fs_bg_itable_unused()
410 if (ext2fs_has_feature_64bit(fs->super)) in ext2fs_bg_itable_unused_set()
502 if (fs && ext2fs_has_feature_64bit(fs->super)) in ext2fs_file_acl_block()
514 if (fs && ext2fs_has_feature_64bit(fs->super)) in ext2fs_file_acl_block_set()
531 (!ext2fs_has_feature_large_file(fs->super) || in ext2fs_inode_size_set()
532 fs->super->s_rev_level == EXT2_GOOD_OLD_REV)) { in ext2fs_inode_size_set()
533 ext2fs_set_feature_large_file(fs->super); in ext2fs_inode_size_set()