Home
last modified time | relevance | path

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

/third_party/e2fsprogs/lib/ext2fs/
Dinode.c433 unsigned int inodes_in_buf, inodes_per_block; in check_inode_block_sanity() local
452 inodes_per_block = EXT2_INODES_PER_BLOCK(scan->fs->super); in check_inode_block_sanity()
454 if (inodes_per_block < 2) in check_inode_block_sanity()
485 if (badness > inodes_per_block / 2) { in check_inode_block_sanity()
489 ino_adj = inodes_per_block - in check_inode_block_sanity()
490 ((ino - 1) % inodes_per_block); in check_inode_block_sanity()
500 if ((ino % inodes_per_block) == 0) { in check_inode_block_sanity()
762 int clen, inodes_per_block; in ext2fs_read_inode2() local
797 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode2()
799 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode2()
[all …]
/third_party/e2fsprogs/debugfs/
Dlogdump.c153 int inode_group, group_offset, inodes_per_block; in do_logdump() local
167 inodes_per_block = (current_fs->blocksize in do_logdump()
172 (group_offset / inodes_per_block); in do_logdump()
173 inode_offset_to_dump = ((group_offset % inodes_per_block) in do_logdump()
/third_party/e2fsprogs/e2fsck/
Dsuper.c590 int inodes_per_block; in check_super_block() local
601 inodes_per_block = EXT2_INODES_PER_BLOCK(fs->super); in check_super_block()
602 ipg_max = inodes_per_block * (blocks_per_group - 4); in check_super_block()
660 MIN_CHECK | MAX_CHECK, inodes_per_block, ipg_max)) in check_super_block()
Dpass1.c1062 ext2_ino_t inodes_in_group = 0, inodes_per_block, inodes_per_buffer; in pass1_readahead() local
1071 inodes_per_block = EXT2_INODES_PER_BLOCK(ctx->fs->super); in pass1_readahead()
1077 blocks_to_read += (inodes_in_group + inodes_per_block - 1) / in pass1_readahead()
1078 inodes_per_block; in pass1_readahead()
/third_party/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
/third_party/e2fsprogs/doc/RelNotes/
Dv1.19.txt60 Fixed a bug in e2fsck's calculation of the number of inodes_per_block