Lines Matching refs:threshold_mb
277 static long long remap_region(struct config c, unsigned int threshold_mb, in remap_region() argument
286 if (threshold_mb == VALIDATION_NO_THRESHOLD) in remap_region()
289 threshold = MIN(threshold_mb * _1MB, c.region_size); in remap_region()
369 unsigned int threshold_mb, in run_mremap_test_case() argument
372 long long remap_time = remap_region(test_case.config, threshold_mb, in run_mremap_test_case()
388 if (threshold_mb == VALIDATION_NO_THRESHOLD || in run_mremap_test_case()
389 test_case.config.region_size <= threshold_mb * _1MB) in run_mremap_test_case()
409 static int parse_args(int argc, char **argv, unsigned int *threshold_mb, in parse_args() argument
418 *threshold_mb = atoi(optarg); in parse_args()
443 unsigned int threshold_mb = VALIDATION_DEFAULT_THRESHOLD; in main() local
454 if (parse_args(argc, argv, &threshold_mb, &pattern_seed) < 0) in main()
458 threshold_mb, pattern_seed); in main()
514 run_perf_tests = (threshold_mb == VALIDATION_NO_THRESHOLD) || in main()
515 (threshold_mb * _1MB >= _1GB); in main()
521 run_mremap_test_case(test_cases[i], &failures, threshold_mb, in main()
541 threshold_mb, pattern_seed); in main()