Lines Matching refs:xch

183 int xc_interface_close(xc_interface *xch);
191 struct xencall_handle *xc_interface_xcall_handle(xc_interface *xch);
192 struct xenforeignmemory_handle *xc_interface_fmem_handle(xc_interface *xch);
193 struct xendevicemodel_handle *xc_interface_dmod_handle(xc_interface *xch);
345 void *xc__hypercall_buffer_alloc(xc_interface *xch, xc_hypercall_buffer_t *b, size_t size);
347 void xc__hypercall_buffer_free(xc_interface *xch, xc_hypercall_buffer_t *b);
353 void *xc__hypercall_buffer_alloc_pages(xc_interface *xch, xc_hypercall_buffer_t *b, int nr_pages);
355 void xc__hypercall_buffer_free_pages(xc_interface *xch, xc_hypercall_buffer_t *b, int nr_pages);
379 xc_hypercall_buffer_array_t *xc_hypercall_buffer_array_create(xc_interface *xch, unsigned n);
380 void *xc__hypercall_buffer_array_alloc(xc_interface *xch, xc_hypercall_buffer_array_t *array,
384 void *xc__hypercall_buffer_array_get(xc_interface *xch, xc_hypercall_buffer_array_t *array,
396 int xc_get_max_cpus(xc_interface *xch);
399 int xc_get_online_cpus(xc_interface *xch);
402 int xc_get_cpumap_size(xc_interface *xch);
405 xc_cpumap_t xc_cpumap_alloc(xc_interface *xch);
422 int xc_get_max_nodes(xc_interface *xch);
425 int xc_get_nodemap_size(xc_interface *xch);
428 xc_nodemap_t xc_nodemap_alloc(xc_interface *xch);
506 int xc_domain_create(xc_interface *xch, uint32_t *pdomid,
515 int xc_domain_dumpcore(xc_interface *xch,
525 typedef int (dumpcore_rtn_t)(xc_interface *xch,
528 int xc_domain_dumpcore_via_callback(xc_interface *xch,
541 int xc_domain_max_vcpus(xc_interface *xch,
553 int xc_domain_pause(xc_interface *xch,
563 int xc_domain_unpause(xc_interface *xch,
575 int xc_domain_destroy(xc_interface *xch,
638 int xc_domain_resume(xc_interface *xch,
653 int xc_domain_shutdown(xc_interface *xch,
657 int xc_watchdog(xc_interface *xch,
670 int xc_domain_node_setaffinity(xc_interface *xch,
683 int xc_domain_node_getaffinity(xc_interface *xch,
719 int xc_vcpu_setaffinity(xc_interface *xch,
740 int xc_vcpu_getaffinity(xc_interface *xch,
756 int xc_domain_get_guest_width(xc_interface *xch, uint32_t domid,
775 int xc_domain_getinfo(xc_interface *xch,
790 int xc_vcpu_setcontext(xc_interface *xch,
807 int xc_domain_getinfolist(xc_interface *xch,
819 int xc_set_broken_page_p2m(xc_interface *xch,
832 int xc_domain_hvm_getcontext(xc_interface *xch,
849 int xc_domain_hvm_getcontext_partial(xc_interface *xch,
865 int xc_domain_hvm_setcontext(xc_interface *xch,
877 const char *xc_domain_get_native_protocol(xc_interface *xch,
891 int xc_vcpu_getcontext(xc_interface *xch,
909 int xc_dom_vuart_init(xc_interface *xch,
929 int xc_vcpu_get_extstate(xc_interface *xch,
935 int xc_vcpu_getinfo(xc_interface *xch,
940 long long xc_domain_get_cpu_usage(xc_interface *xch,
944 int xc_domain_sethandle(xc_interface *xch, uint32_t domid,
948 int xc_shadow_control(xc_interface *xch,
957 int xc_sched_credit_domain_set(xc_interface *xch,
961 int xc_sched_credit_domain_get(xc_interface *xch,
964 int xc_sched_credit_params_set(xc_interface *xch,
967 int xc_sched_credit_params_get(xc_interface *xch,
971 int xc_sched_credit2_params_set(xc_interface *xch,
974 int xc_sched_credit2_params_get(xc_interface *xch,
977 int xc_sched_credit2_domain_set(xc_interface *xch,
980 int xc_sched_credit2_domain_get(xc_interface *xch,
984 int xc_sched_rtds_domain_set(xc_interface *xch,
987 int xc_sched_rtds_domain_get(xc_interface *xch,
990 int xc_sched_rtds_vcpu_set(xc_interface *xch,
994 int xc_sched_rtds_vcpu_get(xc_interface *xch,
1001 xc_interface *xch,
1007 xc_interface *xch,
1020 int xc_domain_send_trigger(xc_interface *xch,
1033 int xc_domain_setdebugging(xc_interface *xch,
1055 int xc_domain_p2m_audit(xc_interface *xch,
1070 int xc_domain_set_access_required(xc_interface *xch,
1081 int xc_domain_set_virq_handler(xc_interface *xch, uint32_t domid, int virq);
1104 int xc_cpupool_create(xc_interface *xch,
1115 int xc_cpupool_destroy(xc_interface *xch,
1125 xc_cpupoolinfo_t *xc_cpupool_getinfo(xc_interface *xch,
1133 void xc_cpupool_infofree(xc_interface *xch,
1144 int xc_cpupool_addcpu(xc_interface *xch,
1156 int xc_cpupool_removecpu(xc_interface *xch,
1168 int xc_cpupool_movedomain(xc_interface *xch,
1178 xc_cpumap_t xc_cpupool_freeinfo(xc_interface *xch);
1204 xc_evtchn_alloc_unbound(xc_interface *xch,
1208 int xc_evtchn_reset(xc_interface *xch,
1212 int xc_evtchn_status(xc_interface *xch, xc_evtchn_status_t *status);
1216 int xc_physdev_pci_access_modify(xc_interface *xch,
1223 int xc_readconsolering(xc_interface *xch,
1228 int xc_send_debug_keys(xc_interface *xch, const char *keys);
1243 int xc_physinfo(xc_interface *xch, xc_physinfo_t *info);
1244 int xc_cputopoinfo(xc_interface *xch, unsigned *max_cpus,
1246 int xc_microcode_update(xc_interface *xch, const void *buf, size_t len);
1247 int xc_numainfo(xc_interface *xch, unsigned *max_nodes,
1249 int xc_pcitopoinfo(xc_interface *xch, unsigned num_devs,
1252 int xc_sched_id(xc_interface *xch,
1255 int xc_machphys_mfn_list(xc_interface *xch,
1260 int xc_getcpuinfo(xc_interface *xch, int max_cpus,
1263 int xc_domain_setmaxmem(xc_interface *xch,
1267 int xc_domain_set_memmap_limit(xc_interface *xch,
1271 int xc_domain_setvnuma(xc_interface *xch,
1290 int xc_domain_getvnuma(xc_interface *xch,
1299 int xc_domain_soft_reset(xc_interface *xch,
1319 int xc_domain_set_memory_map(xc_interface *xch,
1324 int xc_get_machine_memory_map(xc_interface *xch,
1329 int xc_reserved_device_memory_map(xc_interface *xch,
1336 int xc_domain_set_time_offset(xc_interface *xch,
1340 int xc_domain_set_tsc_info(xc_interface *xch,
1347 int xc_domain_get_tsc_info(xc_interface *xch,
1354 int xc_domain_disable_migrate(xc_interface *xch, uint32_t domid);
1356 int xc_domain_maximum_gpfn(xc_interface *xch, uint32_t domid, xen_pfn_t *gpfns);
1358 int xc_domain_nr_gpfns(xc_interface *xch, uint32_t domid, xen_pfn_t *gpfns);
1360 int xc_domain_increase_reservation(xc_interface *xch,
1367 int xc_domain_increase_reservation_exact(xc_interface *xch,
1374 int xc_domain_decrease_reservation(xc_interface *xch,
1380 int xc_domain_decrease_reservation_exact(xc_interface *xch,
1386 int xc_domain_add_to_physmap(xc_interface *xch,
1392 int xc_domain_add_to_physmap_batch(xc_interface *xch,
1401 int xc_domain_remove_from_physmap(xc_interface *xch,
1405 int xc_domain_populate_physmap(xc_interface *xch,
1412 int xc_domain_populate_physmap_exact(xc_interface *xch,
1419 int xc_domain_claim_pages(xc_interface *xch,
1423 int xc_domain_memory_exchange_pages(xc_interface *xch,
1432 int xc_domain_set_pod_target(xc_interface *xch,
1439 int xc_domain_get_pod_target(xc_interface *xch,
1445 int xc_domain_ioport_permission(xc_interface *xch,
1451 int xc_domain_irq_permission(xc_interface *xch,
1456 int xc_domain_iomem_permission(xc_interface *xch,
1462 unsigned long xc_make_page_below_4G(xc_interface *xch, uint32_t domid,
1467 int xc_perfc_reset(xc_interface *xch);
1468 int xc_perfc_query_number(xc_interface *xch,
1471 int xc_perfc_query(xc_interface *xch,
1476 int xc_lockprof_reset(xc_interface *xch);
1477 int xc_lockprof_query_number(xc_interface *xch,
1479 int xc_lockprof_query(xc_interface *xch,
1484 void *xc_memalign(xc_interface *xch, size_t alignment, size_t size);
1499 unsigned long xc_translate_foreign_address(xc_interface *xch, uint32_t dom,
1503 int xc_copy_to_domain_page(xc_interface *xch, uint32_t domid,
1506 int xc_clear_domain_pages(xc_interface *xch, uint32_t domid,
1509 static inline int xc_clear_domain_page(xc_interface *xch, uint32_t domid, in xc_clear_domain_page() argument
1512 return xc_clear_domain_pages(xch, domid, dst_pfn, 1); in xc_clear_domain_page()
1515 int xc_mmuext_op(xc_interface *xch, struct mmuext_op *op, unsigned int nr_ops,
1519 int xc_maximum_ram_page(xc_interface *xch, unsigned long *max_mfn);
1522 long xc_get_tot_pages(xc_interface *xch, uint32_t domid);
1536 int xc_availheap(xc_interface *xch, int min_width, int max_width, int node,
1554 int xc_tbuf_enable(xc_interface *xch, unsigned long pages,
1560 int xc_tbuf_disable(xc_interface *xch);
1572 int xc_tbuf_set_size(xc_interface *xch, unsigned long size);
1582 int xc_tbuf_get_size(xc_interface *xch, unsigned long *size);
1584 int xc_tbuf_set_cpu_mask(xc_interface *xch, xc_cpumap_t mask);
1586 int xc_tbuf_set_evt_mask(xc_interface *xch, uint32_t mask);
1588 int xc_domctl(xc_interface *xch, struct xen_domctl *domctl);
1589 int xc_sysctl(xc_interface *xch, struct xen_sysctl *sysctl);
1591 int xc_version(xc_interface *xch, int cmd, void *arg);
1593 int xc_flask_op(xc_interface *xch, xen_flask_op_t *op);
1602 xc_interface *xch, uint32_t domid, evtchn_port_t port);
1613 int xc_gnttab_op(xc_interface *xch, int cmd,
1617 int xc_gnttab_query_size(xc_interface *xch, struct gnttab_query_size *query);
1618 int xc_gnttab_get_version(xc_interface *xch, uint32_t domid); /* Never logs */
1619 grant_entry_v1_t *xc_gnttab_map_table_v1(xc_interface *xch, uint32_t domid, int *gnt_num);
1620 grant_entry_v2_t *xc_gnttab_map_table_v2(xc_interface *xch, uint32_t domid, int *gnt_num);
1623 int xc_physdev_map_pirq(xc_interface *xch,
1628 int xc_physdev_map_pirq_msi(xc_interface *xch,
1637 int xc_physdev_unmap_pirq(xc_interface *xch,
1663 const char *xc_strerror(xc_interface *xch, int errcode);
1676 void xc_clear_last_error(xc_interface *xch);
1686 int xc_assign_device(xc_interface *xch,
1691 int xc_get_device_group(xc_interface *xch,
1698 int xc_test_assign_device(xc_interface *xch,
1702 int xc_deassign_device(xc_interface *xch,
1706 int xc_assign_dt_device(xc_interface *xch,
1709 int xc_test_assign_dt_device(xc_interface *xch,
1712 int xc_deassign_dt_device(xc_interface *xch,
1716 int xc_domain_memory_mapping(xc_interface *xch,
1723 int xc_domain_ioport_mapping(xc_interface *xch,
1731 xc_interface *xch,
1738 int xc_domain_unbind_msi_irq(xc_interface *xch,
1744 int xc_domain_bind_pt_irq(xc_interface *xch,
1753 int xc_domain_unbind_pt_irq(xc_interface *xch,
1762 int xc_domain_bind_pt_pci_irq(xc_interface *xch,
1769 int xc_domain_bind_pt_isa_irq(xc_interface *xch,
1773 int xc_domain_bind_pt_spi_irq(xc_interface *xch,
1778 int xc_domain_unbind_pt_spi_irq(xc_interface *xch,
1784 int xc_domain_set_target(xc_interface *xch,
1789 int xc_domain_debug_control(xc_interface *xch,
1835 int xc_cpuid_apply_policy(xc_interface *xch,
1840 int xc_mca_op(xc_interface *xch, struct xen_mc *mc);
1841 int xc_mca_op_inject_v2(xc_interface *xch, unsigned int flags,
1860 int xc_pm_get_max_px(xc_interface *xch, int cpuid, int *max_px);
1861 int xc_pm_get_pxstat(xc_interface *xch, int cpuid, struct xc_px_stat *pxpt);
1862 int xc_pm_reset_pxstat(xc_interface *xch, int cpuid);
1877 int xc_pm_get_max_cx(xc_interface *xch, int cpuid, int *max_cx);
1878 int xc_pm_get_cxstat(xc_interface *xch, int cpuid, struct xc_cx_stat *cxpt);
1879 int xc_pm_reset_cxstat(xc_interface *xch, int cpuid);
1881 int xc_cpu_online(xc_interface *xch, int cpu);
1882 int xc_cpu_offline(xc_interface *xch, int cpu);
1883 int xc_smt_enable(xc_interface *xch);
1884 int xc_smt_disable(xc_interface *xch);
1924 int xc_get_cpufreq_para(xc_interface *xch, int cpuid,
1926 int xc_set_cpufreq_gov(xc_interface *xch, int cpuid, char *govname);
1927 int xc_set_cpufreq_para(xc_interface *xch, int cpuid,
1929 int xc_get_cpufreq_avgfreq(xc_interface *xch, int cpuid, int *avg_freq);
1931 int xc_set_sched_opt_smt(xc_interface *xch, uint32_t value);
1933 int xc_get_cpuidle_max_cstate(xc_interface *xch, uint32_t *value);
1934 int xc_set_cpuidle_max_cstate(xc_interface *xch, uint32_t value);
1936 int xc_get_cpuidle_max_csubstate(xc_interface *xch, uint32_t *value);
1937 int xc_set_cpuidle_max_csubstate(xc_interface *xch, uint32_t value);
1939 int xc_enable_turbo(xc_interface *xch, int cpuid);
1940 int xc_disable_turbo(xc_interface *xch, int cpuid);
1995 int xc_mem_paging_enable(xc_interface *xch, uint32_t domain_id, uint32_t *port);
1996 int xc_mem_paging_disable(xc_interface *xch, uint32_t domain_id);
1997 int xc_mem_paging_resume(xc_interface *xch, uint32_t domain_id);
1998 int xc_mem_paging_nominate(xc_interface *xch, uint32_t domain_id,
2000 int xc_mem_paging_evict(xc_interface *xch, uint32_t domain_id, uint64_t gfn);
2001 int xc_mem_paging_prep(xc_interface *xch, uint32_t domain_id, uint64_t gfn);
2002 int xc_mem_paging_load(xc_interface *xch, uint32_t domain_id,
2015 int xc_set_mem_access(xc_interface *xch, uint32_t domain_id,
2024 int xc_set_mem_access_multi(xc_interface *xch, uint32_t domain_id,
2031 int xc_get_mem_access(xc_interface *xch, uint32_t domain_id,
2037 int xc_vm_event_get_version(xc_interface *xch);
2049 void *xc_monitor_enable(xc_interface *xch, uint32_t domain_id, uint32_t *port);
2050 int xc_monitor_disable(xc_interface *xch, uint32_t domain_id);
2051 int xc_monitor_resume(xc_interface *xch, uint32_t domain_id);
2056 int xc_monitor_get_capabilities(xc_interface *xch, uint32_t domain_id,
2058 int xc_monitor_write_ctrlreg(xc_interface *xch, uint32_t domain_id,
2066 int xc_monitor_mov_to_msr(xc_interface *xch, uint32_t domain_id, uint32_t msr,
2068 int xc_monitor_singlestep(xc_interface *xch, uint32_t domain_id, bool enable);
2069 int xc_monitor_software_breakpoint(xc_interface *xch, uint32_t domain_id,
2071 int xc_monitor_descriptor_access(xc_interface *xch, uint32_t domain_id,
2073 int xc_monitor_guest_request(xc_interface *xch, uint32_t domain_id,
2080 int xc_monitor_inguest_pagefault(xc_interface *xch, uint32_t domain_id,
2082 int xc_monitor_debug_exceptions(xc_interface *xch, uint32_t domain_id,
2084 int xc_monitor_cpuid(xc_interface *xch, uint32_t domain_id, bool enable);
2085 int xc_monitor_privileged_call(xc_interface *xch, uint32_t domain_id,
2087 int xc_monitor_emul_unimplemented(xc_interface *xch, uint32_t domain_id,
2098 int xc_monitor_emulate_each_rep(xc_interface *xch, uint32_t domain_id,
2124 int xc_memshr_control(xc_interface *xch,
2156 int xc_memshr_ring_enable(xc_interface *xch,
2162 int xc_memshr_ring_disable(xc_interface *xch,
2172 int xc_memshr_domain_resume(xc_interface *xch,
2188 int xc_memshr_nominate_gfn(xc_interface *xch,
2197 int xc_memshr_nominate_gref(xc_interface *xch,
2219 int xc_memshr_share_gfns(xc_interface *xch,
2231 int xc_memshr_share_grefs(xc_interface *xch,
2248 int xc_memshr_add_to_physmap(xc_interface *xch,
2264 int xc_memshr_range_share(xc_interface *xch,
2270 int xc_memshr_fork(xc_interface *xch,
2283 int xc_memshr_fork_reset(xc_interface *xch, uint32_t forked_domain);
2291 int xc_memshr_debug_gfn(xc_interface *xch,
2295 int xc_memshr_debug_gref(xc_interface *xch,
2309 int xc_memshr_audit(xc_interface *xch);
2328 long xc_sharing_freed_pages(xc_interface *xch);
2341 long xc_sharing_used_frames(xc_interface *xch);
2372 int xc_flask_relabel_domain(xc_interface *xch, uint32_t domid, uint32_t sid);
2375 void xc_elf_set_logfile(xc_interface *xch, struct elf_binary *elf,
2387 int xc_kexec_exec(xc_interface *xch, int type);
2402 int xc_kexec_get_range(xc_interface *xch, int range, int nr,
2420 int xc_kexec_load(xc_interface *xch, uint8_t type, uint16_t arch,
2431 int xc_kexec_unload(xc_interface *xch, int type);
2441 int xc_kexec_status(xc_interface *xch, int type);
2457 int xc_resource_op(xc_interface *xch, uint32_t nr_ops, xc_resource_op_t *ops);
2498 int xc_psr_cmt_attach(xc_interface *xch, uint32_t domid);
2499 int xc_psr_cmt_detach(xc_interface *xch, uint32_t domid);
2500 int xc_psr_cmt_get_domain_rmid(xc_interface *xch, uint32_t domid,
2502 int xc_psr_cmt_get_total_rmid(xc_interface *xch, uint32_t *total_rmid);
2503 int xc_psr_cmt_get_l3_upscaling_factor(xc_interface *xch,
2505 int xc_psr_cmt_get_l3_event_mask(xc_interface *xch, uint32_t *event_mask);
2506 int xc_psr_cmt_get_l3_cache_size(xc_interface *xch, uint32_t cpu,
2508 int xc_psr_cmt_get_data(xc_interface *xch, uint32_t rmid, uint32_t cpu,
2511 int xc_psr_cmt_enabled(xc_interface *xch);
2513 int xc_psr_set_domain_data(xc_interface *xch, uint32_t domid,
2516 int xc_psr_get_domain_data(xc_interface *xch, uint32_t domid,
2519 int xc_psr_get_hw_info(xc_interface *xch, uint32_t socket,
2522 int xc_get_cpu_levelling_caps(xc_interface *xch, uint32_t *caps);
2523 int xc_get_cpu_featureset(xc_interface *xch, uint32_t index,
2526 int xc_get_cpu_policy_size(xc_interface *xch, uint32_t *nr_leaves,
2528 int xc_get_system_cpu_policy(xc_interface *xch, uint32_t index,
2531 int xc_get_domain_cpu_policy(xc_interface *xch, uint32_t domid,
2534 int xc_set_domain_cpu_policy(xc_interface *xch, uint32_t domid,
2556 int xc_livepatch_upload(xc_interface *xch,
2559 int xc_livepatch_get(xc_interface *xch,
2575 int xc_livepatch_list_get_sizes(xc_interface *xch, unsigned int *nr,
2626 int xc_livepatch_list(xc_interface *xch, const unsigned int max,
2642 int xc_livepatch_apply(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags);
2643 int xc_livepatch_revert(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags);
2644 int xc_livepatch_unload(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags);
2645 int xc_livepatch_replace(xc_interface *xch, char *name, uint32_t timeout, uint32_t flags);
2652 int xc_domain_cacheflush(xc_interface *xch, uint32_t domid,