Lines Matching refs:threshold_mb
108 static long long remap_region(struct config c, unsigned int threshold_mb, in remap_region() argument
117 if (threshold_mb == VALIDATION_NO_THRESHOLD) in remap_region()
120 threshold = MIN(threshold_mb * _1MB, c.region_size); in remap_region()
189 unsigned int threshold_mb, in run_mremap_test_case() argument
192 long long remap_time = remap_region(test_case.config, threshold_mb, in run_mremap_test_case()
208 if (threshold_mb == VALIDATION_NO_THRESHOLD || in run_mremap_test_case()
209 test_case.config.region_size <= threshold_mb * _1MB) in run_mremap_test_case()
229 static int parse_args(int argc, char **argv, unsigned int *threshold_mb, in parse_args() argument
238 *threshold_mb = atoi(optarg); in parse_args()
263 unsigned int threshold_mb = VALIDATION_DEFAULT_THRESHOLD; in main() local
272 if (parse_args(argc, argv, &threshold_mb, &pattern_seed) < 0) in main()
276 threshold_mb, pattern_seed); in main()
332 run_perf_tests = (threshold_mb == VALIDATION_NO_THRESHOLD) || in main()
333 (threshold_mb * _1MB >= _1GB); in main()
339 run_mremap_test_case(test_cases[i], &failures, threshold_mb, in main()
347 threshold_mb, pattern_seed); in main()