Home
last modified time | relevance | path

Searched refs:EXT2_INODE_SIZE (Results 1 – 18 of 18) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dinode.c125 retval = ext2fs_get_mem(EXT2_INODE_SIZE(fs->super), in ext2fs_create_inode_cache()
174 scan->inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open_inode_scan()
437 if (ext2fs_get_mem(EXT2_INODE_SIZE(scan->fs->super), &inode)) in check_inode_block_sanity()
450 0, EXT2_INODE_SIZE(scan->fs->super)); in check_inode_block_sanity()
587 length = EXT2_INODE_SIZE(scan->fs->super); in ext2fs_get_next_inode_full()
741 int length = EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
750 (EXT2_INODE_SIZE(fs->super) == sizeof(struct ext2_inode)))) { in ext2fs_read_inode_full()
772 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
776 EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
783 EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
[all …]
Dext_attr.c696 const unsigned int inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_xattrs_write()
1002 i = EXT2_INODE_SIZE(handle->fs->super); in ext2fs_xattrs_read()
1011 EXT2_INODE_SIZE(handle->fs->super)); in ext2fs_xattrs_read()
1019 EXT2_INODE_SIZE(handle->fs->super) <= EXT2_GOOD_OLD_INODE_SIZE + in ext2fs_xattrs_read()
1032 storage_size = EXT2_INODE_SIZE(handle->fs->super) - in ext2fs_xattrs_read()
1163 i = EXT2_INODE_SIZE(fs->super); in ext2fs_xattr_inode_max_size()
1171 EXT2_INODE_SIZE(fs->super)); in ext2fs_xattr_inode_max_size()
1176 if (EXT2_INODE_SIZE(fs->super) <= EXT2_GOOD_OLD_INODE_SIZE + in ext2fs_xattr_inode_max_size()
1183 minoff = EXT2_INODE_SIZE(fs->super) - sizeof(*inode) - sizeof(__u32); in ext2fs_xattr_inode_max_size()
1531 const int inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_xattr_set()
Dinitialize.c343 EXT2_INODE_SIZE(super)) + in ext2fs_initialize()
348 EXT2_INODE_SIZE(super)); in ext2fs_initialize()
358 EXT2_INODE_SIZE(super)) + in ext2fs_initialize()
Dext2_fs.h98 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size) macro
103 #define EXT2_INODE_SIZE(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \ macro
277 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
Dopenfs.c314 inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open2()
338 EXT2_INODE_SIZE(fs->super) + in ext2fs_open2()
Dcsum.c636 size_t size = EXT2_INODE_SIZE(fs->super); in ext2fs_inode_csum()
671 has_hi = (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE && in ext2fs_inode_csum_verify()
713 has_hi = (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE && in ext2fs_inode_csum_set()
Dswapfs.c336 if (extra_isize > EXT2_INODE_SIZE(fs->super) - in ext2fs_swap_inode_full()
/external/e2fsprogs/e2fsck/
Dpass4.c38 EXT2_INODE_SIZE(fs->super), in disconnect_inode()
40 if (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in disconnect_inode()
47 if (EXT2_INODE_SIZE(fs->super) -EXT2_GOOD_OLD_INODE_SIZE -extra_size >0) in disconnect_inode()
102 EXT2_INODE_SIZE(ctx->fs->super), in check_ea_inode()
142 int inode_size = EXT2_INODE_SIZE(fs->super); in e2fsck_pass4()
Dsuper.c700 inode_size = EXT2_INODE_SIZE(sb); in check_super_block()
734 if (EXT2_INODE_SIZE(sb) > EXT2_GOOD_OLD_INODE_SIZE) { in check_super_block()
738 unsigned max = EXT2_INODE_SIZE(sb) - EXT2_GOOD_OLD_INODE_SIZE; in check_super_block()
1157 (EXT2_INODE_SIZE(backup_sb) < EXT2_GOOD_OLD_INODE_SIZE)) in check_backup_super_block()
Dreadahead.c214 EXT2_INODE_SIZE(fs->super) / fs->blocksize); in e2fsck_readahead()
Dpass1.c436 storage_size = EXT2_INODE_SIZE(ctx->fs->super) - EXT2_GOOD_OLD_INODE_SIZE - in check_ea_in_inode()
551 EXT2_INODE_SIZE(sb), "pass1"); in check_ea_in_inode()
583 if (EXT2_INODE_SIZE(sb) == EXT2_GOOD_OLD_INODE_SIZE) { in check_inode_extra_space()
594 max = EXT2_INODE_SIZE(sb) - EXT2_GOOD_OLD_INODE_SIZE; in check_inode_extra_space()
609 EXT2_INODE_SIZE(sb), "pass1"); in check_inode_extra_space()
647 EXT2_INODE_SIZE(sb), "pass1"); in check_inode_extra_space()
807 EXT2_INODE_SIZE(ctx->fs->super), in check_is_really_dir()
1113 EXT2_INODE_SIZE(ctx->fs->super); in pass1_readahead()
1175 unsigned int inode_size = EXT2_INODE_SIZE(fs->super); in e2fsck_pass1()
1321 if (EXT2_INODE_SIZE(fs->super) == EXT2_GOOD_OLD_INODE_SIZE) in e2fsck_pass1()
/external/e2fsprogs/lib/e2p/
Dls.c192 #ifndef EXT2_INODE_SIZE
193 #define EXT2_INODE_SIZE(s) sizeof(struct ext2_inode) macro
232 EXT2_INODE_SIZE(sb)) + in list_super2()
/external/e2fsprogs/debugfs/
Ddebugfs.c617 if (inode->i_extra_isize > EXT2_INODE_SIZE(current_fs->super) - in internal_dump_inode_extra()
823 if (EXT2_INODE_SIZE(current_fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in internal_dump_inode()
919 if (EXT2_INODE_SIZE(current_fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in internal_dump_inode()
986 malloc(EXT2_INODE_SIZE(current_fs->super)); in do_stat()
998 EXT2_INODE_SIZE(current_fs->super))) { in do_stat()
2125 EXT2_INODE_SIZE(current_fs->super); in do_imap()
2171 isize = EXT2_INODE_SIZE(current_fs->super); in do_idump()
/external/e2fsprogs/misc/
Dtune2fs.c891 .inode_size = EXT2_INODE_SIZE(fs->super), in rewrite_inodes()
992 int length = EXT2_INODE_SIZE(fs->super); in zero_empty_inodes()
2528 old_ino_size = EXT2_INODE_SIZE(fs->super); in expand_inode_table()
2983 if (new_inode_size == EXT2_INODE_SIZE(fs->super)) { in main()
2989 if (new_inode_size < EXT2_INODE_SIZE(fs->super)) { in main()
Ddumpe2fs.c179 EXT2_INODE_SIZE(fs->super)) + in list_desc()
Dmke2fs.c357 retval = ext2fs_get_memzero(EXT2_INODE_SIZE(fs->super), &inode); in write_reserved_inodes()
365 EXT2_INODE_SIZE(fs->super)); in write_reserved_inodes()
432 EXT2_INODE_SIZE(fs->super), in write_inode_tables()
/external/e2fsprogs/lib/support/
Dmkquota.c254 return (EXT2_INODE_SIZE(qctx->fs->super) > EXT2_GOOD_OLD_INODE_SIZE); in project_quota_valid()
/external/e2fsprogs/resize/
Dresize2fs.c515 int length = EXT2_INODE_SIZE(fs->super); in zero_high_bits_in_inodes()
2061 int inode_size = EXT2_INODE_SIZE(fs->super); in fix_ea_inode_refs()
2171 inode_size = EXT2_INODE_SIZE(rfs->new_fs->super); in inode_scan_and_fix()