Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dpaging_tmpl.h95 unsigned int pte_access; member
301 u64 pt_access, pte_access; in FNAME() local
341 pte_access = ~0; in FNAME()
348 pt_access = pte_access; in FNAME()
395 pte_access = pt_access & (pte ^ walk_nx_mask); in FNAME()
412 accessed_dirty = have_ad ? pte_access & PT_GUEST_ACCESSED_MASK : 0; in FNAME()
415 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME()
416 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME()
433 FNAME(protect_clean_gpte)(mmu, &walker->pte_access, pte); in FNAME()
453 __func__, (u64)pte, walker->pte_access, in FNAME()
[all …]
Dmmu.h157 unsigned pte_access, unsigned pte_pkey, in permission_fault() argument
179 bool fault = (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
196 ((pte_access & PT_USER_MASK) << (PFERR_RSVD_BIT - PT_USER_SHIFT)); in permission_fault()
Dmmu.c3055 unsigned pte_access, int level, in set_spte() argument
3063 if (set_mmio_spte(vcpu, sptep, gfn, pfn, pte_access)) in set_spte()
3082 if (level > PT_PAGE_TABLE_LEVEL && (pte_access & ACC_EXEC_MASK) && in set_spte()
3084 pte_access &= ~ACC_EXEC_MASK; in set_spte()
3087 if (pte_access & ACC_EXEC_MASK) in set_spte()
3092 if (pte_access & ACC_USER_MASK) in set_spte()
3104 pte_access &= ~ACC_WRITE_MASK; in set_spte()
3111 if (pte_access & ACC_WRITE_MASK) { in set_spte()
3138 pte_access &= ~ACC_WRITE_MASK; in set_spte()
3143 if (pte_access & ACC_WRITE_MASK) { in set_spte()
[all …]