Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/mem/oom/
Doom04.c49 if (is_numa(NULL, NH_MEMS, 2)) { in verify_oom()
65 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
80 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom05.c57 if (is_numa(NULL, NH_MEMS, 2)) { in verify_oom()
89 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
107 ret = get_allowed_nodes(NH_MEMS, 1, &memnode); in setup()
Doom02.c56 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
Doom03.c63 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.c64 if (get_allowed_nodes_arr(NH_MEMS, &num_nodes, &nodes) < 0) 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_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_pages08.c84 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_pages07.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.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/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/mbind/
Dmbind01.c158 if (!is_numa(NULL, NH_MEMS, 1)) in setup()
167 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/include/
Dnuma_helper.h30 #define NH_MEMS (1 << 0) macro
/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()

12