Home
last modified time | relevance | path

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

/external/f2fs-tools/lib/
Dlibf2fs.c540 u_int32_t cal_crc = 0; in f2fs_crc_valid() local
542 cal_crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, buf, len); in f2fs_crc_valid()
544 if (cal_crc != blk_crc) { in f2fs_crc_valid()
547 cal_crc, blk_crc, len); in f2fs_crc_valid()
/external/f2fs-tools/fsck/
Dmount.c1062 unsigned int crc, cal_crc; in verify_checksum_chksum() local
1071 cal_crc = f2fs_checkpoint_chksum(cp); in verify_checksum_chksum()
1072 if (cal_crc != crc) { in verify_checksum_chksum()
1074 chksum_offset, crc, cal_crc); in verify_checksum_chksum()