Searched refs:MAIN_SEGS (Results 1 – 4 of 4) sorted by relevance
178 for (i = MAIN_SEGS(sbi) - 1; i >= 0; i--) { in migrate_main()243 MAIN_SEGS(sbi) - offset; in migrate_ssa()261 offset = MAIN_SEGS(sbi) - 1; in migrate_ssa()415 for (segno = 0; segno < MAIN_SEGS(sbi); segno++) { in migrate_sit()
84 for (i = 0; i < MAIN_SEGS(sbi); i++) in get_usable_seg_count()100 return MAIN_SEGS(sbi); in get_usable_seg_count()109 for (i = 0; i < MAIN_SEGS(sbi); i++) { in get_free_segments()1832 sit_i->sentries = calloc(MAIN_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()1838 bitmap_size = MAIN_SEGS(sbi) * SIT_VBLOCK_MAP_SIZE; in build_sit_info()1851 for (start = 0; start < MAIN_SEGS(sbi); start++) { in build_sit_info()2103 ASSERT(segno < MAIN_SEGS(sbi)); in build_curseg()2465 for (; segno < end && segno < MAIN_SEGS(sbi); segno++) { in build_sit_entries()2491 if (segno >= MAIN_SEGS(sbi)) { in build_sit_entries()2568 for (segno = 0; segno < MAIN_SEGS(sbi); segno++) { in build_sit_area_bitmap()[all …]
465 #define MAIN_SEGS(sbi) (SM_I(sbi)->main_segments) macro477 ((MAIN_SEGS(sbi) + SIT_ENTRY_PER_BLOCK - 1) / SIT_ENTRY_PER_BLOCK)
2067 for (i = 0; i < MAIN_SEGS(sbi); i++) { in fsck_chk_meta()2613 for (i = 0; i < MAIN_SEGS(sbi); i++) { in check_sit_types()3025 if (zone_segno >= MAIN_SEGS(sbi)) in chk_and_fix_wp_with_sit()