Lines Matching refs:nr_nodes
280 int nr_nodes) in count_cpus_per_node() argument
286 for (j = 0; j < nr_nodes; j++) { in count_cpus_per_node()
317 int nr_nodes = 0, nr_suit_nodes, nr_cpus = 0; in libxl__get_numa_candidate() local
326 ninfo = libxl_get_numainfo(CTX, &nr_nodes); in libxl__get_numa_candidate()
330 if (nr_nodes <= 1) { in libxl__get_numa_candidate()
335 GCNEW_ARRAY(vcpus_on_node, nr_nodes); in libxl__get_numa_candidate()
352 if (nr_nodes > 16) { in libxl__get_numa_candidate()
358 nr_nodes); in libxl__get_numa_candidate()
409 cpus_per_node = count_cpus_per_node(tinfo, nr_cpus, nr_nodes); in libxl__get_numa_candidate()
486 new_cndt.nr_nodes = libxl_bitmap_count_set(&nodemap); in libxl__get_numa_candidate()
500 "free_memkb=%"PRIu64"", new_cndt.nr_nodes, in libxl__get_numa_candidate()
507 cndt_out->nr_nodes = new_cndt.nr_nodes; in libxl__get_numa_candidate()
524 libxl_numainfo_list_free(ninfo, nr_nodes); in libxl__get_numa_candidate()