Searched refs:distance (Results 1 – 12 of 12) sorted by relevance
/xen/xen/common/ |
A D | sysctl.c | 291 bool_t do_distance = !guest_handle_is_null(ni->distance); in do_sysctl() 303 static uint32_t distance[MAX_NUMNODES]; in do_sysctl() local 326 distance[j] = __node_distance(i, j); in do_sysctl() 327 if ( distance[j] == NUMA_NO_DISTANCE ) in do_sysctl() 328 distance[j] = XEN_INVALID_NODE_DIST; in do_sysctl() 331 if ( copy_to_guest_offset(ni->distance, i * num_nodes, in do_sysctl() 332 distance, num_nodes) ) in do_sysctl()
|
A D | unlzma.c | 421 uint32_t distance; in process_bit1() local 427 distance = cst->rep1; in process_bit1() 433 distance = cst->rep2; in process_bit1() 436 distance = cst->rep3; in process_bit1() 442 cst->rep0 = distance; in process_bit1()
|
A D | page_alloc.c | 2038 u8 distance; in scrub_heap_pages() local 2043 distance = __node_distance(i, j); in scrub_heap_pages() 2044 if ( (distance < last_distance) && (distance != NUMA_NO_DISTANCE) ) in scrub_heap_pages() 2046 last_distance = distance; in scrub_heap_pages()
|
/xen/tools/libxc/ |
A D | xc_misc.c | 259 xc_meminfo_t *meminfo, uint32_t *distance) in xc_numainfo() argument 265 DECLARE_HYPERCALL_BOUNCE(distance, in xc_numainfo() 266 *max_nodes * *max_nodes * sizeof(*distance), in xc_numainfo() 271 if ((ret = xc_hypercall_bounce_pre(xch, distance)) ) in xc_numainfo() 276 set_xen_guest_handle(sysctl.u.numainfo.distance, distance); in xc_numainfo() 287 xc_hypercall_bounce_post(xch, distance); in xc_numainfo()
|
/xen/tools/libxl/ |
A D | libxl.c | 501 uint32_t *distance; in libxl_get_numainfo() local 512 distance = libxl__zalloc(gc, sizeof(*distance) * num_nodes * num_nodes); in libxl_get_numainfo() 514 if (xc_numainfo(ctx->xch, &num_nodes, meminfo, distance)) { in libxl_get_numainfo() 523 ret[i].dists = libxl__calloc(NOGC, num_nodes, sizeof(*distance)); in libxl_get_numainfo() 533 ret[i].dists[j] = V(distance[idx], XEN_INVALID_NODE_DIST); in libxl_get_numainfo()
|
A D | CODING_STYLE | 199 can tell the difference between a tab and eight spaces from a distance
|
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1026 uint32_t *distance = NULL; in pyxc_numainfo() local 1032 distance = calloc(num_nodes * num_nodes, sizeof(*distance)); in pyxc_numainfo() 1033 if ( (meminfo == NULL) || (distance == NULL) ) in pyxc_numainfo() 1036 if ( xc_numainfo(self->xc_handle, &num_nodes, meminfo, distance) != 0 ) in pyxc_numainfo() 1070 uint32_t dist = distance[i * num_nodes + j]; in pyxc_numainfo() 1103 free(distance); in pyxc_numainfo()
|
/xen/xen/include/public/ |
A D | sysctl.h | 543 XEN_GUEST_HANDLE_64(uint32) distance;
|
/xen/tools/xl/ |
A D | CODING_STYLE | 83 can tell the difference between a tab and eight spaces from a distance
|
/xen/docs/man/ |
A D | xl-numa-placement.7.pod | 13 distance between that CPU and that memory. In fact, most of the NUMA
|
A D | xl.cfg.5.pod.in | 303 distance to itself is 10 and the distance to vnode 1 is 20. 330 Specifies the virtual distance from this node to all nodes (including 332 for vnode 0 means the distance from vnode 0 to vnode 0 is 10, from
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 1248 xc_meminfo_t *meminfo, uint32_t *distance);
|
Completed in 29 milliseconds