Searched refs:mm_ops (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/arch/arm64/kvm/hyp/ |
D | pgtable.c | 138 static kvm_pte_t *kvm_pte_follow(kvm_pte_t pte, struct kvm_pgtable_mm_ops *mm_ops) in kvm_pte_follow() argument 140 return mm_ops->phys_to_virt(kvm_pte_to_phys(pte)); in kvm_pte_follow() 148 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 150 kvm_pte_t pte = kvm_phys_to_pte(mm_ops->virt_to_phys(childp)); in kvm_init_table_pte() 206 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, u32 level); 209 struct kvm_pgtable_mm_ops *mm_ops, in __kvm_pgtable_visit() argument 218 .mm_ops = mm_ops, in __kvm_pgtable_visit() 259 childp = (kvm_pteref_t)kvm_pte_follow(ctx.old, mm_ops); in __kvm_pgtable_visit() 260 ret = __kvm_pgtable_walk(data, mm_ops, childp, level + 1); in __kvm_pgtable_visit() 275 struct kvm_pgtable_mm_ops *mm_ops, kvm_pteref_t pgtable, u32 level) in __kvm_pgtable_walk() argument [all …]
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | kvm_pgtable.h | 237 struct kvm_pgtable_mm_ops *mm_ops; member 346 struct kvm_pgtable_mm_ops *mm_ops; member 363 struct kvm_pgtable_mm_ops *mm_ops); 453 struct kvm_pgtable_mm_ops *mm_ops, 457 #define kvm_pgtable_stage2_init(pgt, mmu, mm_ops) \ argument 458 __kvm_pgtable_stage2_init(pgt, mmu, mm_ops, 0, NULL) 478 void kvm_pgtable_stage2_free_unlinked(struct kvm_pgtable_mm_ops *mm_ops, void *pgtable, u32 level);
|
/linux-6.6.21/arch/arm64/kvm/hyp/nvhe/ |
D | setup.c | 221 ctx->mm_ops->get_page(ctx->ptep); in fix_hyp_pgtable_refcnt_walker() 251 .arg = pkvm_pgtable.mm_ops, in fix_hyp_pgtable_refcnt() 285 pkvm_pgtable.mm_ops = &pkvm_pgtable_mm_ops; in __pkvm_init_finalise()
|
D | mem_protect.c | 96 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-6.6.21/arch/arm64/kvm/hyp/include/nvhe/ |
D | pkvm.h | 36 struct kvm_pgtable_mm_ops mm_ops; member
|
D | mem_protect.h | 51 struct kvm_pgtable_mm_ops mm_ops; member
|
/linux-6.6.21/arch/arm64/kvm/ |
D | mmu.c | 809 .mm_ops = &kvm_user_mm_ops, in get_user_mapping_size()
|