Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/mem/oom/
Doom04.c50 if (is_numa(NULL, NH_MEMS, 2)) { in verify_oom()
66 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
81 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom05.c58 if (is_numa(NULL, NH_MEMS, 2)) { in verify_oom()
90 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
108 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom02.c57 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
Doom03.c64 if (is_numa(NULL, NH_MEMS, 2)) { in verify_oom()
/external/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()
/external/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()
/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/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_pages10.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_pages06.c83 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()
/external/ltp/testcases/kernel/include/
Dnuma_helper.h30 #define NH_MEMS (1 << 0) macro
/external/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c146 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
155 if (get_allowed_nodes(NH_MEMS, 1, &test_node) < 0) in setup_node()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c231 ret = get_allowed_nodes(NH_MEMS, 1, &test_node); in do_test()
308 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
/external/ltp/testcases/kernel/mem/ksm/
Dksm06.c73 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
/external/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c90 if (get_allowed_nodes_arr(NH_MEMS | NH_CPUS, &nnodes, &nodes) < 0) in setup()
/external/ltp/testcases/kernel/mem/lib/
Dmem.c175 ret = get_allowed_nodes_arr(NH_MEMS|NH_CPUS, &num_nodes, &nodes); in set_global_mempolicy()
538 ret = get_allowed_nodes_arr(NH_MEMS, &num_nodes, &nodes); in test_ksm_merge_across_nodes()
783 ret = get_allowed_nodes(NH_MEMS | NH_CPUS, 1, &nd1); in get_a_numa_node()

12