Home
last modified time | relevance | path

Searched refs:xc_interface (Results 1 – 25 of 121) sorted by relevance

12345

/xen/tools/libxc/include/
A Dxenctrl.h396 int xc_get_max_cpus(xc_interface *xch);
553 int xc_domain_pause(xc_interface *xch,
657 int xc_watchdog(xc_interface *xch,
935 int xc_vcpu_getinfo(xc_interface *xch,
1001 xc_interface *xch,
1007 xc_interface *xch,
1252 int xc_sched_id(xc_interface *xch,
1471 int xc_perfc_query(xc_interface *xch,
1731 xc_interface *xch,
1883 int xc_smt_enable(xc_interface *xch);
[all …]
A Dxenctrl_compat.h27 void *xc_map_foreign_range(xc_interface *xch, uint32_t dom,
31 void *xc_map_foreign_pages(xc_interface *xch, uint32_t dom, int prot,
45 void *xc_map_foreign_bulk(xc_interface *xch, uint32_t dom, int prot,
126 xc_interface *xch, uint32_t domid, int handle_bufioreq,
132 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio,
135 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio,
144 xc_interface *xch, uint32_t domid, ioservid_t id);
146 xc_interface *xch, uint32_t domid, ioservid_t id, int enabled);
153 xc_interface *xch, uint32_t domid, uint8_t link, uint8_t irq);
162 xc_interface *xch, uint32_t domid, hvmmem_type_t type,
[all …]
A Dxenguest.h136 int xc_domain_save(xc_interface *xch, int io_fd, uint32_t dom,
215 int xc_domain_restore(xc_interface *xch, int io_fd, uint32_t dom,
239 int xc_linux_build(xc_interface *xch,
262 int xc_suspend_evtchn_release(xc_interface *xch,
271 int xc_suspend_evtchn_init_exclusive(xc_interface *xch,
276 int xc_await_suspend(xc_interface *xch, struct xenevtchn_handle *xce,
286 int xc_suspend_evtchn_init_sane(xc_interface *xch,
290 int xc_mark_page_online(xc_interface *xch, unsigned long start,
293 int xc_mark_page_offline(xc_interface *xch, unsigned long start,
314 int xc_map_domain_meminfo(xc_interface *xch, uint32_t domid,
[all …]
/xen/tools/libxc/
A Dxc_devicemodel_compat.c10 xc_interface *xch, uint32_t domid, int handle_bufioreq, in xc_hvm_create_ioreq_server()
27 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio, in xc_hvm_map_io_range_to_ioreq_server()
36 xc_interface *xch, uint32_t domid, ioservid_t id, int is_mmio, in xc_hvm_unmap_io_range_from_ioreq_server()
45 xc_interface *xch, uint32_t domid, ioservid_t id, uint16_t segment, in xc_hvm_map_pcidev_to_ioreq_server()
63 xc_interface *xch, uint32_t domid, ioservid_t id) in xc_hvm_destroy_ioreq_server()
69 xc_interface *xch, uint32_t domid, ioservid_t id, int enabled) in xc_hvm_set_ioreq_server_state()
76 xc_interface *xch, uint32_t domid, uint16_t segment, uint8_t bus, in xc_hvm_set_pci_intx_level()
90 xc_interface *xch, uint32_t domid, uint8_t link, uint8_t irq) in xc_hvm_set_pci_link_route()
116 xc_interface *xch, uint32_t domid, hvmmem_type_t type, in xc_hvm_set_mem_type()
124 xc_interface *xch, uint32_t domid, int vcpu, uint8_t vector, in xc_hvm_inject_trap()
[all …]
A Dxc_private.h103 void *osdep_alloc_hypercall_buffer(xc_interface *xch, int npages);
117 void xc_report_progress_step(xc_interface *xch,
221 void xc__hypercall_buffer_cache_release(xc_interface *xch);
259 static inline int do_domctl_maybe_retry_efault(xc_interface *xch, in do_domctl_maybe_retry_efault()
332 static inline int do_platform_op(xc_interface *xch, in do_platform_op()
360 static inline int do_multicall_op(xc_interface *xch, in do_multicall_op()
381 void *xc_map_foreign_ranges(xc_interface *xch, uint32_t dom,
385 int xc_get_pfn_type_batch(xc_interface *xch, uint32_t dom,
392 void discard_file_cache(xc_interface *xch, int fd, int flush);
402 int xc_add_mmu_update(xc_interface *xch, struct xc_mmu *mmu,
[all …]
A Dxc_flask.c37 int xc_flask_op(xc_interface *xch, xen_flask_op_t *op) in xc_flask_op()
64 int xc_flask_load(xc_interface *xch, char *buf, uint32_t size) in xc_flask_load()
136 int xc_flask_getenforce(xc_interface *xch) in xc_flask_getenforce()
144 int xc_flask_setenforce(xc_interface *xch, int mode) in xc_flask_setenforce()
297 int xc_flask_del_pirq(xc_interface *xch, unsigned int pirq) in xc_flask_del_pirq()
312 int xc_flask_del_device(xc_interface *xch, unsigned long device) in xc_flask_del_device()
359 int xc_flask_avc_hashstats(xc_interface *xch, char *buf, int size) in xc_flask_avc_hashstats()
376 int xc_flask_avc_cachestats(xc_interface *xch, char *buf, int size) in xc_flask_avc_cachestats()
407 int xc_flask_policyvers(xc_interface *xch) in xc_flask_policyvers()
415 int xc_flask_getavc_threshold(xc_interface *xch) in xc_flask_getavc_threshold()
[all …]
A Dxc_memshr.c27 int xc_memshr_control(xc_interface *xch, in xc_memshr_control()
44 int xc_memshr_ring_enable(xc_interface *xch, in xc_memshr_ring_enable()
60 int xc_memshr_ring_disable(xc_interface *xch, in xc_memshr_ring_disable()
77 int xc_memshr_nominate_gfn(xc_interface *xch, in xc_memshr_nominate_gfn()
98 int xc_memshr_nominate_gref(xc_interface *xch, in xc_memshr_nominate_gref()
119 int xc_memshr_share_gfns(xc_interface *xch, in xc_memshr_share_gfns()
142 int xc_memshr_share_grefs(xc_interface *xch, in xc_memshr_share_grefs()
186 int xc_memshr_range_share(xc_interface *xch, in xc_memshr_range_share()
214 int xc_memshr_debug_gfn(xc_interface *xch, in xc_memshr_debug_gfn()
228 int xc_memshr_debug_gref(xc_interface *xch, in xc_memshr_debug_gref()
[all …]
A Dxc_mem_paging.c25 static int xc_mem_paging_memop(xc_interface *xch, uint32_t domain_id, in xc_mem_paging_memop()
58 int xc_mem_paging_enable(xc_interface *xch, uint32_t domain_id, in xc_mem_paging_enable()
73 int xc_mem_paging_disable(xc_interface *xch, uint32_t domain_id) in xc_mem_paging_disable()
81 int xc_mem_paging_resume(xc_interface *xch, uint32_t domain_id) in xc_mem_paging_resume()
89 int xc_mem_paging_nominate(xc_interface *xch, uint32_t domain_id, uint64_t gfn) in xc_mem_paging_nominate()
96 int xc_mem_paging_evict(xc_interface *xch, uint32_t domain_id, uint64_t gfn) in xc_mem_paging_evict()
103 int xc_mem_paging_prep(xc_interface *xch, uint32_t domain_id, uint64_t gfn) in xc_mem_paging_prep()
110 int xc_mem_paging_load(xc_interface *xch, uint32_t domain_id, in xc_mem_paging_load()
A Dxc_monitor.c31 int xc_monitor_disable(xc_interface *xch, uint32_t domain_id) in xc_monitor_disable()
39 int xc_monitor_resume(xc_interface *xch, uint32_t domain_id) in xc_monitor_resume()
47 int xc_monitor_get_capabilities(xc_interface *xch, uint32_t domain_id, in xc_monitor_get_capabilities()
71 int xc_monitor_write_ctrlreg(xc_interface *xch, uint32_t domain_id, in xc_monitor_write_ctrlreg()
108 int xc_monitor_software_breakpoint(xc_interface *xch, uint32_t domain_id, in xc_monitor_software_breakpoint()
122 int xc_monitor_singlestep(xc_interface *xch, uint32_t domain_id, in xc_monitor_singlestep()
136 int xc_monitor_descriptor_access(xc_interface *xch, uint32_t domain_id, in xc_monitor_descriptor_access()
166 int xc_monitor_inguest_pagefault(xc_interface *xch, uint32_t domain_id, in xc_monitor_inguest_pagefault()
180 int xc_monitor_emulate_each_rep(xc_interface *xch, uint32_t domain_id, in xc_monitor_emulate_each_rep()
193 int xc_monitor_debug_exceptions(xc_interface *xch, uint32_t domain_id, in xc_monitor_debug_exceptions()
[all …]
A Dxc_private.c84 int xc_interface_close(xc_interface *xch) in xc_interface_close()
125 const xc_error *xc_get_last_error(xc_interface *xch) in xc_get_last_error()
130 void xc_clear_last_error(xc_interface *xch) in xc_clear_last_error()
156 void xc_reportv(xc_interface *xch, xentoollog_logger *lg, in xc_reportv()
192 void xc_report(xc_interface *xch, xentoollog_logger *lg, in xc_report()
222 void xc_report_progress_step(xc_interface *xch, in xc_report_progress_step()
248 xc_interface *xch, in xc_mmuext_op()
377 int xc_machphys_mfn_list(xc_interface *xch, in xc_machphys_mfn_list()
414 int xc_copy_to_domain_page(xc_interface *xch, in xc_copy_to_domain_page()
429 int xc_clear_domain_pages(xc_interface *xch, in xc_clear_domain_pages()
[all …]
A Dxc_hcall_buf.c30 void *xc__hypercall_buffer_alloc_pages(xc_interface *xch, xc_hypercall_buffer_t *b, int nr_pages) in xc__hypercall_buffer_alloc_pages()
42 void xc__hypercall_buffer_free_pages(xc_interface *xch, xc_hypercall_buffer_t *b, int nr_pages) in xc__hypercall_buffer_free_pages()
47 void *xc__hypercall_buffer_alloc(xc_interface *xch, xc_hypercall_buffer_t *b, size_t size) in xc__hypercall_buffer_alloc()
59 void xc__hypercall_buffer_free(xc_interface *xch, xc_hypercall_buffer_t *b) in xc__hypercall_buffer_free()
64 int xc__hypercall_bounce_pre(xc_interface *xch, xc_hypercall_buffer_t *b) in xc__hypercall_bounce_pre()
93 void xc__hypercall_bounce_post(xc_interface *xch, xc_hypercall_buffer_t *b) in xc__hypercall_bounce_post()
115 xc_hypercall_buffer_array_t *xc_hypercall_buffer_array_create(xc_interface *xch, in xc_hypercall_buffer_array_create()
140 void *xc__hypercall_buffer_array_alloc(xc_interface *xch, in xc__hypercall_buffer_array_alloc()
157 void *xc__hypercall_buffer_array_get(xc_interface *xch, in xc__hypercall_buffer_array_get()
169 void xc_hypercall_buffer_array_destroy(xc_interface *xc, in xc_hypercall_buffer_array_destroy()
A Dxc_domain.c1512 xc_interface *xch, in xc_assign_device()
1529 xc_interface *xch, in xc_get_device_group()
1564 xc_interface *xch, in xc_test_assign_device()
1580 xc_interface *xch, in xc_deassign_device()
1596 xc_interface *xch, in xc_assign_dt_device()
1628 xc_interface *xch, in xc_test_assign_dt_device()
1656 xc_interface *xch, in xc_deassign_dt_device()
1687 xc_interface *xch, in xc_domain_update_msi_irq()
1713 xc_interface *xch, in xc_domain_unbind_msi_irq()
1738 xc_interface *xch, in xc_domain_bind_pt_irq_int()
[all …]
A Dxc_misc.c24 int xc_get_max_cpus(xc_interface *xch) in xc_get_max_cpus()
41 int xc_get_online_cpus(xc_interface *xch) in xc_get_online_cpus()
51 int xc_get_max_nodes(xc_interface *xch) in xc_get_max_nodes()
68 int xc_get_cpumap_size(xc_interface *xch) in xc_get_cpumap_size()
77 int xc_get_nodemap_size(xc_interface *xch) in xc_get_nodemap_size()
134 int xc_readconsolering(xc_interface *xch, in xc_readconsolering()
190 int xc_physinfo(xc_interface *xch, in xc_physinfo()
332 int xc_sched_id(xc_interface *xch, in xc_sched_id()
419 int xc_perfc_reset(xc_interface *xch) in xc_perfc_reset()
453 int xc_perfc_query(xc_interface *xch, in xc_perfc_query()
[all …]
A Dxc_core.h119 xc_core_shdr_get(xc_interface *xch,
122 xc_core_shdr_set(xc_interface *xch,
136 int xc_core_arch_memory_map_get(xc_interface *xch,
141 int xc_core_arch_map_p2m(xc_interface *xch, unsigned int guest_width,
145 int xc_core_arch_map_p2m_writable(xc_interface *xch, unsigned int guest_width,
150 int xc_core_arch_get_scratch_gpfn(xc_interface *xch, uint32_t domid,
A Dxc_cpupool.c26 static int do_sysctl_save(xc_interface *xch, struct xen_sysctl *sysctl) in do_sysctl_save()
37 int xc_cpupool_create(xc_interface *xch, in xc_cpupool_create()
56 int xc_cpupool_destroy(xc_interface *xch, in xc_cpupool_destroy()
67 xc_cpupoolinfo_t *xc_cpupool_getinfo(xc_interface *xch, in xc_cpupool_getinfo()
121 void xc_cpupool_infofree(xc_interface *xch, in xc_cpupool_infofree()
128 int xc_cpupool_addcpu(xc_interface *xch, in xc_cpupool_addcpu()
149 int xc_cpupool_removecpu(xc_interface *xch, in xc_cpupool_removecpu()
169 int xc_cpupool_movedomain(xc_interface *xch, in xc_cpupool_movedomain()
182 xc_cpumap_t xc_cpupool_freeinfo(xc_interface *xch) in xc_cpupool_freeinfo()
A Dxc_pm.c29 int xc_pm_get_max_px(xc_interface *xch, int cpuid, int *max_px) in xc_pm_get_max_px()
100 int xc_pm_reset_pxstat(xc_interface *xch, int cpuid) in xc_pm_reset_pxstat()
111 int xc_pm_get_max_cx(xc_interface *xch, int cpuid, int *max_cx) in xc_pm_get_max_cx()
184 int xc_pm_reset_cxstat(xc_interface *xch, int cpuid) in xc_pm_reset_cxstat()
200 int xc_get_cpufreq_para(xc_interface *xch, int cpuid, in xc_get_cpufreq_para()
314 int xc_set_cpufreq_para(xc_interface *xch, int cpuid, in xc_set_cpufreq_para()
356 int xc_set_sched_opt_smt(xc_interface *xch, uint32_t value) in xc_set_sched_opt_smt()
390 int xc_get_cpuidle_max_cstate(xc_interface *xch, uint32_t *value) in xc_get_cpuidle_max_cstate()
417 int xc_set_cpuidle_max_cstate(xc_interface *xch, uint32_t value) in xc_set_cpuidle_max_cstate()
427 int xc_enable_turbo(xc_interface *xch, int cpuid) in xc_enable_turbo()
[all …]
A Dxc_tbuf.c28 static int tbuf_enable(xc_interface *xch, int enable) in tbuf_enable()
42 int xc_tbuf_set_size(xc_interface *xch, unsigned long size) in xc_tbuf_set_size()
54 int xc_tbuf_get_size(xc_interface *xch, unsigned long *size) in xc_tbuf_get_size()
82 int xc_tbuf_enable(xc_interface *xch, unsigned long pages, unsigned long *mfn, in xc_tbuf_enable()
112 int xc_tbuf_disable(xc_interface *xch) in xc_tbuf_disable()
117 int xc_tbuf_set_cpu_mask(xc_interface *xch, xc_cpumap_t mask) in xc_tbuf_set_cpu_mask()
161 int xc_tbuf_set_evt_mask(xc_interface *xch, uint32_t mask) in xc_tbuf_set_evt_mask()
A Dxc_core_arm.c41 xc_core_arch_memory_map_get(xc_interface *xch, struct xc_core_arch_context *unused, in xc_core_arch_memory_map_get()
68 xc_core_arch_map_p2m_rw(xc_interface *xch, struct domain_info_context *dinfo, xc_dominfo_t *info, in xc_core_arch_map_p2m_rw()
77 xc_core_arch_map_p2m(xc_interface *xch, unsigned int guest_width, xc_dominfo_t *info, in xc_core_arch_map_p2m()
88 xc_core_arch_map_p2m_writable(xc_interface *xch, unsigned int guest_width, xc_dominfo_t *info, in xc_core_arch_map_p2m_writable()
99 xc_core_arch_get_scratch_gpfn(xc_interface *xch, uint32_t domid, in xc_core_arch_get_scratch_gpfn()
A Dxc_gnttab.c21 int xc_gnttab_op(xc_interface *xch, int cmd, void * op, int op_size, int count) in xc_gnttab_op()
41 int xc_gnttab_query_size(xc_interface *xch, struct gnttab_query_size *query) in xc_gnttab_query_size()
53 int xc_gnttab_get_version(xc_interface *xch, uint32_t domid) in xc_gnttab_get_version()
67 static void *_gnttab_map_table(xc_interface *xch, uint32_t domid, int *gnt_num) in _gnttab_map_table()
137 grant_entry_v1_t *xc_gnttab_map_table_v1(xc_interface *xch, uint32_t domid, in xc_gnttab_map_table_v1()
145 grant_entry_v2_t *xc_gnttab_map_table_v2(xc_interface *xch, uint32_t domid, in xc_gnttab_map_table_v2()
A Dxc_evtchn.c24 static int do_evtchn_op(xc_interface *xch, int cmd, void *arg, in do_evtchn_op()
47 xc_evtchn_alloc_unbound(xc_interface *xch, in xc_evtchn_alloc_unbound()
64 int xc_evtchn_reset(xc_interface *xch, in xc_evtchn_reset()
71 int xc_evtchn_status(xc_interface *xch, xc_evtchn_status_t *status) in xc_evtchn_status()
A Dxc_altp2m.c116 int xc_altp2m_create_view(xc_interface *handle, uint32_t domid, in xc_altp2m_create_view()
142 int xc_altp2m_destroy_view(xc_interface *handle, uint32_t domid, in xc_altp2m_destroy_view()
165 int xc_altp2m_switch_to_view(xc_interface *handle, uint32_t domid, in xc_altp2m_switch_to_view()
187 int xc_altp2m_get_suppress_ve(xc_interface *handle, uint32_t domid, in xc_altp2m_get_suppress_ve()
213 int xc_altp2m_set_suppress_ve(xc_interface *handle, uint32_t domid, in xc_altp2m_set_suppress_ve()
270 int xc_altp2m_set_mem_access(xc_interface *handle, uint32_t domid, in xc_altp2m_set_mem_access()
295 int xc_altp2m_change_gfn(xc_interface *handle, uint32_t domid, in xc_altp2m_change_gfn()
320 int xc_altp2m_set_mem_access_multi(xc_interface *xch, uint32_t domid, in xc_altp2m_set_mem_access_multi()
362 int xc_altp2m_get_mem_access(xc_interface *handle, uint32_t domid, in xc_altp2m_get_mem_access()
389 int xc_altp2m_get_vcpu_p2m_idx(xc_interface *handle, uint32_t domid, in xc_altp2m_get_vcpu_p2m_idx()
[all …]
A Dxc_psr.c30 int xc_psr_cmt_attach(xc_interface *xch, uint32_t domid) in xc_psr_cmt_attach()
41 int xc_psr_cmt_detach(xc_interface *xch, uint32_t domid) in xc_psr_cmt_detach()
52 int xc_psr_cmt_get_domain_rmid(xc_interface *xch, uint32_t domid, in xc_psr_cmt_get_domain_rmid()
70 int xc_psr_cmt_get_total_rmid(xc_interface *xch, uint32_t *total_rmid) in xc_psr_cmt_get_total_rmid()
93 int xc_psr_cmt_get_l3_upscaling_factor(xc_interface *xch, in xc_psr_cmt_get_l3_upscaling_factor()
135 int xc_psr_cmt_get_l3_cache_size(xc_interface *xch, uint32_t cpu, in xc_psr_cmt_get_l3_cache_size()
161 int xc_psr_cmt_get_data(xc_interface *xch, uint32_t rmid, uint32_t cpu, in xc_psr_cmt_get_data()
229 int xc_psr_cmt_enabled(xc_interface *xch) in xc_psr_cmt_enabled()
251 int xc_psr_set_domain_data(xc_interface *xch, uint32_t domid, in xc_psr_set_domain_data()
289 int xc_psr_get_domain_data(xc_interface *xch, uint32_t domid, in xc_psr_get_domain_data()
[all …]
A Dxc_cpu_hotplug.c23 int xc_cpu_online(xc_interface *xch, int cpu) in xc_cpu_online()
36 int xc_cpu_offline(xc_interface *xch, int cpu) in xc_cpu_offline()
49 int xc_smt_enable(xc_interface *xch) in xc_smt_enable()
62 int xc_smt_disable(xc_interface *xch) in xc_smt_disable()
A Dxc_suspend.c43 static int lock_suspend_event(xc_interface *xch, uint32_t domid, int *lockfd) in lock_suspend_event()
103 static int unlock_suspend_event(xc_interface *xch, uint32_t domid, int *lockfd) in unlock_suspend_event()
129 int xc_await_suspend(xc_interface *xch, xenevtchn_handle *xce, int suspend_evtchn) in xc_await_suspend()
150 int xc_suspend_evtchn_release(xc_interface *xch, xenevtchn_handle *xce, in xc_suspend_evtchn_release()
159 int xc_suspend_evtchn_init_sane(xc_interface *xch, xenevtchn_handle *xce, in xc_suspend_evtchn_init_sane()
189 int xc_suspend_evtchn_init_exclusive(xc_interface *xch, xenevtchn_handle *xce, in xc_suspend_evtchn_init_exclusive()
/xen/tools/tests/mce-test/tools/
A Dxen-mceinj.c134 static void err(xc_interface *xc_handle, const char *fmt, ...) in err()
156 static int flush_msr_inj(xc_interface *xc_handle) in flush_msr_inj()
167 static unsigned int mca_cpuinfo(xc_interface *xc_handle) in mca_cpuinfo()
205 static int inject_mce(xc_interface *xc_handle, int cpu_nr) in inject_mce()
270 static int add_msr_intpose(xc_interface *xc_handle, in add_msr_intpose()
302 static int add_msr_bank_intpose(xc_interface *xc_handle, in add_msr_bank_intpose()
318 static int inject_mcg_status(xc_interface *xc_handle, in inject_mcg_status()
327 static int inject_mci_status(xc_interface *xc_handle, in inject_mci_status()
337 static int inject_mci_misc(xc_interface *xc_handle, in inject_mci_misc()
347 static int inject_mci_addr(xc_interface *xc_handle, in inject_mci_addr()
[all …]

Completed in 46 milliseconds

12345