Searched refs:cp_block (Results 1 – 1 of 1) sorted by relevance
/fs/f2fs/ |
D | checkpoint.c | 728 struct f2fs_checkpoint **cp_block, struct page **cp_page, in get_checkpoint_version() argument 736 *cp_block = (struct f2fs_checkpoint *)page_address(*cp_page); in get_checkpoint_version() 738 crc_offset = le32_to_cpu((*cp_block)->checksum_offset); in get_checkpoint_version() 745 crc = cur_cp_crc(*cp_block); in get_checkpoint_version() 746 if (!f2fs_crc_valid(sbi, crc, *cp_block, crc_offset)) { in get_checkpoint_version() 751 *version = cur_cp_version(*cp_block); in get_checkpoint_version() 759 struct f2fs_checkpoint *cp_block = NULL; in validate_checkpoint() local 763 err = get_checkpoint_version(sbi, cp_addr, &cp_block, in validate_checkpoint() 769 cp_addr += le32_to_cpu(cp_block->cp_pack_total_block_count) - 1; in validate_checkpoint() 770 err = get_checkpoint_version(sbi, cp_addr, &cp_block, in validate_checkpoint() [all …]
|