Lines Matching refs:segs
2078 int segs = secs * SEGS_PER_SEC(sbi); in update_sb_metadata() local
2088 raw_sb->segment_count = cpu_to_le32(segment_count + segs); in update_sb_metadata()
2089 raw_sb->segment_count_main = cpu_to_le32(segment_count_main + segs); in update_sb_metadata()
2091 (long long)(segs << sbi->log_blocks_per_seg)); in update_sb_metadata()
2098 cpu_to_le32(dev_segs + segs); in update_sb_metadata()
2106 int segs = secs * SEGS_PER_SEC(sbi); in update_fs_metadata() local
2107 long long blks = (long long)segs << sbi->log_blocks_per_seg; in update_fs_metadata()
2111 SM_I(sbi)->segment_count = (int)SM_I(sbi)->segment_count + segs; in update_fs_metadata()
2112 MAIN_SEGS(sbi) = (int)MAIN_SEGS(sbi) + segs; in update_fs_metadata()
2115 FREE_I(sbi)->free_segments = (int)FREE_I(sbi)->free_segments + segs; in update_fs_metadata()
2122 (int)FDEV(last_dev).total_segments + segs; in update_fs_metadata()