Searched refs:cp_block (Results 1 – 2 of 2) sorted by relevance
846 struct f2fs_checkpoint **cp_block, struct page **cp_page, in get_checkpoint_version() argument856 *cp_block = (struct f2fs_checkpoint *)page_address(*cp_page); in get_checkpoint_version()858 crc_offset = le32_to_cpu((*cp_block)->checksum_offset); in get_checkpoint_version()866 crc = f2fs_checkpoint_chksum(sbi, *cp_block); in get_checkpoint_version()867 if (crc != cur_cp_crc(*cp_block)) { in get_checkpoint_version()873 *version = cur_cp_version(*cp_block); in get_checkpoint_version()881 struct f2fs_checkpoint *cp_block = NULL; in validate_checkpoint() local886 err = get_checkpoint_version(sbi, cp_addr, &cp_block, in validate_checkpoint()891 cp_blocks = le32_to_cpu(cp_block->cp_pack_total_block_count); in validate_checkpoint()895 le32_to_cpu(cp_block->cp_pack_total_block_count)); in validate_checkpoint()[all …]
121 u32 cp_block; /* CPM sblock */ member