/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_pm.c | 37 ret = xc_sysctl(xch, &sysctl); in xc_pm_get_max_px() 81 ret = xc_sysctl(xch, &sysctl); in xc_pm_get_pxstat() 243 sysctl.u.pm_op.cpuid = cpuid; in xc_get_cpufreq_para() 363 sysctl.u.pm_op.cpuid = 0; in xc_set_sched_opt_smt() 365 rc = do_sysctl(xch, &sysctl); in xc_set_sched_opt_smt() 377 sysctl.u.pm_op.cpuid = 0; in xc_set_vcpu_migration_delay() 379 rc = do_sysctl(xch, &sysctl); in xc_set_vcpu_migration_delay() 391 sysctl.u.pm_op.cpuid = 0; in xc_get_vcpu_migration_delay() 392 rc = do_sysctl(xch, &sysctl); in xc_get_vcpu_migration_delay() 412 sysctl.u.pm_op.cpuid = 0; in xc_get_cpuidle_max_cstate() [all …]
|
A D | xc_tbuf.c | 32 sysctl.cmd = XEN_SYSCTL_tbuf_op; in tbuf_enable() 39 return xc_sysctl(xch, &sysctl); in tbuf_enable() 46 sysctl.cmd = XEN_SYSCTL_tbuf_op; in xc_tbuf_set_size() 49 sysctl.u.tbuf_op.size = size; in xc_tbuf_set_size() 51 return xc_sysctl(xch, &sysctl); in xc_tbuf_set_size() 60 sysctl.cmd = XEN_SYSCTL_tbuf_op; in xc_tbuf_get_size() 64 rc = xc_sysctl(xch, &sysctl); in xc_tbuf_get_size() 98 sysctl.cmd = XEN_SYSCTL_tbuf_op; in xc_tbuf_enable() 102 rc = xc_sysctl(xch, &sysctl); in xc_tbuf_enable() 153 ret = do_sysctl(xch, &sysctl); in xc_tbuf_set_cpu_mask() [all …]
|
A D | xc_cpupool.c | 31 ret = do_sysctl(xch, sysctl); in do_sysctl_save() 44 sysctl.cmd = XEN_SYSCTL_cpupool_op; in xc_cpupool_create() 61 sysctl.cmd = XEN_SYSCTL_cpupool_op; in xc_cpupool_destroy() 64 return do_sysctl_save(xch, &sysctl); in xc_cpupool_destroy() 89 sysctl.cmd = XEN_SYSCTL_cpupool_op; in xc_cpupool_getinfo() 95 err = do_sysctl_save(xch, &sysctl); in xc_cpupool_getinfo() 134 sysctl.cmd = XEN_SYSCTL_cpupool_op; in xc_cpupool_addcpu() 157 sysctl.cmd = XEN_SYSCTL_cpupool_op; in xc_cpupool_removecpu() 175 sysctl.cmd = XEN_SYSCTL_cpupool_op; in xc_cpupool_movedomain() 178 sysctl.u.cpupool_op.domid = domid; in xc_cpupool_movedomain() [all …]
|
A D | xc_misc.c | 183 ret = do_sysctl(xch, &sysctl); in xc_send_debug_keys() 202 memset(sysctl.u.set_parameter.pad, 0, sizeof(sysctl.u.set_parameter.pad)); in xc_set_parameters() 204 ret = do_sysctl(xch, &sysctl); in xc_set_parameters() 441 rc = do_sysctl(xch, &sysctl); in xc_perfc_query_number() 489 rc = do_sysctl(xch, &sysctl); in xc_lockprof_query_number() 510 rc = do_sysctl(xch, &sysctl); in xc_lockprof_query() 531 rc = do_sysctl(xch, &sysctl); in xc_getcpuinfo() 580 sysctl.u.livepatch.pad = 0; in xc_livepatch_upload() 624 sysctl.u.livepatch.pad = 0; in xc_livepatch_get() 704 sysctl.u.livepatch.pad = 0; in xc_livepatch_list() [all …]
|
A D | xc_psr.c | 84 sysctl.u.psr_cmt_op.flags = 0; in xc_psr_cmt_get_total_rmid() 86 rc = xc_sysctl(xch, &sysctl); in xc_psr_cmt_get_total_rmid() 107 sysctl.u.psr_cmt_op.cmd = in xc_psr_cmt_get_l3_upscaling_factor() 109 sysctl.u.psr_cmt_op.flags = 0; in xc_psr_cmt_get_l3_upscaling_factor() 111 rc = xc_sysctl(xch, &sysctl); in xc_psr_cmt_get_l3_upscaling_factor() 124 sysctl.u.psr_cmt_op.cmd = in xc_psr_cmt_get_l3_event_mask() 126 sysctl.u.psr_cmt_op.flags = 0; in xc_psr_cmt_get_l3_event_mask() 128 rc = xc_sysctl(xch, &sysctl); in xc_psr_cmt_get_l3_event_mask() 149 sysctl.u.psr_cmt_op.cmd = in xc_psr_cmt_get_l3_cache_size() 154 rc = xc_sysctl(xch, &sysctl); in xc_psr_cmt_get_l3_cache_size() [all …]
|
A D | xc_arinc653.c | 45 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_arinc653_schedule_set() 46 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_arinc653_schedule_set() 47 sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_ARINC653; in xc_sched_arinc653_schedule_set() 48 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_putinfo; in xc_sched_arinc653_schedule_set() 49 set_xen_guest_handle(sysctl.u.scheduler_op.u.sched_arinc653.schedule, in xc_sched_arinc653_schedule_set() 52 rc = do_sysctl(xch, &sysctl); in xc_sched_arinc653_schedule_set() 75 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_arinc653_schedule_get() 76 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_arinc653_schedule_get() 77 sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_ARINC653; in xc_sched_arinc653_schedule_get() 78 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_getinfo; in xc_sched_arinc653_schedule_get() [all …]
|
A D | xc_csched.c | 75 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit_params_set() 76 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_credit_params_set() 77 sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT; in xc_sched_credit_params_set() 80 sysctl.u.scheduler_op.u.sched_credit = *schedule; in xc_sched_credit_params_set() 82 if ( do_sysctl(xch, &sysctl) ) in xc_sched_credit_params_set() 85 *schedule = sysctl.u.scheduler_op.u.sched_credit; in xc_sched_credit_params_set() 98 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit_params_get() 99 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_credit_params_get() 100 sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT; in xc_sched_credit_params_get() 103 if ( do_sysctl(xch, &sysctl) ) in xc_sched_credit_params_get() [all …]
|
A D | xc_csched2.c | 75 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit2_params_set() 76 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_credit2_params_set() 77 sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_CREDIT2; in xc_sched_credit2_params_set() 78 sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_putinfo; in xc_sched_credit2_params_set() 80 sysctl.u.scheduler_op.u.sched_credit2 = *schedule; in xc_sched_credit2_params_set() 82 if ( do_sysctl(xch, &sysctl) ) in xc_sched_credit2_params_set() 85 *schedule = sysctl.u.scheduler_op.u.sched_credit2; in xc_sched_credit2_params_set() 98 sysctl.cmd = XEN_SYSCTL_scheduler_op; in xc_sched_credit2_params_get() 99 sysctl.u.scheduler_op.cpupool_id = cpupool_id; in xc_sched_credit2_params_get() 103 if ( do_sysctl(xch, &sysctl) ) in xc_sched_credit2_params_get() [all …]
|
A D | xc_cpu_hotplug.c | 28 sysctl.cmd = XEN_SYSCTL_cpu_hotplug; in xc_cpu_online() 29 sysctl.u.cpu_hotplug.cpu = cpu; in xc_cpu_online() 30 sysctl.u.cpu_hotplug.op = XEN_SYSCTL_CPU_HOTPLUG_ONLINE; in xc_cpu_online() 31 ret = xc_sysctl(xch, &sysctl); in xc_cpu_online() 41 sysctl.cmd = XEN_SYSCTL_cpu_hotplug; in xc_cpu_offline() 42 sysctl.u.cpu_hotplug.cpu = cpu; in xc_cpu_offline() 43 sysctl.u.cpu_hotplug.op = XEN_SYSCTL_CPU_HOTPLUG_OFFLINE; in xc_cpu_offline() 44 ret = xc_sysctl(xch, &sysctl); in xc_cpu_offline()
|
A D | xc_tmem.c | 39 sysctl.u.tmem_op.cmd = cmd; in xc_tmem_control() 41 sysctl.u.tmem_op.len = len; in xc_tmem_control() 42 sysctl.u.tmem_op.arg = arg; in xc_tmem_control() 43 sysctl.u.tmem_op.pad = 0; in xc_tmem_control() 67 rc = do_sysctl(xch, &sysctl); in xc_tmem_control() 90 sysctl.u.tmem_op.cmd = cmd; in xc_tmem_control_oid() 92 sysctl.u.tmem_op.len = len; in xc_tmem_control_oid() 93 sysctl.u.tmem_op.arg = arg; in xc_tmem_control_oid() 94 sysctl.u.tmem_op.pad = 0; in xc_tmem_control_oid() 95 sysctl.u.tmem_op.oid = oid; in xc_tmem_control_oid() [all …]
|
A D | xc_offline_page.c | 70 sysctl.cmd = XEN_SYSCTL_page_offline_op; in xc_mark_page_online() 71 sysctl.u.page_offline.start = start; in xc_mark_page_online() 73 sysctl.u.page_offline.end = end; in xc_mark_page_online() 75 ret = xc_sysctl(xch, &sysctl); in xc_mark_page_online() 100 sysctl.cmd = XEN_SYSCTL_page_offline_op; in xc_mark_page_offline() 101 sysctl.u.page_offline.start = start; in xc_mark_page_offline() 103 sysctl.u.page_offline.end = end; in xc_mark_page_offline() 105 ret = xc_sysctl(xch, &sysctl); in xc_mark_page_offline() 131 sysctl.u.page_offline.start = start; in xc_query_page_offline_status() 133 sysctl.u.page_offline.end = end; in xc_query_page_offline_status() [all …]
|
A D | xc_private.h | 64 #define DECLARE_SYSCTL struct xen_sysctl sysctl 284 static inline int do_sysctl(xc_interface *xch, struct xen_sysctl *sysctl) in do_sysctl() argument 287 DECLARE_HYPERCALL_BOUNCE(sysctl, sizeof(*sysctl), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in do_sysctl() 289 sysctl->interface_version = XEN_SYSCTL_INTERFACE_VERSION; in do_sysctl() 291 if ( xc_hypercall_bounce_pre(xch, sysctl) ) in do_sysctl() 298 HYPERCALL_BUFFER_AS_ARG(sysctl)); in do_sysctl() 306 xc_hypercall_bounce_post(xch, sysctl); in do_sysctl()
|
A D | xc_cpuid_x86.c | 50 sysctl.cmd = XEN_SYSCTL_get_cpu_levelling_caps; in xc_get_cpu_levelling_caps() 51 ret = do_sysctl(xch, &sysctl); in xc_get_cpu_levelling_caps() 54 *caps = sysctl.u.cpu_levelling_caps.caps; in xc_get_cpu_levelling_caps() 71 sysctl.cmd = XEN_SYSCTL_get_cpu_featureset; in xc_get_cpu_featureset() 72 sysctl.u.cpu_featureset.index = index; in xc_get_cpu_featureset() 73 sysctl.u.cpu_featureset.nr_features = *nr_features; in xc_get_cpu_featureset() 74 set_xen_guest_handle(sysctl.u.cpu_featureset.features, featureset); in xc_get_cpu_featureset() 76 ret = do_sysctl(xch, &sysctl); in xc_get_cpu_featureset() 81 *nr_features = sysctl.u.cpu_featureset.nr_features; in xc_get_cpu_featureset()
|
A D | xc_domain.c | 451 sysctl.cmd = XEN_SYSCTL_getdomaininfolist; in xc_domain_getinfolist() 452 sysctl.u.getdomaininfolist.first_domain = first_domain; in xc_domain_getinfolist() 453 sysctl.u.getdomaininfolist.max_domains = max_domains; in xc_domain_getinfolist() 456 if ( xc_sysctl(xch, &sysctl) < 0 ) in xc_domain_getinfolist() 459 ret = sysctl.u.getdomaininfolist.num_domains; in xc_domain_getinfolist() 1387 sysctl.cmd = XEN_SYSCTL_availheap; in xc_availheap() 1388 sysctl.u.availheap.min_bitwidth = min_width; in xc_availheap() 1389 sysctl.u.availheap.max_bitwidth = max_width; in xc_availheap() 1390 sysctl.u.availheap.node = node; in xc_availheap() 1392 rc = xc_sysctl(xch, &sysctl); in xc_availheap() [all …]
|
/xen-4.10.0-shim-comet/tools/xenmon/ |
A D | setmask.c | 42 struct xen_sysctl sysctl; in main() local 46 sysctl.cmd = XEN_SYSCTL_tbuf_op; in main() 48 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_get_info; in main() 49 ret = xc_sysctl(xc_handle, &sysctl); in main() 60 sysctl.cmd = XEN_SYSCTL_tbuf_op; in main() 62 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_set_evt_mask; in main() 63 sysctl.u.tbuf_op.evt_mask = XENMON; in main() 65 ret = xc_sysctl(xc_handle, &sysctl); in main() 73 sysctl.cmd = XEN_SYSCTL_tbuf_op; in main() 75 sysctl.u.tbuf_op.cmd = XEN_SYSCTL_TBUFOP_get_info; in main() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | sysctl.c | 90 switch ( sysctl->cmd ) in arch_do_sysctl() 95 unsigned int cpu = sysctl->u.cpu_hotplug.cpu; in arch_do_sysctl() 97 switch ( sysctl->u.cpu_hotplug.op ) in arch_do_sysctl() 124 if ( sysctl->u.psr_cmt_op.flags != 0 ) in arch_do_sysctl() 127 switch ( sysctl->u.psr_cmt_op.cmd ) in arch_do_sysctl() 130 sysctl->u.psr_cmt_op.u.data = in arch_do_sysctl() 148 sysctl->u.psr_cmt_op.u.data = 0; in arch_do_sysctl() 164 sysctl->u.psr_cmt_op.u.data = 0; in arch_do_sysctl() 169 if ( __copy_to_guest(u_sysctl, sysctl, 1) ) in arch_do_sysctl() 175 switch ( sysctl->u.psr_cat_op.cmd ) in arch_do_sysctl() [all …]
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xencov.c | 29 int gcov_sysctl(int op, struct xen_sysctl *sysctl, in gcov_sysctl() argument 34 memset(sysctl, 0, sizeof(*sysctl)); in gcov_sysctl() 35 sysctl->cmd = XEN_SYSCTL_gcov_op; in gcov_sysctl() 37 sysctl->u.gcov_op.cmd = op; in gcov_sysctl() 38 sysctl->u.gcov_op.size = buf_size; in gcov_sysctl() 39 set_xen_guest_handle(sysctl->u.gcov_op.buffer, buf); in gcov_sysctl() 41 return xc_sysctl(xch, sysctl); in gcov_sysctl()
|
A D | xenperf.c | 57 X(sysctl),
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | sysctl.c | 17 long arch_do_sysctl(struct xen_sysctl *sysctl, in arch_do_sysctl() argument
|
A D | Makefile | 45 obj-y += sysctl.o
|
/xen-4.10.0-shim-comet/tools/hotplug/NetBSD/ |
A D | block | 66 for disk in `sysctl hw.disknames`; do
|
/xen-4.10.0-shim-comet/xen/arch/x86/guest/ |
A D | hypercall_page.S | 58 DECLARE_HYPERCALL(sysctl)
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | hypercall.h | 42 struct xen_sysctl *sysctl,
|
/xen-4.10.0-shim-comet/docs/features/ |
A D | livepatch.pandoc | 83 The new live patching sysctl subops are only accessible to privileged 95 The new live patching sysctl subops are only accessible to privileged
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | Makefile | 53 obj-y += sysctl.o
|