Lines Matching refs:cp_payload
263 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block()
267 sb.cp_payload = 0; in f2fs_prepare_super_block()
445 char *cp_payload = NULL; in f2fs_write_check_point_pack() local
469 cp_payload = calloc(F2FS_BLKSIZE, 1); in f2fs_write_check_point_pack()
470 if (cp_payload == NULL) { in f2fs_write_check_point_pack()
503 set_cp(cp_pack_total_block_count, 6 + get_sb(cp_payload)); in f2fs_write_check_point_pack()
505 set_cp(cp_pack_start_sum, 1 + get_sb(cp_payload)); in f2fs_write_check_point_pack()
531 for (i = 0; i < get_sb(cp_payload); i++) { in f2fs_write_check_point_pack()
533 if (dev_fill(cp_payload, cp_seg_blk_offset, blk_size_bytes)) { in f2fs_write_check_point_pack()
670 for (i = 0; i < get_sb(cp_payload); i++) { in f2fs_write_check_point_pack()
672 if (dev_fill(cp_payload, cp_seg_blk_offset, blk_size_bytes)) { in f2fs_write_check_point_pack()
681 - get_sb(cp_payload) - 1); in f2fs_write_check_point_pack()
691 free(cp_payload); in f2fs_write_check_point_pack()