Home
last modified time | relevance | path

Searched refs:shared_page (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/include/hw/xen/
H A Dxen-hvm-common.h35 static inline uint32_t xen_vcpu_eport(shared_iopage_t *shared_page, int i) in xen_vcpu_eport() argument
37 return shared_page->vcpu_ioreq[i].vp_eport; in xen_vcpu_eport()
39 static inline ioreq_t *xen_vcpu_ioreq(shared_iopage_t *shared_page, int vcpu) in xen_vcpu_ioreq() argument
41 return &shared_page->vcpu_ioreq[vcpu]; in xen_vcpu_ioreq()
63 shared_iopage_t *shared_page; member
/openbmc/qemu/hw/xen/
H A Dxen-hvm-common.c183 ioreq_t *req = xen_vcpu_ioreq(state->shared_page, vcpu); in cpu_get_ioreq_from_shared_memory()
693 state->shared_page = addr; in xen_map_ioreq_server()
696 state->shared_page = addr + XC_PAGE_SIZE; in xen_map_ioreq_server()
710 if (state->shared_page == NULL || state->has_bufioreq) { in xen_map_ioreq_server()
712 (state->shared_page == NULL) ? in xen_map_ioreq_server()
724 if (state->shared_page == NULL) { in xen_map_ioreq_server()
727 state->shared_page = xenforeignmemory_map(xen_fmem, xen_domid, in xen_map_ioreq_server()
731 if (state->shared_page == NULL) { in xen_map_ioreq_server()
750 if (state->shared_page == NULL || in xen_map_ioreq_server()
846 xen_vcpu_eport(state->shared_page, in xen_do_ioreq_register()
/openbmc/linux/arch/powerpc/kvm/
H A De500_mmu_host.c162 ulong shared_page = ((ulong)vcpu->arch.shared) & PAGE_MASK; in kvmppc_map_magic() local
166 pfn = (kvm_pfn_t)virt_to_phys((void *)shared_page) >> PAGE_SHIFT; in kvmppc_map_magic()
H A Dbook3s.c440 ulong shared_page = ((ulong)vcpu->arch.shared) & PAGE_MASK; in kvmppc_gpa_to_pfn() local
443 pfn = (kvm_pfn_t)virt_to_phys((void*)shared_page) >> PAGE_SHIFT; in kvmppc_gpa_to_pfn()