Home
last modified time | relevance | path

Searched refs:crc_offset (Results 1 – 3 of 3) sorted by relevance

/fs/f2fs/
Dcheckpoint.c857 size_t crc_offset = 0; in get_checkpoint_version() local
866 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()
Dsuper.c3278 size_t crc_offset = 0; in sanity_check_raw_super() local
3289 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()
Df2fs.h2087 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc() local
2088 return le32_to_cpu(*((__le32 *)((unsigned char *)cp + crc_offset))); in cur_cp_crc()