Searched refs:cp_blk_no (Results 1 – 2 of 2) sorted by relevance
980 unsigned long long cp_blk_no; in fix_checkpoint() local1000 cp_blk_no = le32_to_cpu(raw_sb->cp_blkaddr); in fix_checkpoint()1002 cp_blk_no += 1 << le32_to_cpu(raw_sb->log_blocks_per_seg); in fix_checkpoint()1004 ret = dev_write_block(ckp, cp_blk_no++); in fix_checkpoint()1009 cp_blk_no++); in fix_checkpoint()1016 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in fix_checkpoint()1020 ret = dev_write_block(ckp, cp_blk_no++); in fix_checkpoint()
420 unsigned long long cp_blk_no; in get_valid_checkpoint() local422 cp_blk_no = le32_to_cpu(raw_sb->cp_blkaddr); in get_valid_checkpoint()424 cp_blk_no += 1 << in get_valid_checkpoint()429 ret = dev_read_block(cur_page, cp_blk_no + i); in get_valid_checkpoint()