Lines Matching refs:TOTAL_SEGS
83 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()
2557 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in rewrite_sit_area_bitmap()
2680 for (segno = 0; segno < TOTAL_SEGS(sbi); segno++) { in flush_sit_entries()
3378 unsigned int free_blocks = TOTAL_SEGS(sbi) * sbi->blocks_per_seg - in find_fsync_inode()