Searched refs:segment_count_main (Results 1 – 5 of 5) 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()154 if ((get_sb(segment_count_main) - 2) < c.new_reserved_segments || in get_new_sb()155 get_sb(segment_count_main) * blks_per_seg > in get_new_sb()160 (get_sb(segment_count_main) - 2)); in get_new_sb()473 set_cp(overprov_segment_count, (get_newsb(segment_count_main) - in rebuild_checkpoint()480 new_segment_count = get_newsb(segment_count_main) - in rebuild_checkpoint()481 get_sb(segment_count_main); in rebuild_checkpoint()484 set_cp(user_block_count, ((get_newsb(segment_count_main) - in rebuild_checkpoint()[all …]
414 DISP_u32(sb, segment_count_main); in print_raw_sb_info()717 u32 segment_count_main = get_sb(segment_count_main); in sanity_check_area_boundary() local721 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()768 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()779 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()1322 unsigned int segment_count_main; in sanity_check_ckpt() local1350 segment_count_main = get_sb(segment_count_main) + in sanity_check_ckpt()1354 segment_count_main << log_blocks_per_seg) { in sanity_check_ckpt()1371 if (seg_cnt_main != get_sb(segment_count_main)) { in sanity_check_ckpt()1373 segment_count_main << log_blocks_per_seg); in sanity_check_ckpt()[all …]
511 return get_sb(segment_count_main); in f2fs_get_usable_segments()532 return get_sb(segment_count_main); in f2fs_get_usable_segments()591 return get_sb(segment_count_main); in f2fs_get_usable_segments()
475 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()500 (get_sb(segment_count_main) - NR_CURSEG_TYPE) < in f2fs_prepare_super_block()1157 u64 end_blkaddr = (get_sb(segment_count_main) << in f2fs_discard_obsolete_dnode()
778 __le32 segment_count_main; /* # of segments for main area */ member1578 if (get_sb(segment_count_main) < 256) { in get_best_overprovision()