Lines Matching refs:get_cp
1164 unsigned int chksum_offset = get_cp(checksum_offset); in verify_checksum_chksum()
1214 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()
1217 pre_version = get_cp(checkpoint_ver); in validate_checkpoint()
1220 cp_addr += get_cp(cp_pack_total_block_count) - 1; in validate_checkpoint()
1226 cur_version = get_cp(checkpoint_ver); in validate_checkpoint()
1373 unsigned int flag = get_cp(ckpt_flags); in sanity_check_ckpt()
1390 fsmeta += get_cp(rsvd_segment_count); in sanity_check_ckpt()
1396 ovp_segments = get_cp(overprov_segment_count); in sanity_check_ckpt()
1397 reserved_segments = get_cp(rsvd_segment_count); in sanity_check_ckpt()
1406 user_block_count = get_cp(user_block_count); in sanity_check_ckpt()
1434 get_cp(overprov_segment_count)) * c.blks_per_seg); in sanity_check_ckpt()
1446 if (get_cp(cur_node_segno[i]) >= main_segs || in sanity_check_ckpt()
1447 get_cp(cur_node_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
1451 if (get_cp(cur_data_segno[i]) >= main_segs || in sanity_check_ckpt()
1452 get_cp(cur_data_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
1456 sit_bitmap_size = get_cp(sit_ver_bitmap_bytesize); in sanity_check_ckpt()
1457 nat_bitmap_size = get_cp(nat_ver_bitmap_bytesize); in sanity_check_ckpt()
1604 if (get_cp(cp_pack_total_block_count) <= in update_nat_bits_flags()
1782 nm_i->init_scan_nid = get_cp(next_free_nid); in init_node_manager()
1783 nm_i->next_scan_nid = get_cp(next_free_nid); in init_node_manager()
1875 sit_i->written_valid_blocks = get_cp(valid_block_count); in build_sit_info()
1880 sit_i->elapsed_time = get_cp(elapsed_time); in build_sit_info()
1999 segno = get_cp(cur_data_segno[type]); in read_normal_summaries()
2005 segno = get_cp(cur_node_segno[type - CURSEG_HOT_NODE]); in read_normal_summaries()
2096 blk_off = get_cp(cur_data_blkoff[i]); in build_curseg()
2097 segno = get_cp(cur_data_segno[i]); in build_curseg()
2100 blk_off = get_cp(cur_node_blkoff[i - CURSEG_HOT_NODE]); in build_curseg()
2101 segno = get_cp(cur_node_segno[i - CURSEG_HOT_NODE]); in build_curseg()
2257 if (segno == get_cp(cur_node_segno[type])) { in get_sum_block()
2272 if (segno == get_cp(cur_data_segno[type])) { in get_sum_block()
2524 sm_info->reserved_segments = get_cp(rsvd_segment_count); in early_build_segment_manager()
2525 sm_info->ovp_segments = get_cp(overprov_segment_count); in early_build_segment_manager()
3155 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in write_checkpoint()
3717 cur_time = (u32)get_cp(elapsed_time); in f2fs_do_mount()
3746 if (get_cp(ckpt_flags) & CP_QUOTA_NEED_FSCK_FLAG) in f2fs_do_mount()
3759 sbi->total_valid_node_count = get_cp(valid_node_count); in f2fs_do_mount()
3760 sbi->total_valid_inode_count = get_cp(valid_inode_count); in f2fs_do_mount()
3761 sbi->user_block_count = get_cp(user_block_count); in f2fs_do_mount()
3762 sbi->total_valid_block_count = get_cp(valid_block_count); in f2fs_do_mount()
3781 if (!f2fs_should_proceed(sb, get_cp(ckpt_flags))) in f2fs_do_mount()