Home
last modified time | relevance | path

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

/xen/tools/libxl/
A Dlibxl_numa.c141 static int nodemap_to_nr_cpus(libxl_cputopology *tinfo, int nr_cpus, in nodemap_to_nr_cpus() argument
149 libxl_bitmap_test(nodemap, tinfo[i].node)) in nodemap_to_nr_cpus()
182 static int nr_vcpus_on_nodes(libxl__gc *gc, libxl_cputopology *tinfo, in nr_vcpus_on_nodes() argument
244 int node = tinfo[k].node; in nr_vcpus_on_nodes()
279 static int count_cpus_per_node(libxl_cputopology *tinfo, int nr_cpus, in count_cpus_per_node() argument
290 if (tinfo[i].node == j) in count_cpus_per_node()
315 libxl_cputopology *tinfo = NULL; in libxl__get_numa_candidate() local
363 tinfo = libxl_get_cpu_topology(CTX, &nr_cpus); in libxl__get_numa_candidate()
364 if (tinfo == NULL) { in libxl__get_numa_candidate()
409 cpus_per_node = count_cpus_per_node(tinfo, nr_cpus, nr_nodes); in libxl__get_numa_candidate()
[all …]
A Dlibxl_utils.c907 libxl_cputopology *tinfo = NULL; in libxl_get_online_socketmap() local
910 tinfo = libxl_get_cpu_topology(ctx, &nr_cpus); in libxl_get_online_socketmap()
911 if (tinfo == NULL) { in libxl_get_online_socketmap()
923 libxl_cputopology_list_free(tinfo, nr_cpus); in libxl_get_online_socketmap()
931 libxl_cputopology *tinfo = NULL; in libxl_nodemap_to_cpumap() local
935 if (tinfo == NULL) { in libxl_nodemap_to_cpumap()
946 libxl_cputopology_list_free(tinfo, nr_cpus); in libxl_nodemap_to_cpumap()
976 libxl_cputopology *tinfo = NULL; in libxl_cpumap_to_nodemap() local
980 if (tinfo == NULL) { in libxl_cpumap_to_nodemap()
989 libxl_bitmap_set(nodemap, tinfo[i].node); in libxl_cpumap_to_nodemap()
[all …]
/xen/tools/
A Dconfigure.ac397 AC_CHECK_LIB([tinfo], [define_key], [TINFO_LIBS=-ltinfo])

Completed in 7 milliseconds