Lines Matching refs:cp_seg_blk
593 u_int64_t cp_seg_blk = 0; in f2fs_write_check_point_pack() local
709 cp_seg_blk = get_sb(segment0_blkaddr); in f2fs_write_check_point_pack()
712 cp_seg_blk); in f2fs_write_check_point_pack()
713 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()
719 cp_seg_blk++; in f2fs_write_check_point_pack()
720 if (dev_fill_block(cp_payload, cp_seg_blk)) { in f2fs_write_check_point_pack()
847 cp_seg_blk++; in f2fs_write_check_point_pack()
849 cp_seg_blk); in f2fs_write_check_point_pack()
850 if (dev_write_block(sum_compact, cp_seg_blk)) { in f2fs_write_check_point_pack()
874 cp_seg_blk++; in f2fs_write_check_point_pack()
876 cp_seg_blk); in f2fs_write_check_point_pack()
877 if (dev_write_block(sum, cp_seg_blk)) { in f2fs_write_check_point_pack()
886 cp_seg_blk++; in f2fs_write_check_point_pack()
888 cp_seg_blk); in f2fs_write_check_point_pack()
889 if (dev_write_block(sum, cp_seg_blk)) { in f2fs_write_check_point_pack()
897 cp_seg_blk++; in f2fs_write_check_point_pack()
899 cp_seg_blk); in f2fs_write_check_point_pack()
900 if (dev_write_block(sum, cp_seg_blk)) { in f2fs_write_check_point_pack()
906 cp_seg_blk++; in f2fs_write_check_point_pack()
907 DBG(1, "\tWriting cp page2, at offset 0x%08"PRIx64"\n", cp_seg_blk); in f2fs_write_check_point_pack()
908 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()
923 cp_seg_blk = get_sb(segment0_blkaddr) + (1 << in f2fs_write_check_point_pack()
927 cp_seg_blk); in f2fs_write_check_point_pack()
931 F2FS_BLKSIZE, cp_seg_blk + i)) { in f2fs_write_check_point_pack()
946 cp_seg_blk = get_sb(segment0_blkaddr) + c.blks_per_seg; in f2fs_write_check_point_pack()
948 cp_seg_blk); in f2fs_write_check_point_pack()
949 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()
955 cp_seg_blk++; in f2fs_write_check_point_pack()
956 if (dev_fill_block(cp_payload, cp_seg_blk)) { in f2fs_write_check_point_pack()
964 cp_seg_blk += (le32_to_cpu(cp->cp_pack_total_block_count) - in f2fs_write_check_point_pack()
967 cp_seg_blk); in f2fs_write_check_point_pack()
968 if (dev_write_block(cp, cp_seg_blk)) { in f2fs_write_check_point_pack()