Searched refs:segs_per_sec (Results 1 – 3 of 3) sorted by relevance
| /linux/fs/f2fs/ |
| H A D | super.c | 4039 block_t segment_count, segs_per_sec, secs_per_zone, segment_count_main; in sanity_check_raw_super() local 4102 segs_per_sec = le32_to_cpu(raw_super->segs_per_sec); in sanity_check_raw_super() 4116 segs_per_sec > segment_count || !segs_per_sec) { 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() 4130 segment_count, segs_per_sec, total_sections); in sanity_check_raw_super() 4387 sbi->segs_per_sec = le32_to_cpu(raw_super->segs_per_sec); in init_sb_info()
|
| H A D | f2fs.h | 1870 unsigned int segs_per_sec; /* segments per section */ member 2109 #define BLKS_PER_SEC(sbi) (SEGS_TO_BLKS(sbi, (sbi)->segs_per_sec)) 2110 #define SEGS_PER_SEC(sbi) ((sbi)->segs_per_sec)
|
| H A D | segment.c | 3968 !((curseg->segno + 1) % sbi->segs_per_sec)) { in f2fs_allocate_data_block()
|