Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
H A Dcommands.c443 int nr_nodes = 0, max_node = gcp->numa_max_node; in get_current_nodeid_list() local
449 *(fromids + nr_nodes++) = node; in get_current_nodeid_list()
455 if (nr_nodes == 0) in get_current_nodeid_list()
458 return nr_nodes; in get_current_nodeid_list()
507 int nr_nodes, i; in numa_info() local
514 nr_nodes = get_current_nodeid_list(nodeids); in numa_info()
515 if (nr_nodes < 0) in numa_info()
518 for (i = 0; i < nr_nodes; ++i) { in numa_info()

Completed in 2 milliseconds