Searched refs:segment_count_main (Results 1 – 6 of 6) sorted by relevance
136 set_sb(segment_count_main, get_sb(segment_count) - in get_new_sb()142 set_sb(section_count, get_sb(segment_count_main) / in get_new_sb()145 set_sb(segment_count_main, get_sb(section_count) * in get_new_sb()156 if ((get_sb(segment_count_main) - 2) < c.new_reserved_segments || in get_new_sb()157 get_sb(segment_count_main) * blks_per_seg > in get_new_sb()162 (get_sb(segment_count_main) - 2)); in get_new_sb()475 set_cp(overprov_segment_count, (get_newsb(segment_count_main) - in rebuild_checkpoint()492 new_segment_count = get_newsb(segment_count_main) - in rebuild_checkpoint()493 get_sb(segment_count_main); in rebuild_checkpoint()496 set_cp(user_block_count, ((get_newsb(segment_count_main) - in rebuild_checkpoint()[all …]
415 DISP_u32(sb, segment_count_main); in print_raw_sb_info()782 u32 segment_count_main = get_sb(segment_count_main); in sanity_check_area_boundary() local786 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()833 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()844 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()1379 unsigned int segment_count_main; in sanity_check_ckpt() local1407 segment_count_main = get_sb(segment_count_main) + in sanity_check_ckpt()1411 segment_count_main << log_blocks_per_seg) { in sanity_check_ckpt()1428 if (seg_cnt_main != get_sb(segment_count_main)) { in sanity_check_ckpt()1430 segment_count_main << log_blocks_per_seg); in sanity_check_ckpt()[all …]
420 (le32_to_cpu(F2FS_RAW_SUPER(sbi)->segment_count_main) << in __end_block_addr()
515 return get_sb(segment_count_main); in f2fs_get_usable_segments()536 return get_sb(segment_count_main); in f2fs_get_usable_segments()596 return get_sb(segment_count_main); in f2fs_get_usable_segments()
476 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()501 (get_sb(segment_count_main) - NR_CURSEG_TYPE) < in f2fs_prepare_super_block()1165 u64 end_blkaddr = (get_sb(segment_count_main) << in f2fs_discard_obsolete_dnode()
818 __le32 segment_count_main; /* # of segments for main area */ member1627 if (get_sb(segment_count_main) < 256) { in get_best_overprovision()