Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dresize.c82 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()
457 block_t new_cp_blks = 1 + get_newsb(cp_payload); in rebuild_checkpoint()
490 set_cp(cp_pack_start_sum, 1 + get_newsb(cp_payload)); in rebuild_checkpoint()
491 set_cp(cp_pack_total_block_count, 8 + orphan_blks + get_newsb(cp_payload)); in rebuild_checkpoint()
553 for (i = 0; i < get_newsb(cp_payload); i++) { in rebuild_checkpoint()
559 block_t orphan_blk_no = old_cp_blk_no + 1 + get_sb(cp_payload); in rebuild_checkpoint()
Dmount.c425 DISP_u32(sb, cp_payload); in print_raw_sb_info()
921 if (get_sb(cp_payload) > (blocks_per_seg - F2FS_CP_PACKS)) { in sanity_check_raw_super()
923 get_sb(cp_payload), blocks_per_seg - F2FS_CP_PACKS); in sanity_check_raw_super()
1144 unsigned int cp_payload, cp_blks; in get_valid_checkpoint() local
1147 cp_payload = get_sb(cp_payload); in get_valid_checkpoint()
1148 if (cp_payload > F2FS_BLK_ALIGN(MAX_SIT_BITMAP_SIZE)) in get_valid_checkpoint()
1151 cp_blks = 1 + cp_payload; in get_valid_checkpoint()
1250 unsigned int cp_pack_start_sum, cp_payload; in sanity_check_ckpt() local
1337 cp_payload = __cp_payload(sbi); in sanity_check_ckpt()
1338 if (cp_pack_start_sum < cp_payload + 1 || in sanity_check_ckpt()
[all …]
Df2fs.h366 return le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload); in __cp_payload()
387 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
Dfsck.c1764 start_blk = __start_cp_addr(sbi) + 1 + get_sb(cp_payload); in fsck_chk_orphan_node()
1765 orphan_blkaddr = __start_sum_addr(sbi) - 1 - get_sb(cp_payload); in fsck_chk_orphan_node()
2192 orphan_blks + get_sb(cp_payload)); in fix_checkpoint()
2214 for (i = 0; i < get_sb(cp_payload); i++) { in fix_checkpoint()
/external/f2fs-tools/mkfs/
Df2fs_format.c371 set_sb(cp_payload, F2FS_BLK_ALIGN(diff)); in f2fs_prepare_super_block()
373 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
383 set_sb(cp_payload, F2FS_BLK_ALIGN(max_sit_bitmap_size)); in f2fs_prepare_super_block()
387 set_sb(cp_payload, 0); in f2fs_prepare_super_block()
678 char *cp_payload = NULL; in f2fs_write_check_point_pack() local
713 cp_payload = calloc(F2FS_BLKSIZE, 1); in f2fs_write_check_point_pack()
714 if (cp_payload == NULL) { in f2fs_write_check_point_pack()
769 set_cp(cp_pack_total_block_count, 6 + get_sb(cp_payload)); in f2fs_write_check_point_pack()
782 set_cp(cp_pack_start_sum, 1 + get_sb(cp_payload)); in f2fs_write_check_point_pack()
818 for (i = 0; i < get_sb(cp_payload); i++) { in f2fs_write_check_point_pack()
[all …]
/external/f2fs-tools/include/
Df2fs_fs.h766 __le32 cp_payload; member