/external/ltp/testcases/kernel/mem/oom/ |
D | oom04.c | 50 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()
|
D | oom05.c | 58 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()
|
D | oom02.c | 57 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
|
D | oom03.c | 64 if (is_numa(NULL, NH_MEMS, 2)) { in verify_oom()
|
/external/ltp/testcases/kernel/lib/ |
D | numa_helper.c | 184 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/ |
D | migrate_pages01.c | 130 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()
|
D | migrate_pages03.c | 55 if (get_allowed_nodes_arr(NH_MEMS, &num_nodes, &nodes) < 0) in setup()
|
/external/ltp/testcases/kernel/mem/vma/ |
D | vma02.c | 78 err = get_allowed_nodes(NH_MEMS | NH_MEMS, 1, &node); in main()
|
D | vma04.c | 96 err = get_allowed_nodes(NH_MEMS | NH_MEMS, 1, &node); in main()
|
/external/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages_support.c | 121 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()
|
D | move_pages07.c | 83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
|
D | move_pages10.c | 83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
|
D | move_pages09.c | 82 ret = get_allowed_nodes(NH_MEMS, 1, &from_node); in main()
|
D | move_pages06.c | 83 ret = get_allowed_nodes(NH_MEMS, 1, &from_node); in main()
|
D | move_pages02.c | 83 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
|
D | move_pages04.c | 99 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
|
D | move_pages03.c | 121 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
|
D | move_pages11.c | 122 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
|
D | move_pages05.c | 122 ret = get_allowed_nodes(NH_MEMS, 2, &from_node, &to_node); in main()
|
/external/ltp/testcases/kernel/include/ |
D | numa_helper.h | 30 #define NH_MEMS (1 << 0) macro
|
/external/ltp/testcases/kernel/syscalls/mbind/ |
D | mbind01.c | 146 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/ |
D | get_mempolicy01.c | 231 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/ |
D | ksm06.c | 73 if (!is_numa(NULL, NH_MEMS, 2)) in setup()
|
/external/ltp/testcases/kernel/mem/cpuset/ |
D | cpuset01.c | 90 if (get_allowed_nodes_arr(NH_MEMS | NH_CPUS, &nnodes, &nodes) < 0) in setup()
|
/external/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 175 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()
|