Home
last modified time | relevance | path

Searched refs:ptep (Results 1 – 2 of 2) sorted by relevance

/virt/kvm/arm/
Dmmu.c189 static inline void kvm_set_pte(pte_t *ptep, pte_t new_pte) in kvm_set_pte() argument
191 WRITE_ONCE(*ptep, new_pte); in kvm_set_pte()
201 static inline void kvm_pmd_populate(pmd_t *pmdp, pte_t *ptep) in kvm_pmd_populate() argument
203 kvm_set_pmd(pmdp, kvm_mk_pmd(ptep)); in kvm_pmd_populate()
1176 pte_t *ptep; in stage2_get_leaf_entry() local
1200 ptep = pte_offset_kernel(pmdp, addr); in stage2_get_leaf_entry()
1201 if (!ptep || pte_none(*ptep) || !pte_present(*ptep)) in stage2_get_leaf_entry()
1204 *ptepp = ptep; in stage2_get_leaf_entry()
1212 pte_t *ptep; in stage2_is_exec() local
1215 found = stage2_get_leaf_entry(kvm, addr, &pudp, &pmdp, &ptep); in stage2_is_exec()
[all …]
/virt/kvm/
Dkvm_main.c1636 pte_t *ptep; in hva_to_pfn_remapped() local
1640 r = follow_pte(vma->vm_mm, addr, &ptep, &ptl); in hva_to_pfn_remapped()
1655 r = follow_pte(vma->vm_mm, addr, &ptep, &ptl); in hva_to_pfn_remapped()
1660 if (write_fault && !pte_write(*ptep)) { in hva_to_pfn_remapped()
1666 *writable = pte_write(*ptep); in hva_to_pfn_remapped()
1667 pfn = pte_pfn(*ptep); in hva_to_pfn_remapped()
1690 pte_unmap_unlock(ptep, ptl); in hva_to_pfn_remapped()