/xen/tools/libxc/ |
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() 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 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_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() 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 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_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() 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 D | xc_domain.c | 1512 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 D | xc_private.c | 84 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 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_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_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_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_psr.c | 30 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 D | xc_hcall_buf.c | 30 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()
|
A D | xc_sr_restore.c | 12 xc_interface *xch = ctx->xch; in read_headers() local 91 xc_interface *xch = ctx->xch; in pfn_set_populated() local 140 xc_interface *xch = ctx->xch; in populate_pfns() local 208 xc_interface *xch = ctx->xch; in process_page_data() local 337 xc_interface *xch = ctx->xch; in handle_page_data() local 450 xc_interface *xch = ctx->xch; in send_checkpoint_dirty_pfn_list() local 535 xc_interface *xch = ctx->xch; in handle_checkpoint() local 634 xc_interface *xch = ctx->xch; in buffer_record() local 661 xc_interface *xch = ctx->xch; in handle_static_data_end() local 687 xc_interface *xch = ctx->xch; in process_record() local [all …]
|
A D | xc_cpu_hotplug.c | 23 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 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_csched.c | 28 xc_interface *xch, in xc_sched_credit_domain_set() 48 xc_interface *xch, in xc_sched_credit_domain_get() 69 xc_interface *xch, in xc_sched_credit_params_set() 92 xc_interface *xch, in xc_sched_credit_params_get()
|
A D | xc_csched2.c | 28 xc_interface *xch, in xc_sched_credit2_domain_set() 48 xc_interface *xch, in xc_sched_credit2_domain_get() 69 xc_interface *xch, in xc_sched_credit2_params_set() 92 xc_interface *xch, in xc_sched_credit2_params_get()
|
A D | xc_sr_common_x86.c | 5 xc_interface *xch = ctx->xch; in write_x86_tsc_info() local 25 xc_interface *xch = ctx->xch; in handle_x86_tsc_info() local 47 xc_interface *xch = ctx->xch; in write_x86_cpu_policy_records() local 97 xc_interface *xch = ctx->xch; in handle_x86_cpuid_policy() local 117 xc_interface *xch = ctx->xch; in handle_x86_msr_policy() local 137 xc_interface *xch = ctx->xch; in x86_static_data_complete() local
|
A D | xc_kexec.c | 15 int xc_kexec_exec(xc_interface *xch, int type) in xc_kexec_exec() 39 int xc_kexec_get_range(xc_interface *xch, int range, int nr, in xc_kexec_get_range() 68 int xc_kexec_load(xc_interface *xch, uint8_t type, uint16_t arch, in xc_kexec_load() 106 int xc_kexec_unload(xc_interface *xch, int type) in xc_kexec_unload() 130 int xc_kexec_status(xc_interface *xch, int type) in xc_kexec_status()
|
A D | xc_sr_restore_x86_pv.c | 20 xc_interface *xch = ctx->xch; in expand_p2m() local 78 xc_interface *xch = ctx->xch; in pin_pagetables() local 136 xc_interface *xch = ctx->xch; in process_start_info() local 238 xc_interface *xch = ctx->xch; in process_vcpu_basic() local 376 xc_interface *xch = ctx->xch; in process_vcpu_extended() local 400 xc_interface *xch = ctx->xch; in process_vcpu_xsave() local 438 xc_interface *xch = ctx->xch; in process_vcpu_msrs() local 475 xc_interface *xch = ctx->xch; in update_vcpu_context() local 528 xc_interface *xch = ctx->xch; in update_guest_p2m() local 604 xc_interface *xch = ctx->xch; in handle_x86_pv_info() local [all …]
|
A D | xc_sr_save.c | 11 xc_interface *xch = ctx->xch; in write_headers() local 89 xc_interface *xch = ctx->xch; in write_batch() local 329 xc_interface *xch = ctx->xch; in suspend_domain() local 373 xc_interface *xch = ctx->xch; in send_dirty_pages() local 424 xc_interface *xch = ctx->xch; in enable_logdirty() local 458 xc_interface *xch = ctx->xch; in update_progress_string() local 502 xc_interface *xch = ctx->xch; in send_memory_live() local 588 xc_interface *xch = ctx->xch; in colo_merge_secondary_dirty_bitmap() local 645 xc_interface *xch = ctx->xch; in suspend_and_send_dirty() local 703 xc_interface *xch = ctx->xch; in verify_frames() local [all …]
|
A D | xc_resume.c | 26 static int modify_returncode(xc_interface *xch, uint32_t domid) in modify_returncode() 86 static int modify_returncode(xc_interface *xch, uint32_t domid) in modify_returncode() 94 static int xc_domain_resume_cooperative(xc_interface *xch, uint32_t domid) in xc_domain_resume_cooperative() 112 static int xc_domain_resume_hvm(xc_interface *xch, uint32_t domid) in xc_domain_resume_hvm() 133 static int xc_domain_resume_any(xc_interface *xch, uint32_t domid) in xc_domain_resume_any() 285 int xc_domain_resume(xc_interface *xch, uint32_t domid, int fast) in xc_domain_resume()
|
A D | xc_evtchn.c | 24 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()
|
/xen/tools/ocaml/libs/xc/ |
A D | xenctrl_stubs.c | 51 static void Noreturn failwith_xc(xc_interface *xch) in failwith_xc() 74 xc_interface *xch; in stub_xc_interface_open() local 85 CAMLprim value stub_xc_interface_close(value xch) in stub_xc_interface_close() 509 static int get_cpumap_len(value xch, value cpumap) in get_cpumap_len() 586 CAMLprim value stub_xc_sched_id(value xch) in stub_xc_sched_id() 596 CAMLprim value stub_xc_evtchn_alloc_unbound(value xch, in stub_xc_evtchn_alloc_unbound() 628 CAMLprim value stub_xc_readconsolering(value xch) in stub_xc_readconsolering() 700 CAMLprim value stub_xc_physinfo(value xch) in stub_xc_physinfo() 825 CAMLprim value stub_xc_version_version(value xch) in stub_xc_version_version() 857 CAMLprim value stub_xc_version_compile_info(value xch) in stub_xc_version_compile_info() [all …]
|