Searched refs:mm_ops (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | pgtable.c | 99 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-6.12.1/arch/arm64/include/asm/ |
D | kvm_pgtable.h | 309 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-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | setup.c | 245 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()
|
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.12.1/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.12.1/arch/arm64/kvm/ |
D | mmu.c | 817 .mm_ops = &kvm_user_mm_ops, in get_user_mapping_size()
|