Home
last modified time | relevance | path

Searched refs:PT_WRITABLE_MASK (Results 1 – 8 of 8) sorted by relevance

/arch/x86/kvm/mmu/
Dspte.c145 spte |= PT_WRITABLE_MASK | shadow_mmu_writable_mask; in make_spte()
167 spte &= ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in make_spte()
190 spte |= __pa(child_pt) | shadow_present_mask | PT_WRITABLE_MASK | in make_nonleaf_spte()
208 new_spte &= ~PT_WRITABLE_MASK; in kvm_mmu_changed_pte_notifier_make_spte()
248 WARN_ONCE((spte & PT_WRITABLE_MASK) && in mark_spte_for_access_track()
Dspte.h42 #define PT64_PERM_MASK (PT_PRESENT_MASK | PT_WRITABLE_MASK | shadow_user_mask \
46 #define ACC_WRITE_MASK PT_WRITABLE_MASK
287 return dirty_mask ? spte & dirty_mask : spte & PT_WRITABLE_MASK; in is_dirty_spte()
Dtdp_mmu.c1252 !(iter.old_spte & PT_WRITABLE_MASK)) in wrprot_gfn_range()
1255 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in wrprot_gfn_range()
1319 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in clear_dirty_gfn_range()
1395 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in clear_dirty_pt_masked()
1512 ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in write_protect_gfn()
Dpaging_tmpl.h114 BUILD_BUG_ON(PT_WRITABLE_MASK != ACC_WRITE_MASK); in FNAME()
119 PT_WRITABLE_MASK; in FNAME()
224 access = gpte & (PT_WRITABLE_MASK | PT_USER_MASK | PT_PRESENT_MASK); in FNAME()
Dmmutrace.h361 __entry->spte & PT_WRITABLE_MASK ? "w" : "-",
Dmmu.c1229 spte = spte & ~PT_WRITABLE_MASK; in spte_write_protect()
2242 BUILD_BUG_ON(VMX_EPT_WRITABLE_MASK != PT_WRITABLE_MASK); in link_shadow_page()
2697 if (spte & PT_WRITABLE_MASK) in set_spte()
3251 new_spte |= PT_WRITABLE_MASK; in fast_page_fault()
3528 pm_mask |= PT_ACCESSED_MASK | PT_WRITABLE_MASK | PT_USER_MASK; in mmu_alloc_shadow_roots()
/arch/x86/kvm/
Dmmu.h18 #define PT_WRITABLE_MASK (1ULL << PT_WRITABLE_SHIFT) macro
166 return pte & PT_WRITABLE_MASK; in is_writable_pte()
/arch/x86/kvm/svm/
Dsvm.c917 kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); in svm_adjust_mmio_mask()