Searched refs:set_cp (Results 1 – 6 of 6) sorted by relevance
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 579 set_cp(cur_node_segno[0], c.cur_seg[CURSEG_HOT_NODE]); in f2fs_write_check_point_pack() 580 set_cp(cur_node_segno[1], c.cur_seg[CURSEG_WARM_NODE]); in f2fs_write_check_point_pack() 581 set_cp(cur_node_segno[2], c.cur_seg[CURSEG_COLD_NODE]); in f2fs_write_check_point_pack() 582 set_cp(cur_data_segno[0], c.cur_seg[CURSEG_HOT_DATA]); in f2fs_write_check_point_pack() 583 set_cp(cur_data_segno[1], c.cur_seg[CURSEG_WARM_DATA]); in f2fs_write_check_point_pack() 584 set_cp(cur_data_segno[2], c.cur_seg[CURSEG_COLD_DATA]); in f2fs_write_check_point_pack() 586 set_cp(cur_node_segno[i], 0xffffffff); in f2fs_write_check_point_pack() 587 set_cp(cur_data_segno[i], 0xffffffff); in f2fs_write_check_point_pack() 597 set_cp(cur_node_blkoff[0], 1 + quota_inum); in f2fs_write_check_point_pack() 598 set_cp(cur_data_blkoff[0], 1 + quota_dnum); in f2fs_write_check_point_pack() [all …]
|
/external/f2fs-tools/fsck/ |
D | resize.c | 437 set_cp(rsvd_segment_count, c.new_reserved_segments); in rebuild_checkpoint() 438 set_cp(overprov_segment_count, (get_newsb(segment_count_main) - in rebuild_checkpoint() 441 set_cp(overprov_segment_count, get_cp(overprov_segment_count) + in rebuild_checkpoint() 448 set_cp(free_segment_count, free_segment_count + new_segment_count); in rebuild_checkpoint() 449 set_cp(user_block_count, ((get_newsb(segment_count_main) - in rebuild_checkpoint() 455 set_cp(cp_pack_start_sum, 1 + get_newsb(cp_payload)); in rebuild_checkpoint() 456 set_cp(cp_pack_total_block_count, 8 + orphan_blks + get_newsb(cp_payload)); in rebuild_checkpoint() 461 set_cp(cur_data_segno[i], in rebuild_checkpoint() 466 set_cp(cur_node_segno[n], in rebuild_checkpoint() 472 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 | 1889 set_cp(free_segment_count, free_segs); in flush_sit_entries() 2002 set_cp(cur_data_segno[i], CURSEG_I(sbi, i)->segno); in write_curseg_info() 2003 set_cp(cur_data_blkoff[i], in write_curseg_info() 2008 set_cp(cur_node_segno[n], CURSEG_I(sbi, i)->segno); in write_curseg_info() 2009 set_cp(cur_node_blkoff[n], in write_curseg_info() 2091 set_cp(free_segment_count, get_free_segments(sbi)); in write_checkpoint() 2092 set_cp(valid_block_count, sbi->total_valid_block_count); in write_checkpoint() 2093 set_cp(cp_pack_total_block_count, 8 + orphan_blks + get_sb(cp_payload)); in write_checkpoint() 2096 set_cp(ckpt_flags, flags); in write_checkpoint()
|
D | fsck.c | 1936 set_cp(cp_pack_total_block_count, 8 + orphan_blks + get_sb(cp_payload)); in fix_checkpoint() 1940 set_cp(ckpt_flags, flags); in fix_checkpoint() 1942 set_cp(free_segment_count, get_free_segments(sbi)); in fix_checkpoint() 1943 set_cp(valid_block_count, fsck->chk.valid_blk_cnt); in fix_checkpoint() 1944 set_cp(valid_node_count, fsck->chk.valid_node_cnt); in fix_checkpoint() 1945 set_cp(valid_inode_count, fsck->chk.valid_inode_cnt); in fix_checkpoint()
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 446 #define set_cp(member, val) \ macro
|