Lines Matching refs:cp_blk_no
1193 unsigned long long cp_blk_no; in get_valid_checkpoint() local
1195 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() local
3020 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()
3038 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in write_checkpoint()
3058 ret = dev_write_block(cp, cp_blk_no++); in write_checkpoint()