Home
last modified time | relevance | path

Searched refs:hpages (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/lib/newlib_tests/
Dtest20.c21 unsigned long val, hpages; in do_test() local
26 hpages = test.request_hugepages; in do_test()
28 if (val != hpages) in do_test()
29 tst_brk(TBROK, "nr_hugepages = %lu, but expect %lu", val, hpages); in do_test()
33 hpages = tst_request_hugepages(3); in do_test()
35 if (val != hpages) in do_test()
36 tst_brk(TBROK, "nr_hugepages = %lu, but expect %lu", val, hpages); in do_test()
Dtest_zero_hugepage.c16 unsigned long val, hpages; in do_test() local
24 hpages = tst_request_hugepages(3); in do_test()
26 if (val != hpages) in do_test()
27 tst_brk(TBROK, "nr_hugepages = %lu, but expect %lu", val, hpages); in do_test()
/third_party/ltp/lib/
Dtst_hugepage.c23 unsigned long tst_request_hugepages(unsigned long hpages) in tst_request_hugepages() argument
35 tst_hugepages = hpages; in tst_request_hugepages()
37 if (hpages == TST_NO_HUGEPAGES) { in tst_request_hugepages()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c186 unsigned long hpages; in setup() local
218 SAFE_FILE_SCANF(path, "%lu", &hpages); in setup()
219 if (hpages != size) in setup()
/third_party/ltp/include/
Dtst_hugepage.h26 unsigned long tst_request_hugepages(unsigned long hpages);
/third_party/ltp/doc/
Dc-test-api.txt1954 number of hpages. With success test stores the reserved hugepage number in
1959 Also, we do cleanup and restore work for the hpages resetting automatically.