Home
last modified time | relevance | path

Searched refs:thp (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/vm/
Dgup_benchmark.c42 int i, fd, filed, opt, nr_pages = 1, thp = -1, repeats = 1, write = 0; in main() local
68 thp = 1; in main()
71 thp = 0; in main()
120 if (thp == 1) in main()
122 else if (thp == 0) in main()
Dkhugepaged.c350 bool thp = false; in check_huge() local
388 thp = true; in check_huge()
391 return thp; in check_huge()
/tools/perf/bench/
Dnuma.c111 int thp; member
196 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"),
373 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() argument
397 if (thp > 0) { in alloc_data()
404 if (thp < 0) { in alloc_data()
455 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data()
463 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data()
472 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data()