• Home
  • Raw
  • Download

Lines Matching refs:get_cp

1134 	unsigned int chksum_offset = get_cp(checksum_offset);  in verify_checksum_chksum()
1184 if (get_cp(cp_pack_total_block_count) > sbi->blocks_per_seg) in validate_checkpoint()
1187 pre_version = get_cp(checkpoint_ver); in validate_checkpoint()
1190 cp_addr += get_cp(cp_pack_total_block_count) - 1; in validate_checkpoint()
1196 cur_version = get_cp(checkpoint_ver); in validate_checkpoint()
1316 unsigned int flag = get_cp(ckpt_flags); in sanity_check_ckpt()
1333 fsmeta += get_cp(rsvd_segment_count); in sanity_check_ckpt()
1339 ovp_segments = get_cp(overprov_segment_count); in sanity_check_ckpt()
1340 reserved_segments = get_cp(rsvd_segment_count); in sanity_check_ckpt()
1349 user_block_count = get_cp(user_block_count); in sanity_check_ckpt()
1377 get_cp(overprov_segment_count)) * c.blks_per_seg); in sanity_check_ckpt()
1389 if (get_cp(cur_node_segno[i]) >= main_segs || in sanity_check_ckpt()
1390 get_cp(cur_node_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
1394 if (get_cp(cur_data_segno[i]) >= main_segs || in sanity_check_ckpt()
1395 get_cp(cur_data_blkoff[i]) >= blocks_per_seg) in sanity_check_ckpt()
1399 sit_bitmap_size = get_cp(sit_ver_bitmap_bytesize); in sanity_check_ckpt()
1400 nat_bitmap_size = get_cp(nat_ver_bitmap_bytesize); in sanity_check_ckpt()
1547 if (get_cp(cp_pack_total_block_count) <= in update_nat_bits_flags()
1725 nm_i->init_scan_nid = get_cp(next_free_nid); in init_node_manager()
1726 nm_i->next_scan_nid = get_cp(next_free_nid); in init_node_manager()
1818 sit_i->written_valid_blocks = get_cp(valid_block_count); in build_sit_info()
1823 sit_i->elapsed_time = get_cp(elapsed_time); in build_sit_info()
1942 segno = get_cp(cur_data_segno[type]); in read_normal_summaries()
1948 segno = get_cp(cur_node_segno[type - CURSEG_HOT_NODE]); in read_normal_summaries()
2039 blk_off = get_cp(cur_data_blkoff[i]); in build_curseg()
2040 segno = get_cp(cur_data_segno[i]); in build_curseg()
2043 blk_off = get_cp(cur_node_blkoff[i - CURSEG_HOT_NODE]); in build_curseg()
2044 segno = get_cp(cur_node_segno[i - CURSEG_HOT_NODE]); in build_curseg()
2200 if (segno == get_cp(cur_node_segno[type])) { in get_sum_block()
2215 if (segno == get_cp(cur_data_segno[type])) { in get_sum_block()
2467 sm_info->reserved_segments = get_cp(rsvd_segment_count); in early_build_segment_manager()
2468 sm_info->ovp_segments = get_cp(overprov_segment_count); in early_build_segment_manager()
3090 *((__le32 *)((unsigned char *)cp + get_cp(checksum_offset))) = in write_checkpoint()
3633 if (get_cp(ckpt_flags) & CP_QUOTA_NEED_FSCK_FLAG) in f2fs_do_mount()
3646 sbi->total_valid_node_count = get_cp(valid_node_count); in f2fs_do_mount()
3647 sbi->total_valid_inode_count = get_cp(valid_inode_count); in f2fs_do_mount()
3648 sbi->user_block_count = get_cp(user_block_count); in f2fs_do_mount()
3649 sbi->total_valid_block_count = get_cp(valid_block_count); in f2fs_do_mount()
3668 if (!f2fs_should_proceed(sb, get_cp(ckpt_flags))) in f2fs_do_mount()