Lines Matching refs:segs_per_sec
56 log_base_2(sbi->segs_per_sec * sbi->blocks_per_seg); in get_zone_idx_from_dev()
61 unsigned int secno = segno / sbi->segs_per_sec; in is_usable_seg()
63 block_t blocks_per_sec = sbi->blocks_per_seg * sbi->segs_per_sec; in is_usable_seg()
402 DISP_u32(sb, segs_per_sec); in print_raw_sb_info()
802 unsigned int segment_count, segs_per_sec, secs_per_zone, segs_per_zone; in sanity_check_raw_super() local
851 segs_per_sec = get_sb(segs_per_sec); in sanity_check_raw_super()
854 segs_per_zone = segs_per_sec * secs_per_zone; in sanity_check_raw_super()
868 segs_per_sec > segment_count || !segs_per_sec)) { in sanity_check_raw_super()
870 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
874 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
876 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super()
1082 sbi->segs_per_sec = get_sb(segs_per_sec); in init_sb_info()
1124 MSG(0, "Info: Segments per section = %d\n", sbi->segs_per_sec); in init_sb_info()
2731 if (sbi->segs_per_sec == 1) in set_section_type()
2734 for (i = 0; i < sbi->segs_per_sec; i++) { in set_section_type()
2829 if (vblocks == 0 && !(segno % sbi->segs_per_sec)) { in find_next_free_block()
2833 for (i = 1; i < sbi->segs_per_sec; i++) { in find_next_free_block()
2839 if (i == sbi->segs_per_sec && in find_next_free_block()