Home
last modified time | relevance | path

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

/linux-4.19.296/fs/f2fs/
Dcheckpoint.c782 size_t crc_offset = 0; in get_checkpoint_version() local
791 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()
Df2fs.h1533 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc() local
1534 return le32_to_cpu(*((__le32 *)((unsigned char *)cp + crc_offset))); in cur_cp_crc()