| /tools/include/ |
| A D | xenctrl.h | 367 int xc_get_max_cpus(xc_interface *xch); 516 int xc_domain_pause(xc_interface *xch, 557 int xc_watchdog(xc_interface *xch, 830 int xc_vcpu_getinfo(xc_interface *xch, 903 xc_interface *xch, 909 xc_interface *xch, 1158 int xc_sched_id(xc_interface *xch, 1380 int xc_perfc_query(xc_interface *xch, 1731 xc_interface *xch, 1900 int xc_smt_enable(xc_interface *xch); [all …]
|
| A D | xenctrl_compat.h | 27 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 D | xenguest.h | 184 xc_interface *xch; 285 struct xc_dom_image *xc_dom_allocate(xc_interface *xch, 310 size_t xc_dom_check_gzip(xc_interface *xch, 312 int xc_dom_do_gunzip(xc_interface *xch, 349 int xc_dom_loginit(xc_interface *xch); 353 void xc_dom_panic_func(xc_interface *xch, 636 int xc_linux_build(xc_interface *xch, 653 int xc_suspend_evtchn_release(xc_interface *xch, 677 int xc_suspend_evtchn_init_sane(xc_interface *xch, 751 int xc_domain_resume(xc_interface *xch, [all …]
|
| /tools/libs/ctrl/ |
| A D | xc_private.h | 99 void *osdep_alloc_hypercall_buffer(xc_interface *xch, int npages); 113 void xc_report_progress_step(xc_interface *xch, 207 void xc__hypercall_buffer_cache_release(xc_interface *xch); 238 static inline int do_domctl_maybe_retry_efault(xc_interface *xch, in do_domctl_maybe_retry_efault() 311 static inline int do_platform_op(xc_interface *xch, in do_platform_op() 339 static inline int do_multicall_op(xc_interface *xch, in do_multicall_op() 358 void *xc_map_foreign_ranges(xc_interface *xch, uint32_t dom, 362 int xc_get_pfn_type_batch(xc_interface *xch, uint32_t dom, 369 void discard_file_cache(xc_interface *xch, int fd, int flush); 379 int xc_add_mmu_update(xc_interface *xch, struct xc_mmu *mmu, [all …]
|
| A D | xc_devicemodel_compat.c | 10 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 D | xc_memshr.c | 27 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 D | xc_flask.c | 37 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 D | xc_mem_paging.c | 25 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 D | xc_domain.c | 1512 xc_interface *xch, in xc_assign_device() 1529 xc_interface *xch, in xc_get_device_group() 1565 xc_interface *xch, in xc_test_assign_device() 1581 xc_interface *xch, in xc_deassign_device() 1597 xc_interface *xch, in xc_assign_dt_device() 1629 xc_interface *xch, in xc_test_assign_dt_device() 1657 xc_interface *xch, in xc_deassign_dt_device() 1688 xc_interface *xch, in xc_domain_update_msi_irq() 1714 xc_interface *xch, in xc_domain_unbind_msi_irq() 1739 xc_interface *xch, in xc_domain_bind_pt_irq_int() [all …]
|
| A D | xc_monitor.c | 31 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() 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() 221 int xc_monitor_privileged_call(xc_interface *xch, uint32_t domain_id, in xc_monitor_privileged_call() [all …]
|
| A D | xc_version.c | 11 static int do_xen_version(xc_interface *xch, int cmd, in do_xen_version() 19 int xc_version(xc_interface *xch, int cmd, void *arg) in xc_version() 89 static int do_xen_version_raw(xc_interface *xch, int cmd, void *hbuf) in do_xen_version_raw() 102 static xen_varbuf_t *varbuf_op(xc_interface *xch, unsigned int subop) in varbuf_op() 135 static char *varbuf_simple_string(xc_interface *xch, unsigned int subop) in varbuf_simple_string() 155 char *xc_xenver_extraversion(xc_interface *xch) in xc_xenver_extraversion() 160 char *xc_xenver_capabilities(xc_interface *xch) in xc_xenver_capabilities() 165 char *xc_xenver_changeset(xc_interface *xch) in xc_xenver_changeset() 170 char *xc_xenver_commandline(xc_interface *xch) in xc_xenver_commandline() 188 char *xc_xenver_buildid(xc_interface *xch) in xc_xenver_buildid()
|
| A D | xc_private.c | 82 int xc_interface_close(xc_interface *xch) in xc_interface_close() 123 const xc_error *xc_get_last_error(xc_interface *xch) in xc_get_last_error() 128 void xc_clear_last_error(xc_interface *xch) in xc_clear_last_error() 154 void xc_reportv(xc_interface *xch, xentoollog_logger *lg, in xc_reportv() 190 void xc_report(xc_interface *xch, xentoollog_logger *lg, in xc_report() 220 void xc_report_progress_step(xc_interface *xch, in xc_report_progress_step() 246 xc_interface *xch, in xc_mmuext_op() 414 int xc_machphys_mfn_list(xc_interface *xch, in xc_machphys_mfn_list() 452 int xc_copy_to_domain_page(xc_interface *xch, in xc_copy_to_domain_page() 467 int xc_clear_domain_pages(xc_interface *xch, in xc_clear_domain_pages() [all …]
|
| A D | xc_hcall_buf.c | 29 void *xc__hypercall_buffer_alloc_pages(xc_interface *xch, xc_hypercall_buffer_t *b, int nr_pages) in xc__hypercall_buffer_alloc_pages() 41 void xc__hypercall_buffer_free_pages(xc_interface *xch, xc_hypercall_buffer_t *b, int nr_pages) in xc__hypercall_buffer_free_pages() 46 void *xc__hypercall_buffer_alloc(xc_interface *xch, xc_hypercall_buffer_t *b, size_t size) in xc__hypercall_buffer_alloc() 58 void xc__hypercall_buffer_free(xc_interface *xch, xc_hypercall_buffer_t *b) in xc__hypercall_buffer_free() 63 int xc__hypercall_bounce_pre(xc_interface *xch, xc_hypercall_buffer_t *b) in xc__hypercall_bounce_pre() 92 void xc__hypercall_bounce_post(xc_interface *xch, xc_hypercall_buffer_t *b) in xc__hypercall_bounce_post() 114 xc_hypercall_buffer_array_t *xc_hypercall_buffer_array_create(xc_interface *xch, in xc_hypercall_buffer_array_create() 139 void *xc__hypercall_buffer_array_alloc(xc_interface *xch, in xc__hypercall_buffer_array_alloc() 156 void *xc__hypercall_buffer_array_get(xc_interface *xch, in xc__hypercall_buffer_array_get() 168 void xc_hypercall_buffer_array_destroy(xc_interface *xc, in xc_hypercall_buffer_array_destroy()
|
| A D | xc_misc.c | 24 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() 367 int xc_sched_id(xc_interface *xch, in xc_sched_id() 454 int xc_perfc_reset(xc_interface *xch) in xc_perfc_reset() 488 int xc_perfc_query(xc_interface *xch, in xc_perfc_query() [all …]
|
| A D | xc_vmtrace.c | 28 xc_interface *xch, uint32_t domid, uint32_t vcpu) in xc_vmtrace_enable() 43 xc_interface *xch, uint32_t domid, uint32_t vcpu) in xc_vmtrace_disable() 58 xc_interface *xch, uint32_t domid, uint32_t vcpu) in xc_vmtrace_reset_and_enable() 73 xc_interface *xch, uint32_t domid, uint32_t vcpu, uint64_t *pos) in xc_vmtrace_output_position() 92 xc_interface *xch, uint32_t domid, uint32_t vcpu, in xc_vmtrace_get_option() 113 xc_interface *xch, uint32_t domid, uint32_t vcpu, in xc_vmtrace_set_option()
|
| A D | xc_cpupool.c | 26 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 D | xc_pm.c | 29 int xc_pm_get_max_px(xc_interface *xch, int cpuid, int *max_px) in xc_pm_get_max_px() 98 int xc_pm_reset_pxstat(xc_interface *xch, int cpuid) in xc_pm_reset_pxstat() 109 int xc_pm_get_max_cx(xc_interface *xch, int cpuid, int *max_cx) in xc_pm_get_max_cx() 182 int xc_pm_reset_cxstat(xc_interface *xch, int cpuid) in xc_pm_reset_cxstat() 198 int xc_get_cpufreq_para(xc_interface *xch, int cpuid, in xc_get_cpufreq_para() 326 int xc_set_cpufreq_para(xc_interface *xch, int cpuid, in xc_set_cpufreq_para() 345 int xc_set_cpufreq_cppc(xc_interface *xch, int cpuid, in xc_set_cpufreq_cppc() 391 int xc_set_sched_opt_smt(xc_interface *xch, uint32_t value) in xc_set_sched_opt_smt() 452 int xc_set_cpuidle_max_cstate(xc_interface *xch, uint32_t value) in xc_set_cpuidle_max_cstate() 462 int xc_enable_turbo(xc_interface *xch, int cpuid) in xc_enable_turbo() [all …]
|
| A D | xc_tbuf.c | 28 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 D | xc_gnttab.c | 21 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 D | xc_altp2m.c | 116 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 …]
|
| /tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/ |
| A D | domain_getinfo_stubs_v1.c | 21 static inline xc_interface *xsd_glue_xch_of_val(value v) in xsd_glue_xch_of_val() 23 xc_interface *xch = *(xc_interface **)Data_custom_val(v); in xsd_glue_xch_of_val() 30 xc_interface *xch = xsd_glue_xch_of_val(v); in xsd_glue_xenctrl_finalize() 46 xc_interface *xch, const char *func, unsigned int line) in xsd_glue_failwith() 80 xc_interface *xch; in stub_xsd_glue_xc_interface_open() 91 *(xc_interface **)Data_custom_val(result) = xch; in stub_xsd_glue_xc_interface_open() 115 xc_interface *xch = xsd_glue_xch_of_val(xch_val); in stub_xsd_glue_xc_domain_getinfo() 136 xc_interface *xch = xsd_glue_xch_of_val(xch_val); in stub_xsd_glue_xc_domain_getinfolist()
|
| /tools/ocaml/libs/xc/ |
| A D | xenctrl_stubs.c | 44 xc_interface *xch = *(xc_interface **)Data_custom_val(v); in xch_of_val() 51 xc_interface *xch = xch_of_val(v); in stub_xenctrl_finalize() 93 xc_interface *xch; in stub_xc_interface_open() 195 xc_interface *xch = xch_of_val(xch_val); in stub_xc_domain_create() 314 xc_interface *xch = xch_of_val(xch_val); in stub_xc_domain_max_vcpus() 328 xc_interface *xch = xch_of_val(xch_val); in stub_xc_domain_sethandle() 345 xc_interface *xch = xch_of_val(xch_val); in dom_op() 377 xc_interface *xch = xch_of_val(xch_val); in stub_xc_domain_resume_fast() 393 xc_interface *xch = xch_of_val(xch_val); in stub_xc_domain_shutdown() 462 xc_interface *xch = xch_of_val(xch_val); in stub_xc_domain_getinfolist() [all …]
|
| /tools/libs/guest/ |
| A D | xg_core_arm.c | 35 xc_core_arch_memory_map_get(xc_interface *xch, struct xc_core_arch_context *unused, in xc_core_arch_memory_map_get() 62 xc_core_arch_map_p2m_rw(xc_interface *xch, struct domain_info_context *dinfo, xc_domaininfo_t *info, in xc_core_arch_map_p2m_rw() 70 xc_core_arch_map_p2m(xc_interface *xch, struct domain_info_context *dinfo, xc_domaininfo_t *info, in xc_core_arch_map_p2m() 77 xc_core_arch_map_p2m_writable(xc_interface *xch, struct domain_info_context *dinfo, xc_domaininfo_t… in xc_core_arch_map_p2m_writable() 84 xc_core_arch_get_scratch_gpfn(xc_interface *xch, uint32_t domid, in xc_core_arch_get_scratch_gpfn()
|
| A D | xg_core.h | 119 xc_core_shdr_get(xc_interface *xch, 122 xc_core_shdr_set(xc_interface *xch, 135 int xc_core_arch_memory_map_get(xc_interface *xch, 140 int xc_core_arch_map_p2m(xc_interface *xch, struct domain_info_context *dinfo, 144 int xc_core_arch_map_p2m_writable(xc_interface *xch, struct domain_info_context *dinfo, 149 int xc_core_arch_get_scratch_gpfn(xc_interface *xch, uint32_t domid,
|
| /tools/misc/ |
| A D | xen-mceinj.c | 134 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 …]
|