Lines Matching refs:super
39 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) { in ext2fs_group_desc_csum()
51 crc = ext2fs_crc16(~0, fs->super->s_uuid, in ext2fs_group_desc_csum()
52 sizeof(fs->super->s_uuid)); in ext2fs_group_desc_csum()
58 if (offset < fs->super->s_desc_size) { in ext2fs_group_desc_csum()
60 fs->super->s_desc_size - offset); in ext2fs_group_desc_csum()
69 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in ext2fs_group_desc_csum_verify()
80 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in ext2fs_group_desc_csum_set()
105 struct ext2_super_block *sb = fs->super; in ext2fs_set_gdt_csum()
113 if (!EXT2_HAS_RO_COMPAT_FEATURE(fs->super, in ext2fs_set_gdt_csum()
153 struct ext2_super_block *sb = fs->super; in print_csum()
167 crc1 = ext2fs_crc16(~0, sb->s_uuid, sizeof(fs->super->s_uuid)); in print_csum()
197 memcpy(fs->super->s_uuid, sb_uuid, 16); in main()
198 fs->super->s_feature_ro_compat = EXT4_FEATURE_RO_COMPAT_GDT_CSUM; in main()
240 memset(fs->super->s_uuid, 0x30, sizeof(fs->super->s_uuid)); in main()