Lines Matching refs:super
81 if ((blk < fs->super->s_first_data_block) || in release_inode_block()
82 (blk >= ext2fs_blocks_count(fs->super))) { in release_inode_block()
238 if ((ino = fs->super->s_last_orphan) == 0) in release_orphan_inodes()
245 fs->super->s_last_orphan = 0; in release_orphan_inodes()
253 if (fs->super->s_state & EXT2_ERROR_FS) in release_orphan_inodes()
256 if ((ino < EXT2_FIRST_INODE(fs->super)) || in release_orphan_inodes()
257 (ino > fs->super->s_inodes_count)) { in release_orphan_inodes()
280 ((next_ino < EXT2_FIRST_INODE(fs->super)) || in release_orphan_inodes()
281 (next_ino > fs->super->s_inodes_count))) { in release_orphan_inodes()
332 if (!(fs->super->s_feature_compat & in check_resize_inode()
334 if (fs->super->s_reserved_gdt_blocks) { in check_resize_inode()
335 pctx.num = fs->super->s_reserved_gdt_blocks; in check_resize_inode()
338 fs->super->s_reserved_gdt_blocks = 0; in check_resize_inode()
348 if (fs->super->s_feature_compat & in check_resize_inode()
358 if (!(fs->super->s_feature_compat & in check_resize_inode()
384 (blk < fs->super->s_first_data_block || in check_resize_inode()
385 blk >= ext2fs_blocks_count(fs->super))) { in check_resize_inode()
394 fs->super->s_state &= ~EXT2_VALID_FS; in check_resize_inode()
408 pblk = fs->super->s_first_data_block + 1 + fs->desc_blocks; in check_resize_inode()
409 if (fs->blocksize == 1024 && fs->super->s_first_data_block == 0) in check_resize_inode()
411 for (i = 0; i < fs->super->s_reserved_gdt_blocks / 4; in check_resize_inode()
423 expect = pblk + (j * fs->super->s_blocks_per_group); in check_resize_inode()
441 struct ext2_super_block *sb = ctx->fs->super; in e2fsck_fix_dirhash_hint()
468 struct ext2_super_block *sb = fs->super; in check_super_block()
471 blk64_t blocks_per_group = fs->super->s_blocks_per_group; in check_super_block()
484 inodes_per_block = EXT2_INODES_PER_BLOCK(fs->super); in check_super_block()
583 if (EXT2_HAS_INCOMPAT_FEATURE(fs->super, in check_super_block()
585 !EXT2_HAS_INCOMPAT_FEATURE(fs->super, in check_super_block()
588 fs->super->s_feature_incompat |= in check_super_block()
599 csum_flag = EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in check_super_block()
604 if (!EXT2_HAS_INCOMPAT_FEATURE(fs->super, in check_super_block()
742 (fs->super->s_flags & EXT2_FLAGS_TEST_FILESYS) && in check_super_block()
745 fs->super->s_flags &= ~EXT2_FLAGS_TEST_FILESYS; in check_super_block()
756 fs->super->s_creator_os == EXT2_OS_HURD && in check_super_block()
757 (fs->super->s_feature_incompat & in check_super_block()
760 fs->super->s_feature_incompat &= in check_super_block()
774 fs->super->s_rev_level == EXT2_GOOD_OLD_REV && in check_super_block()
775 (fs->super->s_feature_compat || in check_super_block()
776 fs->super->s_feature_ro_compat || in check_super_block()
777 fs->super->s_feature_incompat) && in check_super_block()
788 fs->super->s_state &= ~EXT2_VALID_FS; in check_super_block()
828 fs->super->s_mtime > (__u32) ctx->now) { in check_super_block()
829 pctx.num = fs->super->s_mtime; in check_super_block()
831 if (fs->super->s_mtime <= (__u32) ctx->now + ctx->time_fudge) in check_super_block()
834 fs->super->s_mtime = ctx->now; in check_super_block()
840 fs->super->s_wtime > (__u32) ctx->now) { in check_super_block()
841 pctx.num = fs->super->s_wtime; in check_super_block()
843 if (fs->super->s_wtime <= (__u32) ctx->now + ctx->time_fudge) in check_super_block()
846 fs->super->s_wtime = ctx->now; in check_super_block()
917 (fs->super->s_state & EXT2_ERROR_FS) || in check_backup_super_block()
944 ((fs->super->x & ~FEATURE_INCOMPAT_IGNORE) != \ in check_backup_super_block()
947 ((fs->super->x & ~FEATURE_RO_COMPAT_IGNORE) != \ in check_backup_super_block()
950 (fs->super->x != backup_sb->x) in check_backup_super_block()
958 memcmp(fs->super->s_uuid, backup_sb->s_uuid, in check_backup_super_block()
959 sizeof(fs->super->s_uuid))) in check_backup_super_block()