Home
last modified time | relevance | path

Searched refs:mm_ops (Results 1 – 5 of 5) sorted by relevance

/linux/arch/arm64/kvm/hyp/
H A Dpgtable.c99 static kvm_pte_t *kvm_pte_follow(kvm_pte_t pte, struct kvm_pgtable_mm_ops *mm_ops) in kvm_pte_follow() argument
101 return mm_ops->phys_to_virt(kvm_pte_to_phys(pte)); in kvm_pte_follow()
109 static kvm_pte_t kvm_init_table_pte(kvm_pte_t *childp, struct kvm_pgtable_mm_ops *mm_ops) in kvm_init_table_pte() argument
111 kvm_pte_t pte = kvm_phys_to_pte(mm_ops->virt_to_phys(childp)); in kvm_init_table_pte()
167 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level);
170 struct kvm_pgtable_mm_ops *mm_ops, in __kvm_pgtable_visit() argument
179 .mm_ops = mm_ops, in __kvm_pgtable_visit()
220 childp = (kvm_pteref_t)kvm_pte_follow(ctx.old, mm_ops); in __kvm_pgtable_visit()
221 ret = __kvm_pgtable_walk(data, mm_ops, childp, level + 1); in __kvm_pgtable_visit()
236 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, s8 level) in __kvm_pgtable_walk() argument
[all …]
/linux/arch/arm64/include/asm/
H A Dkvm_pgtable.h309 struct kvm_pgtable_mm_ops *mm_ops; member
418 struct kvm_pgtable_mm_ops *mm_ops; member
435 struct kvm_pgtable_mm_ops *mm_ops);
525 struct kvm_pgtable_mm_ops *mm_ops,
529 #define kvm_pgtable_stage2_init(pgt, mmu, mm_ops) \ argument
530 __kvm_pgtable_stage2_init(pgt, mmu, mm_ops, 0, NULL)
550 void kvm_pgtable_stage2_free_unlinked(struct kvm_pgtable_mm_ops *mm_ops, void *pgtable, s8 level);
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dsetup.c245 ctx->mm_ops->get_page(ctx->ptep); in fix_hyp_pgtable_refcnt_walker()
275 .arg = pkvm_pgtable.mm_ops, in fix_hyp_pgtable_refcnt()
308 pkvm_pgtable.mm_ops = &pkvm_pgtable_mm_ops; in __pkvm_init_finalise()
H A Dmem_protect.c96 kvm_pgtable_stage2_free_unlinked(&host_mmu.mm_ops, addr, level); in host_s2_free_unlinked_table()
110 host_mmu.mm_ops = (struct kvm_pgtable_mm_ops) { in prepare_s2_pool()
152 &host_mmu.mm_ops, KVM_HOST_S2_FLAGS, in kvm_host_prepare_stage2()
244 vm->mm_ops = (struct kvm_pgtable_mm_ops) { in kvm_guest_prepare_stage2()
258 ret = __kvm_pgtable_stage2_init(mmu->pgt, mmu, &vm->mm_ops, 0, in kvm_guest_prepare_stage2()
/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dmem_protect.h51 struct kvm_pgtable_mm_ops mm_ops; member