Home
last modified time | relevance | path

Searched refs:sysctl (Results 1 – 25 of 39) sorted by relevance

12

/xen/tools/libxc/
A Dxc_tbuf.c32 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 Dxc_pm.c37 ret = xc_sysctl(xch, &sysctl); in xc_pm_get_max_px()
81 ret = xc_sysctl(xch, &sysctl); in xc_pm_get_pxstat()
108 return xc_sysctl(xch, &sysctl); in xc_pm_reset_pxstat()
243 sysctl.u.pm_op.cpuid = cpuid; in xc_get_cpufreq_para()
307 sysctl.u.pm_op.cpuid = cpuid; in xc_set_cpufreq_gov()
326 sysctl.u.pm_op.cpuid = cpuid; in xc_set_cpufreq_para()
345 sysctl.u.pm_op.cpuid = cpuid; in xc_get_cpufreq_avgfreq()
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()
382 sysctl.u.pm_op.cpuid = type; in get_max_cstate()
[all …]
A Dxc_cpupool.c31 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 Dxc_misc.c183 ret = do_sysctl(xch, &sysctl); in xc_send_debug_keys()
443 rc = do_sysctl(xch, &sysctl); in xc_perfc_query_number()
491 rc = do_sysctl(xch, &sysctl); in xc_lockprof_query_number()
512 rc = do_sysctl(xch, &sysctl); in xc_lockprof_query()
533 rc = do_sysctl(xch, &sysctl); in xc_getcpuinfo()
582 sysctl.u.livepatch.pad = 0; in xc_livepatch_upload()
589 rc = do_sysctl(xch, &sysctl); in xc_livepatch_upload()
626 sysctl.u.livepatch.pad = 0; in xc_livepatch_get()
668 memset(&sysctl, 0, sizeof(sysctl)); in xc_livepatch_list_get_sizes()
766 memset(&sysctl, 0, sizeof(sysctl)); in xc_livepatch_list()
[all …]
A Dxc_cpu_hotplug.c28 sysctl.cmd = XEN_SYSCTL_cpu_hotplug; in xc_cpu_online()
29 sysctl.u.cpu_hotplug.cpu = cpu; 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()
44 ret = xc_sysctl(xch, &sysctl); in xc_cpu_offline()
54 sysctl.cmd = XEN_SYSCTL_cpu_hotplug; in xc_smt_enable()
55 sysctl.u.cpu_hotplug.cpu = 0; in xc_smt_enable()
57 ret = xc_sysctl(xch, &sysctl); in xc_smt_enable()
68 sysctl.u.cpu_hotplug.cpu = 0; in xc_smt_disable()
[all …]
A Dxc_psr.c84 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 Dxc_arinc653.c45 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 Dxc_csched.c75 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 Dxc_csched2.c75 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 Dxc_cpuid_x86.c48 ret = do_sysctl(xch, &sysctl); in xc_get_cpu_levelling_caps()
69 sysctl.u.cpu_featureset.index = index; in xc_get_cpu_featureset()
73 ret = do_sysctl(xch, &sysctl); in xc_get_cpu_featureset()
115 struct xen_sysctl sysctl = {}; in xc_get_cpu_policy_size() local
118 sysctl.cmd = XEN_SYSCTL_get_cpu_policy; in xc_get_cpu_policy_size()
120 ret = do_sysctl(xch, &sysctl); in xc_get_cpu_policy_size()
135 struct xen_sysctl sysctl = {}; in xc_get_system_cpu_policy() local
148 sysctl.cmd = XEN_SYSCTL_get_cpu_policy; in xc_get_system_cpu_policy()
149 sysctl.u.cpu_policy.index = index; in xc_get_system_cpu_policy()
152 sysctl.u.cpu_policy.nr_msrs = *nr_msrs; in xc_get_system_cpu_policy()
[all …]
A Dxc_offline_page.c70 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 Dxc_private.h66 #define DECLARE_SYSCTL struct xen_sysctl sysctl
305 static inline int do_sysctl(xc_interface *xch, struct xen_sysctl *sysctl) in do_sysctl() argument
308 DECLARE_HYPERCALL_BOUNCE(sysctl, sizeof(*sysctl), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in do_sysctl()
310 sysctl->interface_version = XEN_SYSCTL_INTERFACE_VERSION; in do_sysctl()
312 if ( xc_hypercall_bounce_pre(xch, sysctl) ) in do_sysctl()
319 HYPERCALL_BUFFER_AS_ARG(sysctl)); in do_sysctl()
327 xc_hypercall_bounce_post(xch, sysctl); in do_sysctl()
A Dxc_domain.c429 sysctl.cmd = XEN_SYSCTL_getdomaininfolist; in xc_domain_getinfolist()
430 sysctl.u.getdomaininfolist.first_domain = first_domain; in xc_domain_getinfolist()
431 sysctl.u.getdomaininfolist.max_domains = max_domains; in xc_domain_getinfolist()
434 if ( xc_sysctl(xch, &sysctl) < 0 ) in xc_domain_getinfolist()
437 ret = sysctl.u.getdomaininfolist.num_domains; in xc_domain_getinfolist()
1361 sysctl.cmd = XEN_SYSCTL_availheap; in xc_availheap()
1362 sysctl.u.availheap.min_bitwidth = min_width; in xc_availheap()
1363 sysctl.u.availheap.max_bitwidth = max_width; in xc_availheap()
1364 sysctl.u.availheap.node = node; in xc_availheap()
1366 rc = xc_sysctl(xch, &sysctl); in xc_availheap()
[all …]
/xen/xen/arch/x86/
A Dsysctl.c178 switch ( sysctl->cmd ) in arch_do_sysctl()
238 if ( sysctl->u.psr_cmt_op.flags != 0 ) in arch_do_sysctl()
241 switch ( sysctl->u.psr_cmt_op.cmd ) in arch_do_sysctl()
244 sysctl->u.psr_cmt_op.u.data = in arch_do_sysctl()
262 sysctl->u.psr_cmt_op.u.data = 0; in arch_do_sysctl()
278 sysctl->u.psr_cmt_op.u.data = 0; in arch_do_sysctl()
292 switch ( sysctl->u.psr_alloc.cmd ) in arch_do_sysctl()
304 sysctl->u.psr_alloc.u.cat_info.flags = in arch_do_sysctl()
321 sysctl->u.psr_alloc.u.cat_info.flags = in arch_do_sysctl()
338 sysctl->u.psr_alloc.u.mba_info.flags = in arch_do_sysctl()
[all …]
/xen/tools/xenmon/
A Dsetmask.c42 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/tools/misc/
A Dxencov.c29 int cov_sysctl(int op, struct xen_sysctl *sysctl, in cov_sysctl() argument
34 memset(sysctl, 0, sizeof(*sysctl)); in cov_sysctl()
35 sysctl->cmd = XEN_SYSCTL_coverage_op; in cov_sysctl()
37 sysctl->u.coverage_op.cmd = op; in cov_sysctl()
38 sysctl->u.coverage_op.size = buf_size; in cov_sysctl()
39 set_xen_guest_handle(sysctl->u.coverage_op.buffer, buf); in cov_sysctl()
41 return xc_sysctl(xch, sysctl); in cov_sysctl()
A Dxenperf.c57 X(sysctl),
/xen/xen/arch/arm/
A Dsysctl.c20 long arch_do_sysctl(struct xen_sysctl *sysctl, in arch_do_sysctl() argument
A DMakefile47 obj-y += sysctl.o
/xen/tools/hotplug/NetBSD/
A Dblock66 for disk in `sysctl hw.disknames`; do
/xen/xen/arch/x86/guest/xen/
A Dhypercall_page.S58 DECLARE_HYPERCALL(sysctl)
/xen/xen/include/xen/
A Dhypercall.h41 struct xen_sysctl *sysctl,
/xen/docs/features/
A Dlivepatch.pandoc83 The new live patching sysctl subops are only accessible to privileged
95 The new live patching sysctl subops are only accessible to privileged
/xen/xen/common/
A DMakefile50 obj-y += sysctl.o
/xen/xen/xsm/
A Ddummy.c33 set_to_dummy_if_null(ops, sysctl); in xsm_fixup_ops()

Completed in 59 milliseconds

12