Searched refs:PAGES_ALLOCATED (Results 1 – 5 of 5) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/ |
D | set_mempolicy03.c | 21 #define PAGES_ALLOCATED 16u macro 34 nodes = tst_get_nodemap(TST_NUMA_MEM, 2 * PAGES_ALLOCATED * page_size / 1024); in setup() 66 alloc_fault_count(nodes, MNTPOINT "/numa-test-file", PAGES_ALLOCATED * page_size); in verify_mempolicy() 70 if (nodes->counters[i] == PAGES_ALLOCATED) { in verify_mempolicy() 72 node, PAGES_ALLOCATED); in verify_mempolicy() 75 node, nodes->counters[i], PAGES_ALLOCATED); in verify_mempolicy()
|
D | set_mempolicy01.c | 29 #define PAGES_ALLOCATED 16u macro 35 nodes = tst_get_nodemap(TST_NUMA_MEM, 2 * PAGES_ALLOCATED * page_size / 1024); in setup() 83 alloc_fault_count(nodes, NULL, PAGES_ALLOCATED * page_size); in verify_mempolicy() 88 if (nodes->counters[i] == PAGES_ALLOCATED) { in verify_mempolicy() 90 prefix, node, PAGES_ALLOCATED); in verify_mempolicy() 94 PAGES_ALLOCATED); in verify_mempolicy()
|
/third_party/ltp/testcases/kernel/syscalls/mbind/ |
D | mbind04.c | 28 #define PAGES_ALLOCATED 16u macro 34 nodes = tst_get_nodemap(TST_NUMA_MEM, 2 * PAGES_ALLOCATED * page_size / 1024); in setup() 50 unsigned long size = PAGES_ALLOCATED * page_size; in verify_policy() 87 if (nodes->counters[i] == PAGES_ALLOCATED) { in verify_policy() 89 prefix, node, PAGES_ALLOCATED); in verify_policy() 93 PAGES_ALLOCATED); in verify_policy()
|
/third_party/ltp/testcases/kernel/syscalls/get_mempolicy/ |
D | get_mempolicy02.c | 29 #define PAGES_ALLOCATED 16u macro 60 node = tst_get_nodemap(TST_NUMA_MEM, PAGES_ALLOCATED * getpagesize() / 1024); in setup()
|
D | get_mempolicy01.c | 30 #define PAGES_ALLOCATED 16u macro 147 node = tst_get_nodemap(TST_NUMA_MEM, PAGES_ALLOCATED * getpagesize() / 1024); in setup()
|