Home
last modified time | relevance | path

Searched refs:hptes (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr_vhyp_mmu.c29 const ppc_hash_pte64_t *hptes; in h_enter() local
106 const ppc_hash_pte64_t *hptes; in remove_hpte() local
113 hptes = ppc_hash64_map_hptes(cpu, ptex, 1); in remove_hpte()
114 v = ppc_hash64_hpte0(cpu, hptes, 0); in remove_hpte()
115 r = ppc_hash64_hpte1(cpu, hptes, 0); in remove_hpte()
237 const ppc_hash_pte64_t *hptes; in h_protect() local
245 v = ppc_hash64_hpte0(cpu, hptes, 0); in h_protect()
246 r = ppc_hash64_hpte1(cpu, hptes, 0); in h_protect()
275 const ppc_hash_pte64_t *hptes; in h_read() local
531 const ppc_hash_pte64_t *hptes in rehash_hpt() local
[all …]
H A Dspapr.c1524 ppc_hash_pte64_t *hptes = g_malloc(n * HASH_PTE_SIZE_64); in spapr_map_hptes() local
1525 kvmppc_read_hptes(hptes, ptex, n); in spapr_map_hptes()
1526 return hptes; in spapr_map_hptes()
1537 const ppc_hash_pte64_t *hptes, in spapr_unmap_hptes() argument
1543 g_free((void *)hptes); in spapr_unmap_hptes()
/openbmc/qemu/target/ppc/
H A Dmmu-hash64.h121 void ppc_hash64_unmap_hptes(PowerPCCPU *cpu, const ppc_hash_pte64_t *hptes,
126 const ppc_hash_pte64_t *hptes, int i) in ppc_hash64_hpte0() argument
128 return ldq_p(&(hptes[i].pte0)); in ppc_hash64_hpte0()
132 const ppc_hash_pte64_t *hptes, int i) in ppc_hash64_hpte1() argument
134 return ldq_p(&(hptes[i].pte1)); in ppc_hash64_hpte1()
H A Dmmu-hash64.c558 const ppc_hash_pte64_t *hptes; in ppc_hash64_map_hptes() local
569 hptes = address_space_map(CPU(cpu)->as, base + pte_offset, &plen, false, in ppc_hash64_map_hptes()
574 return hptes; in ppc_hash64_map_hptes()
577 void ppc_hash64_unmap_hptes(PowerPCCPU *cpu, const ppc_hash_pte64_t *hptes, in ppc_hash64_unmap_hptes() argument
581 cpu->vhyp_class->unmap_hptes(cpu->vhyp, hptes, ptex, n); in ppc_hash64_unmap_hptes()
585 address_space_unmap(CPU(cpu)->as, (void *)hptes, n * HASH_PTE_SIZE_64, in ppc_hash64_unmap_hptes()
H A Dkvm_ppc.h64 void kvmppc_read_hptes(ppc_hash_pte64_t *hptes, hwaddr ptex, int n);
315 static inline void kvmppc_read_hptes(ppc_hash_pte64_t *hptes, in kvmppc_read_hptes() argument
H A Dkvm.c2780 void kvmppc_read_hptes(ppc_hash_pte64_t *hptes, hwaddr ptex, int n) in kvmppc_read_hptes() argument
2810 memcpy(hptes + i, hdr + 1, HASH_PTE_SIZE_64 * valid); in kvmppc_read_hptes()
2816 memset(hptes + i, 0, invalid * HASH_PTE_SIZE_64); in kvmppc_read_hptes()
H A Dcpu.h1543 const ppc_hash_pte64_t *hptes,
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c559 __be64 *hp, *hptes[4]; in kvmppc_h_bulk_remove() local
645 hptes[n] = hp; in kvmppc_h_bulk_remove()
660 hp = hptes[k]; in kvmppc_h_bulk_remove()