Searched refs:pte_access (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/arch/x86/kvm/ |
| D | paging_tmpl.h | 94 unsigned pte_access; member 304 u64 pt_access, pte_access; in FNAME() local 344 pte_access = ~0; in FNAME() 351 pt_access = pte_access; in FNAME() 398 pte_access = pt_access & (pte ^ walk_nx_mask); in FNAME() 412 accessed_dirty = have_ad ? pte_access & PT_GUEST_ACCESSED_MASK : 0; in FNAME() 416 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME() 417 errcode = permission_fault(vcpu, mmu, walker->pte_access, pte_pkey, access); in FNAME() 434 FNAME(protect_clean_gpte)(mmu, &walker->pte_access, pte); in FNAME() 453 __func__, (u64)pte, walker->pte_access, walker->pt_access); in FNAME() [all …]
|
| D | mmu.h | 157 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()
|
| D | mmu.c | 3045 unsigned pte_access, int level, in set_spte() argument 3053 if (set_mmio_spte(vcpu, sptep, gfn, pfn, pte_access)) in set_spte() 3072 if (level > PT_PAGE_TABLE_LEVEL && (pte_access & ACC_EXEC_MASK) && in set_spte() 3074 pte_access &= ~ACC_EXEC_MASK; in set_spte() 3077 if (pte_access & ACC_EXEC_MASK) in set_spte() 3082 if (pte_access & ACC_USER_MASK) in set_spte() 3094 pte_access &= ~ACC_WRITE_MASK; in set_spte() 3101 if (pte_access & ACC_WRITE_MASK) { in set_spte() 3128 pte_access &= ~ACC_WRITE_MASK; in set_spte() 3133 if (pte_access & ACC_WRITE_MASK) { in set_spte() [all …]
|