Home
last modified time | relevance | path

Searched refs:cp_payload (Results 1 – 5 of 5) sorted by relevance

/external/f2fs-tools/mkfs/
Df2fs_format.c263 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()
[all …]
/external/f2fs-tools/fsck/
Dfsck.c912 le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload); in fsck_chk_orphan_node()
987 cpu_to_le32(8 + le32_to_cpu(raw_sb->cp_payload)); in fix_checkpoint()
989 le32_to_cpu(raw_sb->cp_payload)); in fix_checkpoint()
1007 for (i = 0; i < le32_to_cpu(raw_sb->cp_payload); i++) { in fix_checkpoint()
Df2fs.h223 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
Dmount.c145 DISP_u32(sb, cp_payload); in print_raw_sb_info()
379 unsigned int cp_blks = 1 + le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload); in get_valid_checkpoint()
/external/f2fs-tools/include/
Df2fs_fs.h353 __le32 cp_payload; member