Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dpaging_tmpl.h97 unsigned pte_access; member
286 u64 pt_access, pte_access; in FNAME() local
326 pte_access = ~0; in FNAME()
333 pt_access = pte_access; in FNAME()
380 pte_access = pt_access & (pte ^ walk_nx_mask); in FNAME()
394 accessed_dirty = have_ad ? pte_access & PT_GUEST_ACCESSED_MASK : 0; in FNAME()
398 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME()
399 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME()
416 FNAME(protect_clean_gpte)(mmu, &walker->pte_access, pte); in FNAME()
435 __func__, (u64)pte, walker->pte_access, walker->pt_access); in FNAME()
[all …]
Dmmu.h162 unsigned pte_access, unsigned pte_pkey, in permission_fault() argument
184 bool fault = (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
201 ((pte_access & PT_USER_MASK) << (PFERR_RSVD_BIT - PT_USER_SHIFT)); in permission_fault()
Dmmu.c2844 unsigned pte_access, int level, in set_spte() argument
2852 if (set_mmio_spte(vcpu, sptep, gfn, pfn, pte_access)) in set_spte()
2869 if (pte_access & ACC_EXEC_MASK) in set_spte()
2874 if (pte_access & ACC_USER_MASK) in set_spte()
2886 pte_access &= ~ACC_WRITE_MASK; in set_spte()
2893 if (pte_access & ACC_WRITE_MASK) { in set_spte()
2920 pte_access &= ~ACC_WRITE_MASK; in set_spte()
2925 if (pte_access & ACC_WRITE_MASK) { in set_spte()
2940 static int mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep, unsigned pte_access, in mmu_set_spte() argument
2975 set_spte_ret = set_spte(vcpu, sptep, pte_access, level, gfn, pfn, in mmu_set_spte()