Searched refs:cp_blk_no (Results 1 – 2 of 2) sorted by relevance
1193 unsigned long long cp_blk_no; in get_valid_checkpoint() local1195 cp_blk_no = get_sb(cp_blkaddr); in get_valid_checkpoint()1197 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in get_valid_checkpoint()1202 ret = dev_read_block(cur_page, cp_blk_no + i); in get_valid_checkpoint()2979 unsigned long long cp_blk_no; in write_checkpoint() local3020 cp_blk_no = get_sb(cp_blkaddr); in write_checkpoint()3022 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in write_checkpoint()3025 ret = dev_write_block(cp, cp_blk_no++); in write_checkpoint()3029 cp_blk_no += get_sb(cp_payload); in write_checkpoint()3031 cp_blk_no += orphan_blks; in write_checkpoint()[all …]
2160 unsigned long long cp_blk_no; in fix_checkpoint() local2207 cp_blk_no = get_sb(cp_blkaddr); in fix_checkpoint()2209 cp_blk_no += 1 << get_sb(log_blocks_per_seg); in fix_checkpoint()2211 ret = dev_write_block(cp, cp_blk_no++); in fix_checkpoint()2216 (i + 1) * F2FS_BLKSIZE, cp_blk_no++); in fix_checkpoint()2220 cp_blk_no += orphan_blks; in fix_checkpoint()2228 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in fix_checkpoint()2239 ret = dev_write_block(cp, cp_blk_no++); in fix_checkpoint()