Searched refs:crc_offset (Results 1 – 2 of 2) sorted by relevance
782 size_t crc_offset = 0; in get_checkpoint_version() local791 crc_offset = le32_to_cpu((*cp_block)->checksum_offset); in get_checkpoint_version()792 if (crc_offset > (blk_size - sizeof(__le32))) { in get_checkpoint_version()795 "invalid crc_offset: %zu", crc_offset); in get_checkpoint_version()800 if (!f2fs_crc_valid(sbi, crc, *cp_block, crc_offset)) { in get_checkpoint_version()
1533 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc() local1534 return le32_to_cpu(*((__le32 *)((unsigned char *)cp + crc_offset))); in cur_cp_crc()