Home
last modified time | relevance | path

Searched refs:cpumap_soft (Results 1 – 11 of 11) sorted by relevance

/xen/tools/xl/
A Dxl_vcpu.c51 print_bitmap(vcpuinfo->cpumap_soft.map, nr_cpus, stdout); in print_vcpuinfo()
181 libxl_bitmap cpumap_hard, cpumap_soft;; in main_vcpupin() local
182 libxl_bitmap *soft = &cpumap_soft, *hard = &cpumap_hard; in main_vcpupin()
195 libxl_bitmap_init(&cpumap_soft); in main_vcpupin()
228 libxl_cpu_bitmap_alloc(ctx, &cpumap_soft, 0)) in main_vcpupin()
323 libxl_bitmap_dispose(&cpumap_soft); in main_vcpupin()
/xen/tools/libxl/
A Dlibxl_sched.c22 const libxl_bitmap *cpumap_soft, in libxl__set_vcpuaffinity() argument
32 if (!cpumap_hard && !cpumap_soft && !flags) { in libxl__set_vcpuaffinity()
49 if (cpumap_soft) { in libxl__set_vcpuaffinity()
54 libxl__bitmap_copy_best_effort(gc, &soft, cpumap_soft); in libxl__set_vcpuaffinity()
60 cpumap_soft ? soft.map : NULL, in libxl__set_vcpuaffinity()
79 if (cpumap_soft) { in libxl__set_vcpuaffinity()
80 if (!libxl_bitmap_equal(cpumap_soft, &soft, 0)) in libxl__set_vcpuaffinity()
99 const libxl_bitmap *cpumap_soft) in libxl_set_vcpuaffinity() argument
102 cpumap_soft, 0); in libxl_set_vcpuaffinity()
108 const libxl_bitmap *cpumap_soft) in libxl_set_vcpuaffinity_force() argument
[all …]
A Dlibxl_dom.c288 libxl_bitmap cpumap_soft; in libxl__build_pre() local
295 rc = libxl_cpu_bitmap_alloc(ctx, &cpumap_soft, 0); in libxl__build_pre()
301 libxl_bitmap_dispose(&cpumap_soft); in libxl__build_pre()
314 libxl_nodemap_to_cpumap(ctx, &info->nodemap, &cpumap_soft); in libxl__build_pre()
316 NULL, &cpumap_soft); in libxl__build_pre()
318 libxl_bitmap_dispose(&cpumap_soft); in libxl__build_pre()
A Dlibxl.h2421 const libxl_bitmap *cpumap_soft);
2425 const libxl_bitmap *cpumap_soft);
2429 const libxl_bitmap *cpumap_soft);
A Dlibxl_domain.c1685 libxl_bitmap_init(&ptr->cpumap_soft); in libxl_list_vcpu()
1686 if (libxl_cpu_bitmap_alloc(ctx, &ptr->cpumap_soft, 0)) in libxl_list_vcpu()
1694 ptr->cpumap.map, ptr->cpumap_soft.map, in libxl_list_vcpu()
1711 libxl_bitmap_dispose(&ptr->cpumap_soft); in libxl_list_vcpu()
A Dlibxl_types.idl1024 ("cpumap_soft", libxl_bitmap), # current soft cpu affinity
/xen/tools/libxc/
A Dxc_domain.c242 set_xen_guest_handle(domctl.u.vcpuaffinity.cpumap_soft.bitmap, in xc_vcpu_setaffinity()
244 domctl.u.vcpuaffinity.cpumap_soft.nr_bits = cpusize * 8; in xc_vcpu_setaffinity()
260 xc_cpumap_t cpumap_soft, in xc_vcpu_getaffinity() argument
265 DECLARE_HYPERCALL_BOUNCE(cpumap_soft, 0, XC_HYPERCALL_BUFFER_BOUNCE_OUT); in xc_vcpu_getaffinity()
277 HYPERCALL_BOUNCE_SET_SIZE(cpumap_soft, cpusize); in xc_vcpu_getaffinity()
280 xc_hypercall_bounce_pre(xch, cpumap_soft) ) in xc_vcpu_getaffinity()
294 set_xen_guest_handle(domctl.u.vcpuaffinity.cpumap_soft.bitmap, in xc_vcpu_getaffinity()
295 cpumap_soft); in xc_vcpu_getaffinity()
296 domctl.u.vcpuaffinity.cpumap_soft.nr_bits = cpusize * 8; in xc_vcpu_getaffinity()
302 xc_hypercall_bounce_post(xch, cpumap_soft); in xc_vcpu_getaffinity()
/xen/xen/include/public/
A Ddomctl.h333 struct xenctl_bitmap cpumap_soft; member
/xen/xen/common/sched/
A Dcore.c1620 guest_handle_is_null(vcpuaff->cpumap_soft.bitmap)); in vcpuaffinity_params_invalid()
1691 &vcpuaff->cpumap_soft, nr_cpu_ids); in vcpu_affinity_domctl()
1713 ret = cpumask_to_xenctl_bitmap(&vcpuaff->cpumap_soft, new_affinity); in vcpu_affinity_domctl()
1726 ret = cpumask_to_xenctl_bitmap(&vcpuaff->cpumap_soft, in vcpu_affinity_domctl()
/xen/tools/libxc/include/
A Dxenctrl.h744 xc_cpumap_t cpumap_soft,
/xen/tools/golang/xenlight/
A Dhelpers.gen.go3287 if err := x.CpumapSoft.fromC(&xc.cpumap_soft);err != nil {
3307 if err := x.CpumapSoft.toC(&xc.cpumap_soft); err != nil {

Completed in 155 milliseconds