Home
last modified time | relevance | path

Searched refs:EXT2_INODES_PER_GROUP (Results 1 – 11 of 11) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dalloc.c124 group = (dir - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()
125 start_inode = (group * EXT2_INODES_PER_GROUP(fs->super)) + 1; in ext2fs_new_inode()
133 ino_in_group = (i - 1) % EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()
134 group = (i - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_new_inode()
137 upto = i + (EXT2_INODES_PER_GROUP(fs->super) - ino_in_group); in ext2fs_new_inode()
Dimager.c300 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_write()
301 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_write()
375 cnt = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in ext2fs_image_bitmap_read()
376 size = (EXT2_INODES_PER_GROUP(fs->super) / 8); in ext2fs_image_bitmap_read()
Dinode.c148 scan->inodes_left = EXT2_INODES_PER_GROUP(scan->fs->super); in ext2fs_open_inode_scan()
238 EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()
241 scan->inodes_left = EXT2_INODES_PER_GROUP(fs->super); in get_next_blockgroup()
568 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_read_inode_full()
571 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_read_inode_full()
692 group = (ino - 1) / EXT2_INODES_PER_GROUP(fs->super); in ext2fs_write_inode_full()
693 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(fs->super)) * in ext2fs_write_inode_full()
Dopenfs.c285 fs->inode_blocks_per_group = ((EXT2_INODES_PER_GROUP(fs->super) * in ext2fs_open2()
311 if (EXT2_INODES_PER_GROUP(fs->super) == 0) { in ext2fs_open2()
331 if (fs->group_desc_count * EXT2_INODES_PER_GROUP(fs->super) != in ext2fs_open2()
Drw_bitmaps.c62 ((EXT2_INODES_PER_GROUP(fs->super)+7) / 8); in write_bitmaps()
154 int inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in read_bitmaps()
Dbitmaps.c64 real_end = (EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count); in ext2fs_allocate_inode_bitmap()
Dext2_fs.h250 #define EXT2_INODES_PER_GROUP(s) (EXT2_SB(s)->s_inodes_per_group) macro
/external/e2fsprogs/e2fsck/
Dpass5.c110 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) { in e2fsck_discard_inodes()
815 end = EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count; in check_inode_end()
/external/e2fsprogs/misc/
Dtune2fs.c1604 EXT2_INODES_PER_GROUP(fs->super) * in expand_inode_table()
1628 for (j = 0; j < EXT2_INODES_PER_GROUP(fs->super); j++) { in expand_inode_table()
1757 EXT2_INODES_PER_GROUP(fs->super)* in resize_inode()
Ddumpe2fs.c171 inode_nbytes = EXT2_INODES_PER_GROUP(fs->super) / 8; in list_desc()
/external/e2fsprogs/debugfs/
Ddebugfs.c2127 group = (ino - 1) / EXT2_INODES_PER_GROUP(current_fs->super); in do_imap()
2128 offset = ((ino - 1) % EXT2_INODES_PER_GROUP(current_fs->super)) * in do_imap()