Home
last modified time | relevance | path

Searched refs:inodes_per_block (Results 1 – 9 of 9) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dinode.c412 unsigned int inodes_in_buf, inodes_per_block; in check_inode_block_sanity() local
431 inodes_per_block = EXT2_INODES_PER_BLOCK(scan->fs->super); in check_inode_block_sanity()
433 if (inodes_per_block < 2) in check_inode_block_sanity()
464 if (badness > inodes_per_block / 2) { in check_inode_block_sanity()
468 ino_adj = inodes_per_block - in check_inode_block_sanity()
469 ((ino - 1) % inodes_per_block); in check_inode_block_sanity()
479 if ((ino % inodes_per_block) == 0) { in check_inode_block_sanity()
738 int clen, inodes_per_block; in ext2fs_read_inode_full() local
771 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
773 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode_full()
[all …]
/external/e2fsprogs/debugfs/
Dlogdump.c148 int inode_group, group_offset, inodes_per_block; in do_logdump() local
161 inodes_per_block = (current_fs->blocksize in do_logdump()
166 (group_offset / inodes_per_block); in do_logdump()
167 inode_offset_to_dump = ((group_offset % inodes_per_block) in do_logdump()
/external/syslinux/core/fs/ufs/
Dufs.c183 block_num = inode_table + inode_offset / UFS_SB(fs)->inodes_per_block; in ufs_get_inode()
184 block_off = inode_offset % UFS_SB(fs)->inodes_per_block; in ufs_get_inode()
426 sbi->inodes_per_block = sb->block_size / sbi->inode_size; in set_ufs_info()
Dufs.h119 uint32_t inodes_per_block; // Inodes per block member
/external/e2fsprogs/e2fsck/
Dsuper.c471 int inodes_per_block; in check_super_block() local
482 inodes_per_block = EXT2_INODES_PER_BLOCK(fs->super); in check_super_block()
483 ipg_max = inodes_per_block * (blocks_per_group - 4); in check_super_block()
524 MIN_CHECK | MAX_CHECK, inodes_per_block, ipg_max); in check_super_block()
Dpass1.c959 ext2_ino_t inodes_in_group = 0, inodes_per_block, inodes_per_buffer; in pass1_readahead() local
968 inodes_per_block = EXT2_INODES_PER_BLOCK(ctx->fs->super); in pass1_readahead()
974 blocks_to_read += (inodes_in_group + inodes_per_block - 1) / in pass1_readahead()
975 inodes_per_block; in pass1_readahead()
/external/e2fsprogs/ext2ed/
Dinit.c422 file_system_info.inodes_per_block=file_system_info.block_size/sizeof (struct ext2_inode); in set_file_system_info()
423 file_system_info.blocks_per_group=sb->s_inodes_per_group/file_system_info.inodes_per_block; in set_file_system_info()
Dext2ed.h122 unsigned long inodes_per_block; member
/external/e2fsprogs/
DRELEASE-NOTES7085 Fixed a bug in e2fsck's calculation of the number of inodes_per_block