Home
last modified time | relevance | path

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

/third_party/f2fs-tools/fsck/
Dresize.c176 for (i = TOTAL_SEGS(sbi) - 1; i >= 0; i--) { in migrate_main()
241 TOTAL_SEGS(sbi) - offset; in migrate_ssa()
259 offset = TOTAL_SEGS(sbi) - 1; in migrate_ssa()
413 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in migrate_sit()
Dmount.c83 for (i = 0; i < TOTAL_SEGS(sbi); i++) in get_usable_seg_count()
99 return TOTAL_SEGS(sbi); in get_usable_seg_count()
108 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in get_free_segments()
1775 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()
1781 bitmap_size = TOTAL_SEGS(sbi) * SIT_VBLOCK_MAP_SIZE; in build_sit_info()
1794 for (start = 0; start < TOTAL_SEGS(sbi); start++) { in build_sit_info()
2046 ASSERT(segno < TOTAL_SEGS(sbi)); in build_curseg()
2408 for (; segno < end && segno < TOTAL_SEGS(sbi); segno++) { in build_sit_entries()
2434 if (segno >= TOTAL_SEGS(sbi)) { in build_sit_entries()
2511 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in build_sit_area_bitmap()
[all …]
Df2fs.h463 #define TOTAL_BLKS(sbi) (TOTAL_SEGS(sbi) << (sbi)->log_blocks_per_seg)
511 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments) macro
Dfsck.c2062 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in fsck_chk_meta()
2605 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in check_sit_types()