Home
last modified time | relevance | path

Searched refs:pte_access (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/arch/x86/kvm/
Dpaging_tmpl.h104 unsigned pte_access; member
276 unsigned index, pt_access, pte_access, accessed_dirty; in FNAME() local
304 pt_access = pte_access = ACC_ALL; in FNAME()
311 pt_access &= pte_access; in FNAME()
363 pte_access = pt_access & FNAME(gpte_access)(vcpu, pte); in FNAME()
368 if (unlikely(permission_fault(vcpu, mmu, pte_access, access))) { in FNAME()
386 FNAME(protect_clean_gpte)(&pte_access, pte); in FNAME()
405 walker->pte_access = pte_access; in FNAME()
407 __func__, (u64)pte, pte_access, pt_access); in FNAME()
466 unsigned pte_access; in FNAME() local
[all …]
Dmmu.h145 unsigned pte_access, unsigned pfec) in permission_fault() argument
169 return (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
Dmmu.c2514 unsigned pte_access, int level, in set_spte() argument
2521 if (set_mmio_spte(vcpu->kvm, sptep, gfn, pfn, pte_access)) in set_spte()
2528 if (pte_access & ACC_EXEC_MASK) in set_spte()
2533 if (pte_access & ACC_USER_MASK) in set_spte()
2545 pte_access &= ~ACC_WRITE_MASK; in set_spte()
2549 if (pte_access & ACC_WRITE_MASK) { in set_spte()
2576 pte_access &= ~ACC_WRITE_MASK; in set_spte()
2581 if (pte_access & ACC_WRITE_MASK) { in set_spte()
2594 unsigned pte_access, int write_fault, int *emulate, in mmu_set_spte() argument
2626 if (set_spte(vcpu, sptep, pte_access, level, gfn, pfn, speculative, in mmu_set_spte()