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() 547 for (i = 0; i < get_newsb(cp_payload); i++) { in rebuild_checkpoint() 553 block_t orphan_blk_no = old_cp_blk_no + 1 + get_sb(cp_payload); in rebuild_checkpoint()
|
D | mount.c | 349 DISP_u32(sb, cp_payload); in print_raw_sb_info() 838 if (get_sb(cp_payload) > (blocks_per_seg - F2FS_CP_PACKS)) { in sanity_check_raw_super() 840 get_sb(cp_payload), blocks_per_seg - F2FS_CP_PACKS); in sanity_check_raw_super() 1060 unsigned int cp_payload, cp_blks; in get_valid_checkpoint() local 1063 cp_payload = get_sb(cp_payload); in get_valid_checkpoint() 1064 if (cp_payload > F2FS_BLK_ALIGN(MAX_SIT_BITMAP_SIZE)) in get_valid_checkpoint() 1067 cp_blks = 1 + cp_payload; in get_valid_checkpoint() 1166 unsigned int cp_pack_start_sum, cp_payload; in sanity_check_ckpt() local 1251 cp_payload = __cp_payload(sbi); in sanity_check_ckpt() 1252 if (cp_pack_start_sum < cp_payload + 1 || in sanity_check_ckpt() [all …]
|
D | f2fs.h | 356 return le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload); in __cp_payload() 377 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
|
D | fsck.c | 1730 start_blk = __start_cp_addr(sbi) + 1 + get_sb(cp_payload); in fsck_chk_orphan_node() 1731 orphan_blkaddr = __start_sum_addr(sbi) - 1 - get_sb(cp_payload); in fsck_chk_orphan_node() 2150 orphan_blks + get_sb(cp_payload)); in fix_checkpoint() 2172 for (i = 0; i < get_sb(cp_payload); i++) { in fix_checkpoint()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 350 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block() 352 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 362 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block() 366 set_sb(cp_payload, 0); in f2fs_prepare_super_block() 615 char *cp_payload = NULL; in f2fs_write_check_point_pack() local 650 cp_payload = calloc(F2FS_BLKSIZE, 1); in f2fs_write_check_point_pack() 651 if (cp_payload == NULL) { in f2fs_write_check_point_pack() 691 set_cp(cp_pack_total_block_count, 6 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 704 set_cp(cp_pack_start_sum, 1 + get_sb(cp_payload)); in f2fs_write_check_point_pack() 740 for (i = 0; i < get_sb(cp_payload); i++) { in f2fs_write_check_point_pack() [all …]
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 663 __le32 cp_payload; member
|