Home
last modified time | relevance | path

Searched refs:PAGES_ALLOCATED (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
Dset_mempolicy03.c21 #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()
Dset_mempolicy01.c29 #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/
Dmbind04.c28 #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/
Dget_mempolicy02.c29 #define PAGES_ALLOCATED 16u macro
60 node = tst_get_nodemap(TST_NUMA_MEM, PAGES_ALLOCATED * getpagesize() / 1024); in setup()
Dget_mempolicy01.c30 #define PAGES_ALLOCATED 16u macro
147 node = tst_get_nodemap(TST_NUMA_MEM, PAGES_ALLOCATED * getpagesize() / 1024); in setup()