useful-e2fsck-files/blknum.c
__u32 ext2fs_bg_free_blocks_count(ext2_filsys fs, dgrp_t group)
{
	struct ext4_group_desc *gdp;

	gdp = ext4fs_group_desc(fs, fs->group_desc, group);
	return gdp->bg_free_blocks_count |
		(fs->super->s_feature_incompat
		 & EXT4_FEATURE_INCOMPAT_64BIT ?
		 (__u32) gdp->bg_free_blocks_count_hi << 16 : 0);
}
/*
 * Return the free blocks count of a group
 */
Return the free blocks count of a group
Return the free blocks count of a group
__u32 ext2fs_bg_free_blocks_count(ext2_filsys fs, dgrp_t group)
{
	struct ext4_group_desc *gdp;
	gdp = ext4fs_group_desc(fs, fs->group_desc, group);
	return gdp->bg_free_blocks_count |
		(fs->super->s_feature_incompat
		 & EXT4_FEATURE_INCOMPAT_64BIT ?
		 (__u32) gdp->bg_free_blocks_count_hi << 16 : 0);
}
__u32 ext2fs_bg_free_blocks_count ( ext2_filsys fs , dgrp_t group ) { struct ext4_group_desc * gdp ; gdp = ext4fs_group_desc ( fs , fs -> group_desc , group ) ; return gdp -> bg_free_blocks_count | ( fs -> super -> s_feature_incompat & EXT4_FEATURE_INCOMPAT_64BIT ? ( __u32 ) gdp -> bg_free_blocks_count_hi << 16 : 0 ) ; }
Return the free blocks count of a group
Return the free blocks count of a group