Searched refs:blk_per_grp (Results 1 – 2 of 2) sorted by relevance
143 uint32_t blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in delete_single_indirect_block() local155 bg_idx = blknr / blk_per_grp; in delete_single_indirect_block()157 remainder = blknr % blk_per_grp; in delete_single_indirect_block()191 uint32_t blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in delete_double_indirect_block() local217 bg_idx = le32_to_cpu(*di_buffer) / blk_per_grp; in delete_double_indirect_block()219 remainder = le32_to_cpu(*di_buffer) % blk_per_grp; in delete_double_indirect_block()250 bg_idx = blknr / blk_per_grp; in delete_double_indirect_block()252 remainder = blknr % blk_per_grp; in delete_double_indirect_block()288 uint32_t blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in delete_triple_indirect_block() local326 bg_idx = le32_to_cpu(*tip_buffer) / blk_per_grp; in delete_triple_indirect_block()[all …]
965 unsigned int blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in ext4fs_get_new_blk_no() local1018 bg_idx = fs->curr_blkno / blk_per_grp; in ext4fs_get_new_blk_no()1020 remainder = fs->curr_blkno % blk_per_grp; in ext4fs_get_new_blk_no()1036 fs->curr_blkno = (bg_idx + 1) * blk_per_grp; in ext4fs_get_new_blk_no()