Lines Matching refs:pcache
138 struct kvm_mmu_memory_cache *pcache, in gstage_set_pte() argument
153 if (!pcache) in gstage_set_pte()
155 next_ptep = kvm_mmu_memory_cache_alloc(pcache); in gstage_set_pte()
178 struct kvm_mmu_memory_cache *pcache, in gstage_map_page() argument
219 return gstage_set_pte(kvm, level, pcache, gpa, &new_pte); in gstage_map_page()
354 struct kvm_mmu_memory_cache pcache = { in kvm_riscv_gstage_ioremap() local
368 ret = kvm_mmu_topup_memory_cache(&pcache, gstage_pgd_levels); in kvm_riscv_gstage_ioremap()
373 ret = gstage_set_pte(kvm, 0, &pcache, addr, &pte); in kvm_riscv_gstage_ioremap()
382 kvm_mmu_free_memory_cache(&pcache); in kvm_riscv_gstage_ioremap()
620 struct kvm_mmu_memory_cache *pcache = &vcpu->arch.mmu_page_cache; in kvm_riscv_gstage_map() local
626 ret = kvm_mmu_topup_memory_cache(pcache, gstage_pgd_levels); in kvm_riscv_gstage_map()
694 ret = gstage_map_page(kvm, pcache, gpa, hfn << PAGE_SHIFT, in kvm_riscv_gstage_map()
697 ret = gstage_map_page(kvm, pcache, gpa, hfn << PAGE_SHIFT, in kvm_riscv_gstage_map()