MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / ext3_group_first_block_no

Function ext3_group_first_block_no

Ext4Fsd/include/linux/ext4.h:3357–3362  ·  view source on GitHub ↗

calculate the first block number of the group */

Source from the content-addressed store, hash-verified

3355
3356/* calculate the first block number of the group */
3357static inline ext3_fsblk_t
3358ext3_group_first_block_no(struct super_block *sb, unsigned long group_no)
3359{
3360 return group_no * (ext3_fsblk_t)EXT3_BLOCKS_PER_GROUP(sb) +
3361 le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block);
3362}
3363
3364/*
3365 * Functions for metadata checksums in ext4_csum.c.

Callers 2

descriptor_locFunction · 0.85
ext4_init_block_bitmapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected