Searched refs:threshold_mb (Results 1 - 1 of 1) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 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() 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() 400 "Usage: %s [[-t <threshold_mb>] [-p <pattern_seed>]]\n" in usage() 401 "-t\t only validate threshold_mb of the remapped region\n" in usage() 409 static int parse_args(int argc, char **argv, unsigned int *threshold_mb, in parse_args() argument 368 run_mremap_test_case(struct test test_case, int *failures, unsigned int threshold_mb, unsigned int pattern_seed) run_mremap_test_case() argument 443 unsigned int threshold_mb = VALIDATION_DEFAULT_THRESHOLD; main() local [all...] |
Completed in 1 milliseconds