Home
last modified time | relevance | path

Searched refs:nr_nodes (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c440 int nr_nodes = 0, max_node = gcp->numa_max_node; in get_current_nodeid_list() local
447 *(fromids + nr_nodes++) = node; in get_current_nodeid_list()
453 if (nr_nodes == 0) in get_current_nodeid_list()
456 return nr_nodes; in get_current_nodeid_list()
505 int nr_nodes, i; in numa_info() local
512 nr_nodes = get_current_nodeid_list(nodeids); in numa_info()
513 if (nr_nodes < 0) in numa_info()
516 for (i = 0; i < nr_nodes; ++i) { in numa_info()