Home
last modified time | relevance | path

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

/tools/testing/selftests/vm/
Dgup_benchmark.c35 int i, fd, filed, opt, nr_pages = 1, thp = -1, repeats = 1, write = 0; in main() local
52 thp = 1; in main()
55 thp = 0; in main()
99 if (thp == 1) in main()
101 else if (thp == 0) in main()
/tools/perf/bench/
Dnuma.c111 int thp; member
195 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"),
368 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() argument
392 if (thp > 0) { in alloc_data()
399 if (thp < 0) { in alloc_data()
450 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data()
458 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data()
467 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data()