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()
740 int length = EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
749 (EXT2_INODE_SIZE(fs->super) == sizeof(struct ext2_inode)))) { in ext2fs_read_inode_full()
771 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
775 EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
782 EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()
[all …]
Dext_attr.c533 i = EXT2_INODE_SIZE(handle->fs->super); in ext2fs_xattrs_write()
542 EXT2_INODE_SIZE(handle->fs->super)); in ext2fs_xattrs_write()
548 EXT2_INODE_SIZE(handle->fs->super) > EXT2_GOOD_OLD_INODE_SIZE) { in ext2fs_xattrs_write()
571 EXT2_INODE_SIZE(handle->fs->super) <= EXT2_GOOD_OLD_INODE_SIZE + in ext2fs_xattrs_write()
580 storage_size = EXT2_INODE_SIZE(handle->fs->super) - in ext2fs_xattrs_write()
645 EXT2_INODE_SIZE(handle->fs->super)); in ext2fs_xattrs_write()
792 i = EXT2_INODE_SIZE(handle->fs->super); in ext2fs_xattrs_read()
801 EXT2_INODE_SIZE(handle->fs->super)); in ext2fs_xattrs_read()
809 EXT2_INODE_SIZE(handle->fs->super) <= EXT2_GOOD_OLD_INODE_SIZE + in ext2fs_xattrs_read()
822 storage_size = EXT2_INODE_SIZE(handle->fs->super) - in ext2fs_xattrs_read()
[all …]
Dinitialize.c332 EXT2_INODE_SIZE(super)) + in ext2fs_initialize()
337 EXT2_INODE_SIZE(super)); in ext2fs_initialize()
347 EXT2_INODE_SIZE(super)) + in ext2fs_initialize()
Dext2_fs.h89 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size) macro
94 #define EXT2_INODE_SIZE(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \ macro
266 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
Dopenfs.c300 if (EXT2_INODE_SIZE(fs->super) < EXT2_GOOD_OLD_INODE_SIZE) { in ext2fs_open2()
327 EXT2_INODE_SIZE(fs->super) + in ext2fs_open2()
Dcsum.c670 has_hi = (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE && in ext2fs_inode_csum_verify()
712 has_hi = (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE && in ext2fs_inode_csum_set()
Dswapfs.c305 if (extra_isize > EXT2_INODE_SIZE(fs->super) - in ext2fs_swap_inode_full()
/external/e2fsprogs/e2fsck/
Dpass4.c37 EXT2_INODE_SIZE(fs->super), in disconnect_inode()
39 if (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in disconnect_inode()
45 if (EXT2_INODE_SIZE(fs->super) -EXT2_GOOD_OLD_INODE_SIZE -extra_size >0) in disconnect_inode()
94 int inode_size = EXT2_INODE_SIZE(fs->super); in e2fsck_pass4()
Dsuper.c537 inode_size = EXT2_INODE_SIZE(sb); in check_super_block()
581 if (EXT2_INODE_SIZE(sb) > EXT2_GOOD_OLD_INODE_SIZE) { in check_super_block()
585 unsigned max = EXT2_INODE_SIZE(sb) - EXT2_GOOD_OLD_INODE_SIZE; in check_super_block()
1002 (EXT2_INODE_SIZE(backup_sb) < EXT2_GOOD_OLD_INODE_SIZE)) in check_backup_super_block()
Dreadahead.c212 EXT2_INODE_SIZE(fs->super) / fs->blocksize); in e2fsck_readahead()
Dpass1.c347 storage_size = EXT2_INODE_SIZE(ctx->fs->super) - EXT2_GOOD_OLD_INODE_SIZE - in check_ea_in_inode()
448 EXT2_INODE_SIZE(sb), "pass1"); in check_ea_in_inode()
474 if (EXT2_INODE_SIZE(sb) == EXT2_GOOD_OLD_INODE_SIZE) { in check_inode_extra_space()
485 max = EXT2_INODE_SIZE(sb) - EXT2_GOOD_OLD_INODE_SIZE; in check_inode_extra_space()
500 EXT2_INODE_SIZE(sb), "pass1"); in check_inode_extra_space()
539 EXT2_INODE_SIZE(sb), "pass1"); in check_inode_extra_space()
699 EXT2_INODE_SIZE(ctx->fs->super), in check_is_really_dir()
1003 EXT2_INODE_SIZE(ctx->fs->super); in pass1_readahead()
1065 int inode_size = EXT2_INODE_SIZE(fs->super); in e2fsck_pass1()
1206 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/syslinux/libinstaller/ext2fs/
Dext2_fs.h89 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size) macro
94 #define EXT2_INODE_SIZE(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \ macro
252 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
/external/e2fsprogs/debugfs/
Ddebugfs.c594 if (inode->i_extra_isize > EXT2_INODE_SIZE(current_fs->super) - in internal_dump_inode_extra()
810 if (EXT2_INODE_SIZE(current_fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in internal_dump_inode()
907 if (EXT2_INODE_SIZE(current_fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in internal_dump_inode()
970 malloc(EXT2_INODE_SIZE(current_fs->super)); in do_stat()
982 EXT2_INODE_SIZE(current_fs->super))) { in do_stat()
2069 EXT2_INODE_SIZE(current_fs->super); in do_imap()
2100 isize = EXT2_INODE_SIZE(current_fs->super); in do_idump()
/external/e2fsprogs/misc/
Dtune2fs.c723 int length = EXT2_INODE_SIZE(fs->super); in rewrite_inodes()
873 int length = EXT2_INODE_SIZE(fs->super); in zero_empty_inodes()
2373 old_ino_size = EXT2_INODE_SIZE(fs->super); in expand_inode_table()
2823 if (new_inode_size == EXT2_INODE_SIZE(fs->super)) { in main()
2829 if (new_inode_size < EXT2_INODE_SIZE(fs->super)) { in main()
Ddumpe2fs.c179 EXT2_INODE_SIZE(fs->super)) + in list_desc()
Dmke2fs.c354 retval = ext2fs_get_memzero(EXT2_INODE_SIZE(fs->super), &inode); in write_reserved_inodes()
362 EXT2_INODE_SIZE(fs->super)); in write_reserved_inodes()
423 EXT2_INODE_SIZE(fs->super), in write_inode_tables()
/external/e2fsprogs/resize/
Dresize2fs.c515 int length = EXT2_INODE_SIZE(fs->super); in zero_high_bits_in_inodes()
2029 inode_size = EXT2_INODE_SIZE(rfs->new_fs->super); in inode_scan_and_fix()