Searched refs:cp_payload (Results 1 – 6 of 6) sorted by relevance
/external/f2fs-tools/fsck/ |
D | resize.c | 82 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in get_new_sb() 84 set_sb(cp_payload, 0); in get_new_sb() 94 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in get_new_sb() 98 set_sb(cp_payload, 0); in get_new_sb() 456 block_t new_cp_blks = 1 + get_newsb(cp_payload); in rebuild_checkpoint() 489 set_cp(cp_pack_start_sum, 1 + get_newsb(cp_payload)); in rebuild_checkpoint() 490 set_cp(cp_pack_total_block_count, 8 + orphan_blks + get_newsb(cp_payload)); in rebuild_checkpoint() 539 for (i = 0; i < get_newsb(cp_payload); i++) { in rebuild_checkpoint() 545 block_t orphan_blk_no = old_cp_blk_no + 1 + get_sb(cp_payload); in rebuild_checkpoint()
|
D | mount.c | 342 DISP_u32(sb, cp_payload); in print_raw_sb_info() 843 unsigned int cp_payload, cp_blks; in get_valid_checkpoint() local 846 cp_payload = get_sb(cp_payload); in get_valid_checkpoint() 847 if (cp_payload > F2FS_BLK_ALIGN(MAX_SIT_BITMAP_SIZE)) in get_valid_checkpoint() 850 cp_blks = 1 + cp_payload; in get_valid_checkpoint() 929 unsigned int cp_pack_start_sum, cp_payload; in sanity_check_ckpt() local 988 cp_payload = __cp_payload(sbi); in sanity_check_ckpt() 989 if (cp_pack_start_sum < cp_payload + 1 || in sanity_check_ckpt() 993 cp_pack_start_sum, cp_payload); in sanity_check_ckpt() 996 set_sb(cp_payload, cp_pack_start_sum - 1); in sanity_check_ckpt() [all …]
|
D | f2fs.h | 264 return le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload); in __cp_payload() 278 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
|
D | fsck.c | 1669 start_blk = __start_cp_addr(sbi) + 1 + get_sb(cp_payload); in fsck_chk_orphan_node() 1670 orphan_blkaddr = __start_sum_addr(sbi) - 1 - get_sb(cp_payload); in fsck_chk_orphan_node() 2048 orphan_blks + get_sb(cp_payload)); in fix_checkpoint() 2069 for (i = 0; i < get_sb(cp_payload); i++) { in fix_checkpoint()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 334 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block() 336 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 347 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block() 352 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 596 char *cp_payload = NULL; in f2fs_write_check_point_pack() local 631 cp_payload = calloc(F2FS_BLKSIZE, 1); in f2fs_write_check_point_pack() 632 if (cp_payload == NULL) { in f2fs_write_check_point_pack() 672 set_cp(cp_pack_total_block_count, 6 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 685 set_cp(cp_pack_start_sum, 1 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 718 for (i = 0; i < get_sb(cp_payload); i++) { in f2fs_write_check_point_pack() [all …]
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 634 __le32 cp_payload; member
|