Searched refs:TOTAL_SEGS (Results 1 – 4 of 4) sorted by relevance
176 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()
82 for (i = 0; i < TOTAL_SEGS(sbi); i++) in get_usable_seg_count()98 return TOTAL_SEGS(sbi); in get_usable_seg_count()107 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in get_free_segments()1702 sit_i->sentries = calloc(TOTAL_SEGS(sbi) * sizeof(struct seg_entry), 1); in build_sit_info()1708 bitmap_size = TOTAL_SEGS(sbi) * SIT_VBLOCK_MAP_SIZE; in build_sit_info()1721 for (start = 0; start < TOTAL_SEGS(sbi); start++) { in build_sit_info()1973 ASSERT(segno < TOTAL_SEGS(sbi)); in build_curseg()2335 for (; segno < end && segno < TOTAL_SEGS(sbi); segno++) { in build_sit_entries()2361 if (segno >= TOTAL_SEGS(sbi)) { in build_sit_entries()2438 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in build_sit_area_bitmap()[all …]
459 #define TOTAL_BLKS(sbi) (TOTAL_SEGS(sbi) << (sbi)->log_blocks_per_seg)507 #define TOTAL_SEGS(sbi) (SM_I(sbi)->main_segments) macro
1918 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in fsck_chk_meta()2455 for (i = 0; i < TOTAL_SEGS(sbi); i++) { in check_sit_types()