Searched refs:EXT2_INODE_SIZE (Results 1 – 15 of 15) sorted by relevance
35 if (EXT2_INODE_SIZE(fs->super) > EXT2_GOOD_OLD_INODE_SIZE) { in disconnect_inode()36 e2fsck_read_inode_full(ctx, i, inode,EXT2_INODE_SIZE(fs->super), in disconnect_inode()46 if (EXT2_INODE_SIZE(fs->super) -EXT2_GOOD_OLD_INODE_SIZE -extra_size >0) in disconnect_inode()119 inode = e2fsck_allocate_memory(ctx, EXT2_INODE_SIZE(fs->super), in e2fsck_pass4()
280 storage_size = EXT2_INODE_SIZE(ctx->fs->super) - EXT2_GOOD_OLD_INODE_SIZE - in check_ea_in_inode()284 end = (char *) inode + EXT2_INODE_SIZE(ctx->fs->super); in check_ea_in_inode()347 EXT2_INODE_SIZE(sb), "pass1"); in check_ea_in_inode()358 if (EXT2_INODE_SIZE(sb) == EXT2_GOOD_OLD_INODE_SIZE) { in check_inode_extra_space()369 max = EXT2_INODE_SIZE(sb) - EXT2_GOOD_OLD_INODE_SIZE; in check_inode_extra_space()380 EXT2_INODE_SIZE(sb), "pass1"); in check_inode_extra_space()507 EXT2_INODE_SIZE(ctx->fs->super), in check_is_really_dir()638 inode_size = EXT2_INODE_SIZE(fs->super); in e2fsck_pass1()
522 inode_size = EXT2_INODE_SIZE(sb); in check_super_block()942 (EXT2_INODE_SIZE(backup_sb) < EXT2_GOOD_OLD_INODE_SIZE)) in check_backup_super_block()
141 scan->inode_size = EXT2_INODE_SIZE(fs->super); in ext2fs_open_inode_scan()558 inodes_per_block = fs->blocksize / EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()562 EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()569 EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()579 length = EXT2_INODE_SIZE(fs->super); in ext2fs_read_inode_full()667 if (length < EXT2_INODE_SIZE(fs->super)) in ext2fs_write_inode_full()668 length = EXT2_INODE_SIZE(fs->super); in ext2fs_write_inode_full()688 EXT2_INODE_SIZE(fs->super); in ext2fs_write_inode_full()698 length = EXT2_INODE_SIZE(fs->super); in ext2fs_write_inode_full()754 int size = EXT2_INODE_SIZE(fs->super); in ext2fs_write_new_inode()
275 EXT2_INODE_SIZE(super)) + in ext2fs_initialize()280 EXT2_INODE_SIZE(super)); in ext2fs_initialize()288 EXT2_INODE_SIZE(super)) + in ext2fs_initialize()
88 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size) macro93 #define EXT2_INODE_SIZE(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \ macro231 #define EXT2_INODES_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s)/EXT2_INODE_SIZE(s))
243 if (EXT2_INODE_SIZE(fs->super) < EXT2_GOOD_OLD_INODE_SIZE) { in ext2fs_open2()249 EXT2_INODE_SIZE(fs->super) + in ext2fs_open2()
250 if (extra_isize > EXT2_INODE_SIZE(fs->super) - in ext2fs_swap_inode_full()
170 #ifndef EXT2_INODE_SIZE171 #define EXT2_INODE_SIZE(s) sizeof(struct ext2_inode) macro185 EXT2_INODE_SIZE(sb)) + in list_super2()
108 #define EXT2_INODE_SIZE(s) (EXT2_SB(s)->s_inode_size) macro111 #define EXT2_INODE_SIZE(s) (((s)->s_rev_level == EXT2_GOOD_OLD_REV) ? \ macro
504 if (inode->i_extra_isize > EXT2_INODE_SIZE(current_fs->super) - in internal_dump_inode_extra()510 storage_size = EXT2_INODE_SIZE(current_fs->super) - in internal_dump_inode_extra()517 end = (char *) inode + EXT2_INODE_SIZE(current_fs->super); in internal_dump_inode_extra()698 if (EXT2_INODE_SIZE(current_fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in internal_dump_inode()785 if (EXT2_INODE_SIZE(current_fs->super) > EXT2_GOOD_OLD_INODE_SIZE) in internal_dump_inode()834 malloc(EXT2_INODE_SIZE(current_fs->super)); in do_stat()846 EXT2_INODE_SIZE(current_fs->super))) { in do_stat()1997 EXT2_INODE_SIZE(current_fs->super); in do_imap()
1314 old_ino_size = EXT2_INODE_SIZE(fs->super); in expand_inode_table()1636 if (new_inode_size == EXT2_INODE_SIZE(fs->super)) { in main()1641 if (new_inode_size < EXT2_INODE_SIZE(fs->super)) { in main()
165 EXT2_INODE_SIZE(fs->super)) + in list_desc()
378 ipb = fs->blocksize / EXT2_INODE_SIZE(fs->super); in write_inode_tables()381 EXT2_INODE_SIZE(fs->super)) + in write_inode_tables()
1356 inode_size = EXT2_INODE_SIZE(rfs->new_fs->super); in inode_scan_and_fix()