Searched refs:hpages (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/lib/newlib_tests/ |
D | test20.c | 21 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()
|
D | test_zero_hugepage.c | 16 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/ |
D | tst_hugepage.c | 23 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/ |
D | hugemmap05.c | 186 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/ |
D | tst_hugepage.h | 26 unsigned long tst_request_hugepages(unsigned long hpages);
|
/third_party/ltp/doc/ |
D | c-test-api.txt | 1954 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.
|