Searched refs:crc_offset (Results 1 – 4 of 4) sorted by relevance
1158 size_t crc_offset = 0; in get_checkpoint_version() local1167 crc_offset = le32_to_cpu((*cp_block)->checksum_offset); in get_checkpoint_version()1168 if (crc_offset < CP_MIN_CHKSUM_OFFSET || in get_checkpoint_version()1169 crc_offset > CP_CHKSUM_OFFSET) { in get_checkpoint_version()1171 f2fs_warn(sbi, "invalid crc_offset: %zu", crc_offset); in get_checkpoint_version()
4042 size_t crc_offset = 0; in sanity_check_raw_super() local4053 crc_offset = le32_to_cpu(raw_super->checksum_offset); in sanity_check_raw_super()4054 if (crc_offset != in sanity_check_raw_super()4057 crc_offset); in sanity_check_raw_super()4061 if (crc != f2fs_crc32(raw_super, crc_offset)) { in sanity_check_raw_super()
2364 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc() local2365 return le32_to_cpu(*((__le32 *)((unsigned char *)cp + crc_offset))); in cur_cp_crc()
1567 u8 crc_offset = 9; in adis16475_push_single_sample() local1575 crc_offset = (st->info->flags & ADIS16475_HAS_TIMESTAMP32) ? 16 : 15; in adis16475_push_single_sample()1585 crc = be16_to_cpu(buffer[crc_offset]); in adis16475_push_single_sample()