Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kvm/hyp/ !
Dpgtable.c135 static kvm_pte_t *kvm_pte_follow(kvm_pte_t pte, struct kvm_pgtable_mm_ops *mm_ops) in kvm_pte_follow() argument
137 return mm_ops->phys_to_virt(kvm_pte_to_phys(pte)); in kvm_pte_follow()
146 struct kvm_pgtable_mm_ops *mm_ops) in kvm_set_table_pte() argument
148 kvm_pte_t old = *ptep, pte = kvm_phys_to_pte(mm_ops->virt_to_phys(childp)); in kvm_set_table_pte()
216 childp = kvm_pte_follow(pte, data->pgt->mm_ops); in __kvm_pgtable_visit()
332 struct kvm_pgtable_mm_ops *mm_ops; member
400 data->mm_ops->get_page(ptep); in hyp_map_walker_try_leaf()
413 struct kvm_pgtable_mm_ops *mm_ops = data->mm_ops; in hyp_map_walker() local
421 childp = (kvm_pte_t *)mm_ops->zalloc_page(NULL); in hyp_map_walker()
425 kvm_set_table_pte(ptep, childp, mm_ops); in hyp_map_walker()
[all …]
/linux-6.1.9/arch/arm64/include/asm/ !
Dkvm_pgtable.h179 struct kvm_pgtable_mm_ops *mm_ops; member
229 struct kvm_pgtable_mm_ops *mm_ops);
311 struct kvm_pgtable_mm_ops *mm_ops,
315 #define kvm_pgtable_stage2_init(pgt, mmu, mm_ops) \ argument
316 __kvm_pgtable_stage2_init(pgt, mmu, mm_ops, 0, NULL)
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ !
Dsetup.c194 struct kvm_pgtable_mm_ops *mm_ops = arg; in finalize_host_mappings_walker() local
208 mm_ops->get_page(ptep); in finalize_host_mappings_walker()
245 .arg = pkvm_pgtable.mm_ops, in finalize_host_mappings()
288 pkvm_pgtable.mm_ops = &pkvm_pgtable_mm_ops; in __pkvm_init_finalise()
Dmem_protect.c93 host_kvm.mm_ops = (struct kvm_pgtable_mm_ops) { in prepare_s2_pool()
134 &host_kvm.mm_ops, KVM_HOST_S2_FLAGS, in kvm_host_prepare_stage2()
/linux-6.1.9/arch/arm64/kvm/hyp/include/nvhe/ !
Dmem_protect.h49 struct kvm_pgtable_mm_ops mm_ops; member
/linux-6.1.9/arch/arm64/kvm/ !
Dmmu.c647 .mm_ops = &kvm_user_mm_ops, in get_user_mapping_size()