Searched refs:TOTAL_SEGS (Results 1 – 4 of 4) sorted by relevance
145 for (i = TOTAL_SEGS(sbi) - 1; i >= 0; i--) { in migrate_main()210 TOTAL_SEGS(sbi) - offset; in migrate_ssa()228 offset = TOTAL_SEGS(sbi) - 1; in migrate_ssa()378 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in migrate_sit()
35 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in get_free_segments()1106 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()1110 for (start = 0; start < TOTAL_SEGS(sbi); start++) { in build_sit_info()1329 ASSERT(segno < TOTAL_SEGS(sbi)); in build_curseg()1634 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in build_sit_entries()1703 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in build_sit_area_bitmap()1746 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in rewrite_sit_area_bitmap()1866 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in flush_sit_entries()2426 for (i = 0; i < TOTAL_SEGS(sbi); i++) in f2fs_do_umount()
356 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments) macro
1716 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in fsck_chk_meta()1728 if (fsck->chk.sit_free_segs + sit_valid_segs != TOTAL_SEGS(sbi)) { in fsck_chk_meta()1732 TOTAL_SEGS(sbi)); in fsck_chk_meta()2016 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in check_sit_types()