Searched refs:cputopo (Results 1 – 7 of 7) sorted by relevance
/xen-4.10.0-shim-comet/xen/common/ |
A D | sysctl.c | 353 if ( !guest_handle_is_null(ti->cputopo) ) in do_sysctl() 355 struct xen_sysctl_cputopo cputopo = { }; in do_sysctl() local 363 cputopo.core = cpu_to_core(i); in do_sysctl() 364 cputopo.socket = cpu_to_socket(i); in do_sysctl() 365 cputopo.node = cpu_to_node(i); in do_sysctl() 366 if ( cputopo.node == NUMA_NO_NODE ) in do_sysctl() 367 cputopo.node = XEN_INVALID_NODE_ID; in do_sysctl() 371 cputopo.core = XEN_INVALID_CORE_ID; in do_sysctl() 372 cputopo.socket = XEN_INVALID_SOCKET_ID; in do_sysctl() 373 cputopo.node = XEN_INVALID_NODE_ID; in do_sysctl() [all …]
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xenpm.c | 398 xc_cputopo_t *cputopo = NULL; in signal_int_handler() local 408 cputopo = calloc(max_cpus, sizeof(*cputopo)); in signal_int_handler() 409 if ( cputopo == NULL ) in signal_int_handler() 519 socket_ids[j] = cputopo[i].socket; in signal_int_handler() 528 core_ids[j] = cputopo[i].core; in signal_int_handler() 596 free(cputopo); in signal_int_handler() 1003 xc_cputopo_t *cputopo = NULL; in cpu_topology_func() local 1015 cputopo = calloc(max_cpus, sizeof(*cputopo)); in cpu_topology_func() 1016 if ( cputopo == NULL ) in cpu_topology_func() 1037 i, cputopo[i].core, cputopo[i].socket, cputopo[i].node); in cpu_topology_func() [all …]
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_misc.c | 230 xc_cputopo_t *cputopo) in xc_cputopoinfo() argument 234 DECLARE_HYPERCALL_BOUNCE(cputopo, *max_cpus * sizeof(*cputopo), in xc_cputopoinfo() 237 if ( (ret = xc_hypercall_bounce_pre(xch, cputopo)) ) in xc_cputopoinfo() 241 set_xen_guest_handle(sysctl.u.cputopoinfo.cputopo, cputopo); in xc_cputopoinfo() 251 xc_hypercall_bounce_post(xch, cputopo); in xc_cputopoinfo()
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl.c | 409 xc_cputopo_t *cputopo; in libxl_get_cpu_topology() local 421 cputopo = libxl__zalloc(gc, sizeof(*cputopo) * num_cpus); in libxl_get_cpu_topology() 423 if (xc_cputopoinfo(ctx->xch, &num_cpus, cputopo)) { in libxl_get_cpu_topology() 431 #define V(map, i, invalid) ( cputopo[i].map == invalid) ? \ in libxl_get_cpu_topology() 432 LIBXL_CPUTOPOLOGY_INVALID_ENTRY : cputopo[i].map in libxl_get_cpu_topology()
|
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1027 xc_cputopo_t *cputopo = NULL; in pyxc_topologyinfo() local 1035 cputopo = calloc(num_cpus, sizeof(*cputopo)); in pyxc_topologyinfo() 1036 if ( cputopo == NULL ) in pyxc_topologyinfo() 1039 if ( xc_cputopoinfo(self->xc_handle, &num_cpus, cputopo) != 0 ) in pyxc_topologyinfo() 1048 if ( cputopo[i].core == XEN_INVALID_CORE_ID ) in pyxc_topologyinfo() 1054 PyObject *pyint = PyLongOrInt_FromLong(cputopo[i].core); in pyxc_topologyinfo() 1059 if ( cputopo[i].socket == XEN_INVALID_SOCKET_ID ) in pyxc_topologyinfo() 1065 PyObject *pyint = PyLongOrInt_FromLong(cputopo[i].socket); in pyxc_topologyinfo() 1070 if ( cputopo[i].node == XEN_INVALID_NODE_ID ) in pyxc_topologyinfo() 1076 PyObject *pyint = PyLongOrInt_FromLong(cputopo[i].node); in pyxc_topologyinfo() [all …]
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | sysctl.h | 465 XEN_GUEST_HANDLE_64(xen_sysctl_cputopo_t) cputopo;
|
/xen-4.10.0-shim-comet/tools/libxc/include/ |
A D | xenctrl.h | 1264 xc_cputopo_t *cputopo);
|
Completed in 21 milliseconds