Searched refs:n_periods (Results 1 – 1 of 1) sorted by relevance
682 long usage_usec, n_periods, remainder_usec, expected_usage_usec; in test_cpucg_max() local719 n_periods = duration_usec / default_period_usec; in test_cpucg_max()720 remainder_usec = duration_usec - n_periods * default_period_usec; in test_cpucg_max()722 = n_periods * quota_usec + MIN(remainder_usec, quota_usec); in test_cpucg_max()749 long usage_usec, n_periods, remainder_usec, expected_usage_usec; in test_cpucg_max_nested() local793 n_periods = duration_usec / default_period_usec; in test_cpucg_max_nested()794 remainder_usec = duration_usec - n_periods * default_period_usec; in test_cpucg_max_nested()796 = n_periods * quota_usec + MIN(remainder_usec, quota_usec); in test_cpucg_max_nested()