Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/mmu/
H A Dspte.h45 #define SPTE_PERM_MASK (PT_PRESENT_MASK | PT_WRITABLE_MASK | shadow_user_mask \
49 #define ACC_WRITE_MASK PT_WRITABLE_MASK
468 return pte & PT_WRITABLE_MASK; in is_writable_pte()
H A Dspte.c273 spte |= PT_WRITABLE_MASK | shadow_mmu_writable_mask | in make_spte()
289 if ((spte & PT_WRITABLE_MASK) && kvm_slot_dirty_track_enabled(slot)) { in make_spte()
391 spte |= __pa(child_pt) | shadow_present_mask | PT_WRITABLE_MASK | in make_nonleaf_spte()
H A Dtdp_mmu.c1467 !(iter.old_spte & PT_WRITABLE_MASK)) in wrprot_gfn_range()
1470 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in wrprot_gfn_range()
1672 PT_WRITABLE_MASK : shadow_dirty_mask; in clear_dirty_gfn_range()
1718 PT_WRITABLE_MASK : shadow_dirty_mask; in clear_dirty_pt_masked()
1900 ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in write_protect_gfn()
H A Dpaging_tmpl.h118 BUILD_BUG_ON(PT_WRITABLE_MASK != ACC_WRITE_MASK); in FNAME()
123 PT_WRITABLE_MASK; in FNAME()
189 access = gpte & (PT_WRITABLE_MASK | PT_USER_MASK | PT_PRESENT_MASK); in FNAME()
H A Dmmutrace.h366 __entry->spte & PT_WRITABLE_MASK ? "w" : "-",
H A Dmmu.c1326 spte = spte & ~PT_WRITABLE_MASK; in spte_write_protect()
2545 BUILD_BUG_ON(VMX_EPT_WRITABLE_MASK != PT_WRITABLE_MASK); in __link_shadow_page()
3732 new_spte |= PT_WRITABLE_MASK; in fast_page_fault()
4117 pm_mask |= PT_ACCESSED_MASK | PT_WRITABLE_MASK | PT_USER_MASK; in mmu_alloc_shadow_roots()
/linux/arch/x86/kvm/
H A Dmmu.h16 #define PT_WRITABLE_MASK (1ULL << PT_WRITABLE_SHIFT) macro
/linux/arch/x86/kvm/svm/
H A Dsvm.c5308 kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); in svm_adjust_mmio_mask()