Home
last modified time | relevance | path

Searched refs:NH_MEMS (Results 1 – 25 of 26) sorted by relevance

12

/third_party/ltp/testcases/kernel/mem/oom/
Doom04.c49 if (is_numa(NULL, NH_MEMS, 2) && in verify_oom()
67 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
82 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom05.c55 if (is_numa(NULL, NH_MEMS, 2) && in verify_oom()
87 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
103 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom02.c57 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
Doom03.c74 if (is_numa(NULL, NH_MEMS, 2)) { in verify_oom()
/third_party/ltp/testcases/kernel/lib/
Dnuma_helper.c184 if ((flag & NH_MEMS) == NH_MEMS) { in get_allowed_nodes_arr()
266 print_node_info(NH_MEMS); in nh_dump_nodes()
268 print_node_info(NH_MEMS | NH_CPUS); in nh_dump_nodes()
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages01.c130 ret = get_allowed_nodes_arr(NH_MEMS, &num_nodes, &nodes); in test_invalid_nodes()
220 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
223 ret = get_allowed_nodes(NH_MEMS, 1, &node); in setup()
Dmigrate_pages03.c55 if (get_allowed_nodes_arr(NH_MEMS, &num_nodes, &nodes) < 0) in setup()
/third_party/ltp/testcases/kernel/mem/vma/
Dvma02.c78 err = get_allowed_nodes(NH_MEMS | NH_MEMS, 1, &node); in main()
Dvma04.c96 err = get_allowed_nodes(NH_MEMS | NH_MEMS, 1, &node); in main()
/third_party/ltp/testcases/kernel/syscalls/move_pages/
Dmove_pages_support.c121 ret = get_allowed_nodes_arr(NH_MEMS, &num_allowed_nodes, in alloc_pages_linear()
225 ret = get_allowed_nodes_arr(NH_MEMS, &num_allowed_nodes, in verify_pages_linear()
399 ret = get_allowed_nodes_arr(NH_MEMS, &num_allowed_nodes, NULL); in check_config()
Dmove_pages06.c83 ret = get_allowed_nodes(NH_MEMS, 1, &from_node); in main()
Dmove_pages10.c83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages07.c83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages09.c82 ret = get_allowed_nodes(NH_MEMS, 1, &from_node); in main()
Dmove_pages02.c83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages04.c99 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages03.c121 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages11.c122 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages05.c122 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages12.c266 ret = get_allowed_nodes(NH_MEMS, TEST_NODES, &node1, &node2); in setup()
/third_party/ltp/testcases/kernel/include/
Dnuma_helper.h30 #define NH_MEMS (1 << 0) macro
/third_party/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c174 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
183 if (get_allowed_nodes(NH_MEMS, 1, &test_node) < 0) in setup_node()
/third_party/ltp/testcases/kernel/mem/ksm/
Dksm06.c64 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c178 ret = get_allowed_nodes_arr(NH_MEMS|NH_CPUS, &num_nodes, &nodes); in set_global_mempolicy()
534 ret = get_allowed_nodes_arr(NH_MEMS, &num_nodes, &nodes); in test_ksm_merge_across_nodes()
674 ret = get_allowed_nodes(NH_MEMS | NH_CPUS, 1, &nd1); in get_a_numa_node()
/third_party/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c85 if (get_allowed_nodes_arr(NH_MEMS | NH_CPUS, &nnodes, &nodes) < 0) in setup()

12