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()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 …]
413 DISP_u32(sb, segment_count_main); in print_raw_sb_info()721 u32 segment_count_main = get_sb(segment_count_main); in sanity_check_area_boundary() local725 (segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()772 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()783 segment_count_main << log_blocks_per_seg); in sanity_check_area_boundary()1249 unsigned int segment_count_main; in sanity_check_ckpt() local1277 segment_count_main = get_sb(segment_count_main) + in sanity_check_ckpt()1281 segment_count_main << log_blocks_per_seg) { in sanity_check_ckpt()1298 if (seg_cnt_main != get_sb(segment_count_main)) { in sanity_check_ckpt()1300 segment_count_main << log_blocks_per_seg); in sanity_check_ckpt()[all …]
499 return get_sb(segment_count_main); in f2fs_get_usable_segments()520 return get_sb(segment_count_main); in f2fs_get_usable_segments()579 return get_sb(segment_count_main); in f2fs_get_usable_segments()
752 __le32 segment_count_main; /* # of segments for main area */ member1491 if (get_sb(segment_count_main) < 256) { in get_best_overprovision()
450 set_sb(segment_count_main, get_sb(section_count) * c.segs_per_sec); in f2fs_prepare_super_block()475 (get_sb(segment_count_main) - NR_CURSEG_TYPE) < in f2fs_prepare_super_block()1137 u64 end_blkaddr = (get_sb(segment_count_main) << in f2fs_discard_obsolete_dnode()
752 __u32 segment_count_main; /* # of segments for main area */ member