Searched refs:cp_block (Results 1 – 1 of 1) sorted by relevance
832 struct f2fs_checkpoint **cp_block, struct page **cp_page, in get_checkpoint_version() argument842 *cp_block = (struct f2fs_checkpoint *)page_address(*cp_page); in get_checkpoint_version()844 crc_offset = le32_to_cpu((*cp_block)->checksum_offset); in get_checkpoint_version()852 crc = f2fs_checkpoint_chksum(sbi, *cp_block); in get_checkpoint_version()853 if (crc != cur_cp_crc(*cp_block)) { in get_checkpoint_version()859 *version = cur_cp_version(*cp_block); in get_checkpoint_version()867 struct f2fs_checkpoint *cp_block = NULL; in validate_checkpoint() local872 err = get_checkpoint_version(sbi, cp_addr, &cp_block, in validate_checkpoint()877 cp_blocks = le32_to_cpu(cp_block->cp_pack_total_block_count); in validate_checkpoint()881 le32_to_cpu(cp_block->cp_pack_total_block_count)); in validate_checkpoint()[all …]