Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/mem/oom/
Doom04.c66 if (is_numa(cleanup, NH_MEMS, 2)) { in main()
90 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
104 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom05.c72 if (is_numa(cleanup, NH_MEMS, 2)) { in main()
113 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
129 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom02.c82 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
Doom03.c80 if (is_numa(cleanup, NH_MEMS, 2)) { in main()
/external/ltp/testcases/kernel/lib/
Dnuma_helper.c195 if ((flag & NH_MEMS) == NH_MEMS) { in get_allowed_nodes_arr()
277 print_node_info(NH_MEMS); in nh_dump_nodes()
279 print_node_info(NH_MEMS | NH_CPUS); in nh_dump_nodes()
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages01.c136 ret = get_allowed_nodes_arr(NH_MEMS, &num_nodes, &nodes); in test_invalid_nodes()
229 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
232 ret = get_allowed_nodes(NH_MEMS, 1, &node); in setup()
/external/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_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_pages10.c83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages06.c83 ret = get_allowed_nodes(NH_MEMS, 1, &from_node); in main()
Dmove_pages08.c83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages02.c83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
Dmove_pages04.c89 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.c121 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()
/external/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()
/external/ltp/testcases/kernel/include/
Dnuma_helper.h30 #define NH_MEMS (1 << 0) macro
/external/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c219 ret = get_allowed_nodes(NH_MEMS, 1, &test_node); in do_test()
301 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c235 ret = get_allowed_nodes(NH_MEMS, 1, &test_node); in do_test()
342 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
/external/ltp/testcases/kernel/mem/ksm/
Dksm06.c98 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c77 if (get_allowed_nodes_arr(NH_MEMS | NH_CPUS, &nnodes, &nodes) < 0) in main()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c179 ret = get_allowed_nodes_arr(NH_MEMS|NH_CPUS, &num_nodes, &nodes); in set_global_mempolicy()
587 ret = get_allowed_nodes_arr(NH_MEMS|NH_CPUS, &num_nodes, &nodes); in test_ksm_merge_across_nodes()
879 ret = get_allowed_nodes(NH_MEMS | NH_CPUS, 1, &nd1); in get_a_numa_node()

12