Searched refs:set_cp (Results 1 – 6 of 6) sorted by relevance
/external/f2fs-tools/fsck/ |
D | resize.c | 471 set_cp(rsvd_segment_count, c.new_reserved_segments); in rebuild_checkpoint() 472 set_cp(overprov_segment_count, (get_newsb(segment_count_main) - in rebuild_checkpoint() 475 set_cp(overprov_segment_count, get_cp(overprov_segment_count) + in rebuild_checkpoint() 482 set_cp(free_segment_count, free_segment_count + new_segment_count); in rebuild_checkpoint() 483 set_cp(user_block_count, ((get_newsb(segment_count_main) - 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() 495 set_cp(cur_data_segno[i], in rebuild_checkpoint() 500 set_cp(cur_node_segno[n], in rebuild_checkpoint() 506 set_cp(sit_ver_bitmap_bytesize, in rebuild_checkpoint() [all …]
|
D | node.c | 36 set_cp(valid_inode_count, inode_cnt + 1); in f2fs_alloc_nid() 37 set_cp(valid_node_count, node_cnt + 1); in f2fs_alloc_nid()
|
D | mount.c | 2276 set_cp(cur_data_segno[i], CURSEG_I(sbi, i)->segno); in write_curseg_info() 2277 set_cp(cur_data_blkoff[i], in write_curseg_info() 2282 set_cp(cur_node_segno[n], CURSEG_I(sbi, i)->segno); in write_curseg_info() 2283 set_cp(cur_node_blkoff[n], in write_curseg_info() 2369 set_cp(free_segment_count, get_free_segments(sbi)); in write_checkpoint() 2370 set_cp(valid_block_count, sbi->total_valid_block_count); in write_checkpoint() 2371 set_cp(cp_pack_total_block_count, 8 + orphan_blks + get_sb(cp_payload)); in write_checkpoint() 2374 set_cp(ckpt_flags, flags); in write_checkpoint()
|
D | fsck.c | 2047 set_cp(cp_pack_total_block_count, cp_blocks + in fix_checkpoint() 2052 set_cp(ckpt_flags, flags); in fix_checkpoint() 2054 set_cp(free_segment_count, get_free_segments(sbi)); in fix_checkpoint() 2055 set_cp(valid_block_count, fsck->chk.valid_blk_cnt); in fix_checkpoint() 2056 set_cp(valid_node_count, fsck->chk.valid_node_cnt); in fix_checkpoint() 2057 set_cp(valid_inode_count, fsck->chk.valid_inode_cnt); in fix_checkpoint()
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 640 set_cp(cur_node_segno[0], c.cur_seg[CURSEG_HOT_NODE]); in f2fs_write_check_point_pack() 641 set_cp(cur_node_segno[1], c.cur_seg[CURSEG_WARM_NODE]); in f2fs_write_check_point_pack() 642 set_cp(cur_node_segno[2], c.cur_seg[CURSEG_COLD_NODE]); in f2fs_write_check_point_pack() 643 set_cp(cur_data_segno[0], c.cur_seg[CURSEG_HOT_DATA]); in f2fs_write_check_point_pack() 644 set_cp(cur_data_segno[1], c.cur_seg[CURSEG_WARM_DATA]); in f2fs_write_check_point_pack() 645 set_cp(cur_data_segno[2], c.cur_seg[CURSEG_COLD_DATA]); in f2fs_write_check_point_pack() 647 set_cp(cur_node_segno[i], 0xffffffff); in f2fs_write_check_point_pack() 648 set_cp(cur_data_segno[i], 0xffffffff); in f2fs_write_check_point_pack() 651 set_cp(cur_node_blkoff[0], 1 + c.quota_inum + c.lpf_inum); in f2fs_write_check_point_pack() 652 set_cp(cur_data_blkoff[0], 1 + c.quota_dnum + c.lpf_dnum); in f2fs_write_check_point_pack() [all …]
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 478 #define set_cp(member, val) \ macro
|