/xen/tools/libxc/ |
A D | xc_mem_paging.c | 36 mpo.domain = 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() argument 67 return xc_vm_event_control(xch, 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() argument 75 return xc_vm_event_control(xch, 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() argument 83 return xc_vm_event_control(xch, domain_id, in xc_mem_paging_resume() 91 return xc_mem_paging_memop(xch, domain_id, in xc_mem_paging_nominate() 98 return xc_mem_paging_memop(xch, domain_id, in xc_mem_paging_evict() 105 return xc_mem_paging_memop(xch, domain_id, in xc_mem_paging_prep() [all …]
|
A D | xc_monitor.c | 60 domctl.domain = domain_id; in xc_monitor_get_capabilities() 78 domctl.domain = domain_id; in xc_monitor_write_ctrlreg() 98 domctl.domain = domain_id; in xc_monitor_mov_to_msr() 114 domctl.domain = domain_id; in xc_monitor_software_breakpoint() 128 domctl.domain = domain_id; in xc_monitor_singlestep() 142 domctl.domain = domain_id; in xc_monitor_descriptor_access() 156 domctl.domain = domain_id; in xc_monitor_guest_request() 172 domctl.domain = domain_id; in xc_monitor_inguest_pagefault() 186 domctl.domain = domain_id; in xc_monitor_emulate_each_rep() 199 domctl.domain = domain_id; in xc_monitor_debug_exceptions() [all …]
|
A D | xc_vm_event.c | 25 int xc_vm_event_control(xc_interface *xch, uint32_t domain_id, unsigned int op, in xc_vm_event_control() argument 32 domctl.domain = domain_id; in xc_vm_event_control() 42 void *xc_vm_event_enable(xc_interface *xch, uint32_t domain_id, int param, in xc_vm_event_enable() argument 58 rc1 = xc_domain_pause(xch, domain_id); in xc_vm_event_enable() 66 rc1 = xc_hvm_param_get(xch, domain_id, param, &pfn); in xc_vm_event_enable() 75 rc1 = xc_get_pfn_type_batch(xch, domain_id, 1, &mmap_pfn); in xc_vm_event_enable() 79 rc1 = xc_domain_populate_physmap_exact(xch, domain_id, 1, 0, 0, in xc_vm_event_enable() 89 ring_page = xc_map_foreign_pages(xch, domain_id, PROT_READ | PROT_WRITE, in xc_vm_event_enable() 124 rc1 = xc_vm_event_control(xch, domain_id, op, mode, port); in xc_vm_event_enable() 132 rc1 = xc_domain_decrease_reservation_exact(xch, domain_id, 1, 0, &ring_pfn); in xc_vm_event_enable() [all …]
|
A D | xc_mem_access.c | 27 uint32_t domain_id, in xc_set_mem_access() argument 35 .domid = domain_id, in xc_set_mem_access() 45 uint32_t domain_id, in xc_set_mem_access_multi() argument 58 .domid = domain_id, in xc_set_mem_access_multi() 83 uint32_t domain_id, in xc_get_mem_access() argument 91 .domid = domain_id, in xc_get_mem_access()
|
/xen/tools/tests/xen-access/ |
A D | xen-access.c | 66 domid_t domain_id; member 211 xenaccess->vm_event.domain_id = domain_id; in xenaccess_init() 216 xenaccess->vm_event.domain_id, in xenaccess_init() 291 domid_t domain_id, in control_singlestep() argument 377 domid_t domain_id; in main() local 422 domain_id = atoi(argv[0]); in main() 490 xenaccess = xenaccess_init(&xch, domain_id); in main() 497 DPRINTF("starting %s %u\n", argv[0], domain_id); in main() 572 rc = xc_monitor_singlestep( xch, domain_id, 1 ); in main() 623 rc = xc_monitor_cpuid(xch, domain_id, 1); in main() [all …]
|
/xen/xen/common/ |
A D | argo.c | 371 cmpid->domain_id == id->domain_id && in find_ring_info() 395 id.domain_id = d->domain_id; in find_ring_info_by_match() 423 cmpid->domain_id == id->domain_id && in find_send_info() 824 mh.source.domain_id = src_id->domain_id; in ringbuf_insert() 1462 d->domain_id, ring_info->id.domain_id, in find_ring_mfns() 1522 d->domain_id, ring_info->id.domain_id, in find_ring_mfns() 1550 ring_id.domain_id = currd->domain_id; in unregister_ring() 1655 ring_id.domain_id = currd->domain_id; in register_ring() 1981 src_addr->domain_id = src_d->domain_id; in sendv() 1988 src_id.domain_id = src_d->domain_id; in sendv() [all …]
|
A D | shutdown.c | 39 hardware_domain->domain_id); in hwdom_shutdown() 45 printk("Hardware Dom%u crashed: ", hardware_domain->domain_id); in hwdom_shutdown() 52 hardware_domain->domain_id); in hwdom_shutdown() 58 hardware_domain->domain_id); in hwdom_shutdown() 65 hardware_domain->domain_id); in hwdom_shutdown() 71 hardware_domain->domain_id, reason); in hwdom_shutdown()
|
A D | domain.c | 220 if ( d != hardware_domain || d->domain_id == 0 ) in late_hwdom_init() 366 d->domain_id = domid; in domain_create() 385 TRACE_1D(TRC_DOM0_DOM_ADD, d->domain_id); in domain_create() 507 if ( (*pd)->domain_id > d->domain_id ) in domain_create() 628 if ( d->domain_id == dom ) in get_domain_by_id() 652 if ( d->domain_id == dom ) in rcu_lock_domain_by_id() 763 d->domain_id, current->vcpu_id, smp_processor_id()); in __domain_crash() 769 d->domain_id, current->domain->domain_id, smp_processor_id()); in __domain_crash() 946 TRACE_1D(TRC_DOM0_DOM_REM, d->domain_id); in domain_destroy() 954 pd = &domain_hash[DOMAIN_HASH(d->domain_id)]; in domain_destroy()
|
A D | grant_table.c | 970 map->domid != rd->domain_id ) in mapkind() 1061 ((act->domid != ld->domain_id) || in map_grant_ref() 1088 act->domid = ld->domain_id; in map_grant_ref() 1890 d->domain_id); in gnttab_grow_table() 2125 ref, rd->domain_id); in gnttab_prepare_for_transfer() 2303 e->domain_id); in gnttab_transfer() 2345 e->domain_id); in gnttab_transfer() 2567 if ( trans_domid == rd->domain_id ) in acquire_grant_for_copy() 3842 d->domain_id, ref, in grant_table_warn_active_grants() 3852 d->domain_id, nr_active); in grant_table_warn_active_grants() [all …]
|
A D | keyhandler.c | 268 printk("General information for domain %u:\n", d->domain_id); in dump_domains() 296 d->domain_id, NODEMASK_PR(&d->node_affinity)); in dump_domains() 299 d->domain_id); in dump_domains() 343 d->domain_id, v->vcpu_id, in dump_domains()
|
/xen/tools/xenpaging/ |
A D | xenpaging.c | 64 domid_t domain_id = paging->vm_event.domain_id; in xenpaging_mem_paging_flush_ioemu_cache() local 232 paging->vm_event.domain_id = atoi(optarg); in xenpaging_getopts() 266 if ( !paging->vm_event.domain_id ) in xenpaging_getopts() 341 xc_get_hvm_param(xch, paging->vm_event.domain_id, in xenpaging_init() 345 xc_map_foreign_pages(xch, paging->vm_event.domain_id, in xenpaging_init() 360 xc_map_foreign_pages(xch, paging->vm_event.domain_id, in xenpaging_init() 371 rc = xc_mem_paging_enable(xch, paging->vm_event.domain_id, in xenpaging_init() 405 paging->vm_event.domain_id, in xenpaging_init() 423 paging->vm_event.domain_id, 1, 0, &ring_pfn) ) in xenpaging_init() 527 rc = xc_mem_paging_disable(xch, paging->vm_event.domain_id); in xenpaging_teardown() [all …]
|
A D | xenpaging.h | 37 domid_t domain_id; member
|
/xen/xen/arch/x86/hvm/ |
A D | save.c | 52 d->domain_id, hdr->magic); in arch_hvm_load() 59 d->domain_id, hdr->version); in arch_hvm_load() 68 d->domain_id, hdr->cpuid, eax); in arch_hvm_load() 167 d->domain_id, typecode, rv); in hvm_save_one() 231 d->domain_id); in hvm_save() 263 d->domain_id, hvm_sr_handlers[i].name); in hvm_save() 268 d->domain_id, i); in hvm_save() 279 d->domain_id); in hvm_save() 317 d->domain_id); in hvm_load() 331 d->domain_id, desc->typecode); in hvm_load() [all …]
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 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, 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, 2050 int xc_monitor_disable(xc_interface *xch, uint32_t domain_id); 2051 int xc_monitor_resume(xc_interface *xch, uint32_t domain_id); 2058 int xc_monitor_write_ctrlreg(xc_interface *xch, uint32_t domain_id, [all …]
|
/xen/tools/xenmon/ |
A D | xenmon.py | 301 domain_id = [] 322 domain_id.append(domid) 375 if h1[dom][0][1] > 0 or domain_id[dom] == IDLE_DOMAIN: 379 display_domain_id(stdscr, row, col, domain_id[dom]) 404 display_domain_id(stdscr, row, col, domain_id[dom]) 416 display_domain_id(stdscr, row, col, domain_id[dom]) 436 display_domain_id(stdscr, row, col, domain_id[dom]) 456 display_domain_id(stdscr, row, col, domain_id[dom]) 469 display_domain_id(stdscr, row, col, domain_id[dom]) 591 domain_id = [] [all …]
|
/xen/xen/drivers/passthrough/ |
A D | device_tree.c | 52 dt_device_set_used_by(dev, d->domain_id); in iommu_assign_dt_device() 122 dt_node_full_name(dev), d->domain_id); in iommu_release_dt_devices() 269 dt_node_full_name(dev), d->domain_id, ret); in iommu_do_dt_domctl() 297 dt_node_full_name(dev), d->domain_id, ret); in iommu_do_dt_domctl()
|
A D | iommu.c | 267 d->domain_id, dfn_x(dfn_add(dfn, i)), in iommu_map() 326 d->domain_id, dfn_x(dfn_add(dfn, i)), err); in iommu_unmap() 406 d->domain_id, rc, dfn_x(dfn), page_count, flush_flags); in iommu_iotlb_flush() 434 d->domain_id, rc); in iommu_iotlb_flush_all() 615 printk("\ndomain%d IOMMU p2m table shared with MMU: \n", d->domain_id); in iommu_dump_p2m_table() 619 printk("\ndomain%d IOMMU p2m table: \n", d->domain_id); in iommu_dump_p2m_table()
|
/xen/xen/arch/x86/ |
A D | irq.c | 1817 d->domain_id, pirq->pirq); in pirq_guest_force_unbind() 2109 d->domain_id, pirq, irq); in map_domain_pirq() 2129 d->domain_id, irq, pirq); in map_domain_pirq() 2188 d->domain_id, irq); in map_domain_pirq() 2326 d->domain_id, pirq); in unmap_domain_pirq() 2339 d->domain_id, pirq); in unmap_domain_pirq() 2354 d->domain_id, pirq); in unmap_domain_pirq() 2766 d->domain_id, pirq); in unmap_domain_pirq_emuirq() 2874 d->domain_id); in allocate_and_map_gsi_pirq() 2918 d->domain_id); in allocate_and_map_msi_pirq() [all …]
|
/xen/xen/drivers/passthrough/amd/ |
A D | pci_amd_iommu.c | 114 dte, page_to_maddr(hd->arch.root_table), domain->domain_id, in amd_iommu_setup_domain_device() 139 domain->domain_id, hd->arch.paging_mode); in amd_iommu_setup_domain_device() 311 req_id, domain->domain_id, in amd_iommu_disable_domain_device() 338 target->domain_id); in reassign_device() 357 source->domain_id, target->domain_id); in reassign_device() 473 pdev->domain->domain_id); in amd_iommu_add_device() 531 pdev->domain->domain_id); in amd_iommu_remove_device()
|
A D | iommu_map.c | 103 uint64_t root_ptr, uint16_t domain_id, in amd_iommu_set_root_page_table() argument 112 dte->domain_id = domain_id; in amd_iommu_set_root_page_table() 174 dte->domain_id = dom_id; in iommu_dte_set_guest_cr3()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mcaction.c | 97 mfn_x(mfn), d->domain_id); in mc_memerr_dhandler() 131 " failed\n", d->domain_id); in mc_memerr_dhandler()
|
/xen/xen/common/sched/ |
A D | null.c | 333 d.dom = unit->domain->domain_id; in pick_res() 361 d.dom = unit->domain->domain_id; in unit_assign() 392 d.dom = unit->domain->domain_id; in unit_deassign() 630 unit->domain->domain_id, unit->unit_id); in null_unit_wake() 695 d.dom = unit->domain->domain_id; in null_unit_migrate() 832 d.dom = npc->unit->domain->domain_id; in null_schedule() 937 printk("[%i.%i] pcpu=%d", nvc->unit->domain->domain_id, in dump_unit() 991 printk("\tDomain: %d\n", ndom->dom->domain_id); in null_dump()
|
A D | core.c | 215 d.domain = v->domain->domain_id; in trace_runstate_change() 232 d.domain = v->domain->domain_id; in trace_continue_running() 766 ASSERT(d->domain_id < DOMID_FIRST_RESERVED); in sched_init_domain() 772 TRACE_1D(TRC_SCHED_DOM_ADD, d->domain_id); in sched_init_domain() 790 ASSERT(d->domain_id < DOMID_FIRST_RESERVED); in sched_destroy_domain() 795 TRACE_1D(TRC_SCHED_DOM_REM, d->domain_id); in sched_destroy_domain() 865 TRACE_2D(TRC_SCHED_WAKE, v->domain->domain_id, v->vcpu_id); in vcpu_wake() 1445 TRACE_2D(TRC_SCHED_BLOCK, d->domain_id, v->vcpu_id); in do_poll() 1832 current->domain->domain_id, current->vcpu_id, in do_sched_op() 2012 TRACE_1D(TRC_SCHED_ADJDOM, d->domain_id); in sched_adjust() [all …]
|
/xen/xen/arch/x86/mm/ |
A D | p2m-pod.c | 84 __func__, mfn_x(mfn), d->domain_id, in p2m_pod_cache_add() 85 od ? od->domain_id : -1); in p2m_pod_cache_add() 269 gdprintk(XENLOG_INFO, "Bad page free for domain %u\n", d->domain_id); in p2m_pod_set_cache_target() 825 t.d = d->domain_id; in p2m_pod_zero_check_superpage() 991 t.d = d->domain_id; in p2m_pod_zero_check() 1219 t.d = d->domain_id; in p2m_pod_demand_populate() 1231 __func__, d->domain_id, domain_tot_pages(d), in p2m_pod_demand_populate() 1232 p2m->pod.entry_count, current->domain->domain_id); in p2m_pod_demand_populate() 1261 t.d = d->domain_id; in p2m_pod_demand_populate()
|
/xen/xen/include/public/ |
A D | pmu.h | 125 domid_t domain_id; member
|