Home
last modified time | relevance | path

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

/linux-5.19.10/arch/arm64/kvm/hyp/
Dpgtable.c114 static bool kvm_pte_table(kvm_pte_t pte, u32 level) in kvm_pte_table()
125 static kvm_pte_t kvm_phys_to_pte(u64 pa) in kvm_phys_to_pte()
127 kvm_pte_t pte = pa & KVM_PTE_ADDR_MASK; in kvm_phys_to_pte()
135 static kvm_pte_t *kvm_pte_follow(kvm_pte_t pte, struct kvm_pgtable_mm_ops *mm_ops) in kvm_pte_follow()
140 static void kvm_clear_pte(kvm_pte_t *ptep) in kvm_clear_pte()
145 static void kvm_set_table_pte(kvm_pte_t *ptep, kvm_pte_t *childp, in kvm_set_table_pte()
148 kvm_pte_t old = *ptep, pte = kvm_phys_to_pte(mm_ops->virt_to_phys(childp)); in kvm_set_table_pte()
157 static kvm_pte_t kvm_init_valid_leaf_pte(u64 pa, kvm_pte_t attr, u32 level) in kvm_init_valid_leaf_pte()
159 kvm_pte_t pte = kvm_phys_to_pte(pa); in kvm_init_valid_leaf_pte()
170 static kvm_pte_t kvm_init_invalid_leaf_owner(u8 owner_id) in kvm_init_invalid_leaf_owner()
[all …]
/linux-5.19.10/arch/arm64/include/asm/
Dkvm_pgtable.h26 typedef u64 kvm_pte_t; typedef
33 static inline bool kvm_pte_valid(kvm_pte_t pte) in kvm_pte_valid()
38 static inline u64 kvm_pte_to_phys(kvm_pte_t pte) in kvm_pte_to_phys()
170 kvm_pte_t *pgd;
195 kvm_pte_t *ptep,
420 kvm_pte_t kvm_pgtable_stage2_mkyoung(struct kvm_pgtable *pgt, u64 addr);
438 kvm_pte_t kvm_pgtable_stage2_mkold(struct kvm_pgtable *pgt, u64 addr);
529 kvm_pte_t *ptep, u32 *level);
539 enum kvm_pgtable_prot kvm_pgtable_stage2_pte_prot(kvm_pte_t pte);
549 enum kvm_pgtable_prot kvm_pgtable_hyp_pte_prot(kvm_pte_t pte);
/linux-5.19.10/arch/arm64/kvm/hyp/nvhe/
Dmem_protect.c285 kvm_pte_t pte; in host_stage2_adjust_range()
417 enum pkvm_page_state (*get_page_state)(kvm_pte_t pte);
421 kvm_pte_t *ptep, in __check_page_state_visitor()
426 kvm_pte_t pte = *ptep; in __check_page_state_visitor()
446 static enum pkvm_page_state host_get_page_state(kvm_pte_t pte) in host_get_page_state()
514 static enum pkvm_page_state hyp_get_page_state(kvm_pte_t pte) in hyp_get_page_state()
Dsetup.c190 kvm_pte_t *ptep, in finalize_host_mappings_walker()
197 kvm_pte_t pte = *ptep; in finalize_host_mappings_walker()
/linux-5.19.10/arch/arm64/kvm/
Dmmu.c608 .pgd = (kvm_pte_t *)kvm->mm->pgd, in get_user_mapping_size()
614 kvm_pte_t pte = 0; /* Keep GCC quiet... */ in get_user_mapping_size()
1321 kvm_pte_t kpte; in handle_access_fault()
1525 kvm_pte_t kpte; in kvm_age_gfn()