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() 459 block_t new_cp_blks = 1 + get_newsb(cp_payload); in rebuild_checkpoint() 502 set_cp(cp_pack_start_sum, 1 + get_newsb(cp_payload)); in rebuild_checkpoint() 503 set_cp(cp_pack_total_block_count, 8 + orphan_blks + get_newsb(cp_payload)); in rebuild_checkpoint() 565 for (i = 0; i < get_newsb(cp_payload); i++) { in rebuild_checkpoint() 571 block_t orphan_blk_no = old_cp_blk_no + 1 + get_sb(cp_payload); in rebuild_checkpoint()
|
D | mount.c | 436 DISP_u32(sb, cp_payload); in print_raw_sb_info() 985 if (get_sb(cp_payload) > (blocks_per_seg - F2FS_CP_PACKS)) { in sanity_check_raw_super() 987 get_sb(cp_payload), blocks_per_seg - F2FS_CP_PACKS); in sanity_check_raw_super() 1217 unsigned int cp_payload, cp_blks; in get_valid_checkpoint() local 1220 cp_payload = get_sb(cp_payload); in get_valid_checkpoint() 1221 if (cp_payload > F2FS_BLK_ALIGN(MAX_CP_PAYLOAD)) in get_valid_checkpoint() 1224 cp_blks = 1 + cp_payload; in get_valid_checkpoint() 1350 unsigned int cp_pack_start_sum, cp_payload; in sanity_check_ckpt() local 1437 cp_payload = __cp_payload(sbi); in sanity_check_ckpt() 1438 if (cp_pack_start_sum < cp_payload + 1 || in sanity_check_ckpt() [all …]
|
D | f2fs.h | 370 return le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload); in __cp_payload() 391 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
|
D | fsck.c | 1963 start_blk = __start_cp_addr(sbi) + 1 + get_sb(cp_payload); in fsck_chk_orphan_node() 1964 orphan_blkaddr = __start_sum_addr(sbi) - 1 - get_sb(cp_payload); in fsck_chk_orphan_node() 2405 orphan_blks + get_sb(cp_payload)); in fix_checkpoint() 2427 for (i = 0; i < get_sb(cp_payload); i++) { in fix_checkpoint()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 379 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block() 381 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 391 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block() 395 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 699 char *cp_payload = NULL; in f2fs_write_check_point_pack() local 734 cp_payload = calloc(F2FS_BLKSIZE, 1); in f2fs_write_check_point_pack() 735 if (cp_payload == NULL) { in f2fs_write_check_point_pack() 794 set_cp(cp_pack_total_block_count, 6 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 807 set_cp(cp_pack_start_sum, 1 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 843 for (i = 0; i < get_sb(cp_payload); i++) { in f2fs_write_check_point_pack() [all …]
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 832 __le32 cp_payload; member
|