Searched refs:raw_super (Results 1 – 4 of 4) sorted by relevance
207 int sanity_check_raw_super(struct f2fs_super_block *raw_super) in sanity_check_raw_super() argument211 if (F2FS_SUPER_MAGIC != le32_to_cpu(raw_super->magic)) { in sanity_check_raw_super()219 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); in sanity_check_raw_super()224 if (le32_to_cpu(raw_super->log_sectorsize) > F2FS_MAX_LOG_SECTOR_SIZE || in sanity_check_raw_super()225 le32_to_cpu(raw_super->log_sectorsize) < in sanity_check_raw_super()230 if (le32_to_cpu(raw_super->log_sectors_per_block) + in sanity_check_raw_super()231 le32_to_cpu(raw_super->log_sectorsize) != in sanity_check_raw_super()243 sbi->raw_super = malloc(sizeof(struct f2fs_super_block)); in validate_super_block()250 if (dev_read(sbi->raw_super, offset, sizeof(struct f2fs_super_block))) in validate_super_block()253 if (!sanity_check_raw_super(sbi->raw_super)) { in validate_super_block()[all …]
129 struct f2fs_super_block *raw_super; member167 return (struct f2fs_super_block *)(sbi->raw_super); in F2FS_RAW_SUPER()
223 free(sbi->raw_super); in main()
978 struct f2fs_super_block *raw_sb = sbi->raw_super; in fix_checkpoint()