Home
last modified time | relevance | path

Searched refs:segment_count (Results 1 – 6 of 6) sorted by relevance

/fs/f2fs/
Dsuper.c2705 u32 segment_count = le32_to_cpu(raw_super->segment_count); in sanity_check_area_boundary() local
2710 (segment_count << log_blocks_per_seg); in sanity_check_area_boundary()
2754 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
2762 raw_super->segment_count = cpu_to_le32((main_end_blkaddr - in sanity_check_area_boundary()
2775 (segment_count << log_blocks_per_seg), in sanity_check_area_boundary()
2786 block_t segment_count, segs_per_sec, secs_per_zone, segment_count_main; in sanity_check_raw_super() local
2855 segment_count = le32_to_cpu(raw_super->segment_count); in sanity_check_raw_super()
2864 if (segment_count > F2FS_MAX_SEGMENT || in sanity_check_raw_super()
2865 segment_count < F2FS_MIN_SEGMENTS) { in sanity_check_raw_super()
2866 f2fs_info(sbi, "Invalid segment count (%u)", segment_count); in sanity_check_raw_super()
[all …]
Ddebug.c178 si->segment_count[i] = sbi->segment_count[i]; in update_general_status()
449 si->block_count[SSR], si->segment_count[SSR]); in stat_show()
451 si->block_count[LFS], si->segment_count[LFS]); in stat_show()
486 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats()
Dgc.c1504 int segment_count; in update_sb_metadata() local
1512 segment_count = le32_to_cpu(raw_sb->segment_count); in update_sb_metadata()
1517 raw_sb->segment_count = cpu_to_le32(segment_count + segs); in update_sb_metadata()
1540 SM_I(sbi)->segment_count = (int)SM_I(sbi)->segment_count + segs; in update_fs_metadata()
Dsegment.h65 (SM_I(sbi) ? SM_I(sbi)->segment_count : \
66 le32_to_cpu(F2FS_RAW_SUPER(sbi)->segment_count))
Df2fs.h1042 unsigned int segment_count; /* total # of segments */ member
1555 unsigned int segment_count[2]; /* # of allocated segments */ member
3589 unsigned int segment_count[2]; member
3668 ((sbi)->segment_count[(curseg)->alloc_type]++)
Dsegment.c4702 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager()