Searched refs:cp_block (Results 1 – 1 of 1) sorted by relevance
812 struct f2fs_checkpoint **cp_block, struct page **cp_page, in get_checkpoint_version() argument822 *cp_block = (struct f2fs_checkpoint *)page_address(*cp_page); in get_checkpoint_version()824 crc_offset = le32_to_cpu((*cp_block)->checksum_offset); in get_checkpoint_version()832 crc = f2fs_checkpoint_chksum(sbi, *cp_block); in get_checkpoint_version()833 if (crc != cur_cp_crc(*cp_block)) { in get_checkpoint_version()839 *version = cur_cp_version(*cp_block); in get_checkpoint_version()847 struct f2fs_checkpoint *cp_block = NULL; in validate_checkpoint() local851 err = get_checkpoint_version(sbi, cp_addr, &cp_block, in validate_checkpoint()856 if (le32_to_cpu(cp_block->cp_pack_total_block_count) > in validate_checkpoint()859 le32_to_cpu(cp_block->cp_pack_total_block_count)); in validate_checkpoint()[all …]