Searched refs:nr_pages (Results 1 - 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/mem/ksm/ |
H A D | ksm06.c | 43 static unsigned long nr_pages = 100; variable 57 length = nr_pages * page_size; in test_ksm() 88 nr_pages * nodes->cnt); in test_ksm() 98 "%ld", nr_pages * nodes->cnt); in test_ksm() 102 ksm_group_check(1, 1, nr_pages * nodes->cnt - 1, 0, 0, 0, in test_ksm() 103 nr_pages * nodes->cnt); in test_ksm() 109 ksm_group_check(1, nodes->cnt, nr_pages * nodes->cnt - nodes->cnt, in test_ksm() 110 0, 0, 0, nr_pages * nodes->cnt); in test_ksm() 123 nr_pages = SAFE_STRTOUL(n_opt, 0, ULONG_MAX); in setup() 127 nodes = tst_get_nodemap(TST_NUMA_MEM, nr_pages * page_siz in setup() [all...] |
/third_party/ltp/testcases/kernel/mce-test/tools/ |
H A D | page-types.c | 197 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/ |
H A D | mem.h | 51 void test_ksm_merge_across_nodes(unsigned long nr_pages);
|
Completed in 2 milliseconds