Searched refs:cp_payload (Results 1 – 6 of 6) sorted by relevance
/third_party/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 | 427 DISP_u32(sb, cp_payload); in print_raw_sb_info() 976 if (get_sb(cp_payload) > (blocks_per_seg - F2FS_CP_PACKS)) { in sanity_check_raw_super() 978 get_sb(cp_payload), blocks_per_seg - F2FS_CP_PACKS); in sanity_check_raw_super() 1247 unsigned int cp_payload, cp_blks; in get_valid_checkpoint() local 1250 cp_payload = get_sb(cp_payload); in get_valid_checkpoint() 1251 if (cp_payload > F2FS_BLK_ALIGN(MAX_CP_PAYLOAD)) in get_valid_checkpoint() 1254 cp_blks = 1 + cp_payload; in get_valid_checkpoint() 1380 unsigned int cp_pack_start_sum, cp_payload; in sanity_check_ckpt() local 1467 cp_payload = __cp_payload(sbi); in sanity_check_ckpt() 1468 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 | 1905 start_blk = __start_cp_addr(sbi) + 1 + get_sb(cp_payload); in fsck_chk_orphan_node() 1906 orphan_blkaddr = __start_sum_addr(sbi) - 1 - get_sb(cp_payload); in fsck_chk_orphan_node() 2347 orphan_blks + get_sb(cp_payload)); in fix_checkpoint() 2369 for (i = 0; i < get_sb(cp_payload); i++) { in fix_checkpoint()
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 381 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block() 383 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 393 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block() 397 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 701 char *cp_payload = NULL; in f2fs_write_check_point_pack() local 736 cp_payload = calloc(F2FS_BLKSIZE, 1); in f2fs_write_check_point_pack() 737 if (cp_payload == NULL) { in f2fs_write_check_point_pack() 796 set_cp(cp_pack_total_block_count, 6 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 809 set_cp(cp_pack_start_sum, 1 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 845 for (i = 0; i < get_sb(cp_payload); i++) { in f2fs_write_check_point_pack() [all …]
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 832 __le32 cp_payload; member
|