Home
last modified time | relevance | path

Searched refs:EXT2_SUPER_BLOCKS_PER_GROUP (Results 1 – 8 of 8) sorted by relevance

/onnv-gate/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2_resize.c47 + fs->numgroups * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)) in ext2_add_group()
59 + group * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_add_group()
68 groupsize > EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)) in ext2_add_group()
91 + i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_add_group()
178 for (i=groupsize;i<EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb);i++) in ext2_add_group()
217 - group * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_del_group()
261 i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_del_group()
283 group * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_del_group()
284 num = EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_del_group()
336 groupoff = group * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb) in ext2_grow_group()
[all …]
H A Dext2_block_relocator.c613 offset = i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb) in ext2_block_relocator_grab_blocks()
617 j<EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_block_relocator_grab_blocks()
765 EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)); in ext2_block_relocate_grow()
784 start = (i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)) in ext2_block_relocate_grow()
804 block = k % EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_block_relocate_grow()
832 EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)); in ext2_block_relocate_shrink()
849 offset = i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb) in ext2_block_relocate_shrink()
853 if (newsize >= offset + EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)) in ext2_block_relocate_shrink()
888 groupsize = EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_block_relocate_shrink()
H A Dext2.c55 group = block / EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_get_block_state()
56 offset = block % EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_get_block_state()
75 offset = i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb) in ext2_find_free_block()
78 j<EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_find_free_block()
168 group = block / EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_set_block_state()
169 offset = block % EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_set_block_state()
626 i++, sb_block += EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)) in ext2_commit_metadata()
749 EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)); in ext2_open()
H A Dext2_meta.c35 EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)); in ext2_metadata_push()
51 start = (i * EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb)) in ext2_metadata_push()
H A Dext2_mkfs.c95 EXT2_SUPER_BLOCKS_PER_GROUP(*sb)); in ext2_mkfs_write_main()
106 + i * EXT2_SUPER_BLOCKS_PER_GROUP(*sb); in ext2_mkfs_write_main()
144 EXT2_SUPER_BLOCKS_PER_GROUP(*sb)); in ext2_mkfs_write_meta()
174 groupoffset = i*EXT2_SUPER_BLOCKS_PER_GROUP(*sb) in ext2_mkfs_write_meta()
177 EXT2_SUPER_BLOCKS_PER_GROUP(*sb)); in ext2_mkfs_write_meta()
H A Dext2.h232 group = blk / EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_is_data_block()
233 blk %= EXT2_SUPER_BLOCKS_PER_GROUP(fs->sb); in ext2_is_data_block()
H A Dinterface.c45 PedSector group_blocks = EXT2_SUPER_BLOCKS_PER_GROUP(sb); in _ext2_generic_probe()
H A Dext2_fs.h281 #define EXT2_SUPER_BLOCKS_PER_GROUP(sb) \ macro