Searched refs:crc_offset (Results 1 – 3 of 3) sorted by relevance
857 size_t crc_offset = 0; in get_checkpoint_version() local866 crc_offset = le32_to_cpu((*cp_block)->checksum_offset); in get_checkpoint_version()867 if (crc_offset < CP_MIN_CHKSUM_OFFSET || in get_checkpoint_version()868 crc_offset > CP_CHKSUM_OFFSET) { in get_checkpoint_version()870 f2fs_warn(sbi, "invalid crc_offset: %zu", crc_offset); in get_checkpoint_version()
3278 size_t crc_offset = 0; in sanity_check_raw_super() local3289 crc_offset = le32_to_cpu(raw_super->checksum_offset); in sanity_check_raw_super()3290 if (crc_offset != in sanity_check_raw_super()3293 crc_offset); in sanity_check_raw_super()3297 if (!f2fs_crc_valid(sbi, crc, raw_super, crc_offset)) { in sanity_check_raw_super()
2087 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc() local2088 return le32_to_cpu(*((__le32 *)((unsigned char *)cp + crc_offset))); in cur_cp_crc()