Home
last modified time | relevance | path

Searched refs:nr_pages (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/mem/ksm/
Dksm06.c45 static unsigned long nr_pages; variable
52 nr_pages = SAFE_STRTOUL(n_opt, 0, ULONG_MAX); in test_ksm()
54 nr_pages = 100; in test_ksm()
56 test_ksm_merge_across_nodes(nr_pages); in test_ksm()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c522 void test_ksm_merge_across_nodes(unsigned long nr_pages) in test_ksm_merge_across_nodes() argument
544 length = nr_pages * pagesize; in test_ksm_merge_across_nodes()
572 nr_pages * num_nodes); in test_ksm_merge_across_nodes()
582 "%ld", nr_pages * num_nodes); in test_ksm_merge_across_nodes()
586 group_check(1, 1, nr_pages * num_nodes - 1, 0, 0, 0, in test_ksm_merge_across_nodes()
587 nr_pages * num_nodes); in test_ksm_merge_across_nodes()
593 group_check(1, num_nodes, nr_pages * num_nodes - num_nodes, in test_ksm_merge_across_nodes()
594 0, 0, 0, nr_pages * num_nodes); in test_ksm_merge_across_nodes()
/third_party/ltp/testcases/kernel/mce-test/tools/
Dpage-types.c197 static unsigned long nr_pages[HASH_SIZE]; variable
390 for (i = 0; i < ARRAY_SIZE(nr_pages); i++) { in show_summary()
391 if (nr_pages[i]) in show_summary()
394 nr_pages[i], in show_summary()
395 pages2mb(nr_pages[i]), in show_summary()
563 nr_pages[hash_slot(flags)]++; in add_page()
/third_party/ltp/testcases/kernel/mem/include/
Dmem.h53 void test_ksm_merge_across_nodes(unsigned long nr_pages);