Home
last modified time | relevance | path

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

/tools/libs/light/
A Dlibxl_numa.c308 int min_nodes, int max_nodes, in libxl__get_numa_candidate() argument
421 if (!max_nodes || max_nodes > nr_suit_nodes) in libxl__get_numa_candidate()
422 max_nodes = nr_suit_nodes; in libxl__get_numa_candidate()
423 if (min_nodes > max_nodes) { in libxl__get_numa_candidate()
444 while (min_nodes <= max_nodes && *cndt_found == 0) { in libxl__get_numa_candidate()
A Dlibxl_utils.c831 int max_nodes) in libxl_node_bitmap_alloc() argument
836 if (max_nodes < 0) { in libxl_node_bitmap_alloc()
842 if (max_nodes == 0) in libxl_node_bitmap_alloc()
843 max_nodes = libxl_get_max_nodes(ctx); in libxl_node_bitmap_alloc()
844 if (max_nodes < 0) { in libxl_node_bitmap_alloc()
846 rc = max_nodes; in libxl_node_bitmap_alloc()
850 libxl_bitmap_alloc(ctx, nodemap, max_nodes); in libxl_node_bitmap_alloc()
1010 int max_nodes = xc_get_max_nodes(ctx->xch); in libxl_get_max_nodes() local
1012 return max_nodes < 0 ? ERROR_FAIL : max_nodes; in libxl_get_max_nodes()
A Dlibxl_internal.h4456 int min_nodes, int max_nodes,
/tools/libs/ctrl/
A Dxc_misc.c53 static int max_nodes = 0; in xc_get_max_nodes() local
56 if ( max_nodes ) in xc_get_max_nodes()
57 return max_nodes; in xc_get_max_nodes()
61 max_nodes = physinfo.max_node_id + 1; in xc_get_max_nodes()
62 return max_nodes; in xc_get_max_nodes()
79 int max_nodes = xc_get_max_nodes(xch); in xc_get_nodemap_size() local
81 if ( max_nodes < 0 ) in xc_get_nodemap_size()
83 return (max_nodes + 7) / 8; in xc_get_nodemap_size()
301 *max_nodes * *max_nodes * sizeof(*distance), in xc_numainfo()
309 sysctl.u.numainfo.num_nodes = *max_nodes; in xc_numainfo()
[all …]
/tools/include/
A Dlibxl_utils.h159 int max_nodes);
A Dxenctrl.h1153 int xc_numainfo(xc_interface *xch, unsigned *max_nodes,

Completed in 43 milliseconds