Home
last modified time | relevance | path

Searched refs:total_sections (Results 1 – 4 of 4) sorted by relevance

/linux/fs/f2fs/
H A Dgc.h152 return free_sections(sbi) > ((sbi->total_sections * limit_perc) / 100); in has_enough_free_blocks()
H A Dsuper.c1795 unsigned int total_sections = le32_to_cpu(sbi->raw_super->section_count); in f2fs_sanity_check_options() local
1797 if (F2FS_OPTION(sbi).resizable_tail_secno >= total_sections) { in f2fs_sanity_check_options()
1799 F2FS_OPTION(sbi).resizable_tail_secno, total_sections); in f2fs_sanity_check_options()
4040 block_t total_sections, blocks_per_seg; in sanity_check_raw_super() local
4104 total_sections = le32_to_cpu(raw_super->section_count); in sanity_check_raw_super()
4115 if (total_sections > segment_count_main || total_sections < 1 || in sanity_check_raw_super()
4118 segment_count, total_sections, segs_per_sec); in sanity_check_raw_super()
4122 if (segment_count_main != total_sections * segs_per_sec) { in sanity_check_raw_super()
4124 segment_count_main, total_sections, segs_per_sec); in sanity_check_raw_super()
4128 if ((segment_count / segs_per_sec) < total_sections) { in sanity_check_raw_super()
[all …]
H A Dsegment.h45 #define MAIN_SECS(sbi) ((sbi)->total_sections)
H A Df2fs.h1872 unsigned int total_sections; /* total section count */ member