Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h90 unsigned int pte_access; member
310 u64 pt_access, pte_access; in FNAME() local
349 pte_access = ~0; in FNAME()
367 pt_access = pte_access; in FNAME()
435 walker->pte_access = FNAME(gpte_access)(pte_access ^ walk_nx_mask); in FNAME()
535 unsigned pte_access; in FNAME() local
624 direct_access = gw->pte_access; in FNAME()
813 walker.pte_access |= ACC_WRITE_MASK; in FNAME()
814 walker.pte_access &= ~ACC_USER_MASK; in FNAME()
897 unsigned pte_access; in FNAME() local
[all …]
H A Dspte.c162 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn, in make_spte() argument
176 WARN_ON_ONCE((pte_access | shadow_present_mask) == SHADOW_NONPRESENT_VALUE); in make_spte()
199 if (level > PG_LEVEL_4K && (pte_access & ACC_EXEC_MASK) && in make_spte()
201 pte_access &= ~ACC_EXEC_MASK; in make_spte()
204 if (pte_access & ACC_EXEC_MASK) in make_spte()
209 if (pte_access & ACC_USER_MASK) in make_spte()
221 pte_access &= ~ACC_WRITE_MASK; in make_spte()
228 if (pte_access & ACC_WRITE_MASK) { in make_spte()
H A Dspte.h526 unsigned int pte_access, gfn_t gfn, kvm_pfn_t pfn,
H A Dmmu.c2999 u64 *sptep, unsigned int pte_access, gfn_t gfn, in mmu_set_spte() argument
3017 mark_mmio_spte(vcpu, sptep, gfn, pte_access); in mmu_set_spte()
3043 wrprot = make_spte(vcpu, sp, slot, pte_access, gfn, pfn, *sptep, prefetch, in mmu_set_spte()
3061 rmap_add(vcpu, slot, sptep, gfn, pte_access); in mmu_set_spte()
3064 kvm_mmu_page_set_access(sp, spte_index(sptep), pte_access); in mmu_set_spte()
/linux-6.15/arch/x86/kvm/
H A Dmmu.h185 unsigned pte_access, unsigned pte_pkey, in permission_fault() argument
212 fault = (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
227 offset = (pfec & ~1) | ((pte_access & PT_USER_MASK) ? PFERR_RSVD_MASK : 0); in permission_fault()