Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/kvm/mmu/
Dspte.c194 spte |= PT_WRITABLE_MASK | shadow_mmu_writable_mask; in make_spte()
216 spte &= ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in make_spte()
231 if ((spte & PT_WRITABLE_MASK) && kvm_slot_dirty_track_enabled(slot)) { in make_spte()
304 spte |= __pa(child_pt) | shadow_present_mask | PT_WRITABLE_MASK | in make_nonleaf_spte()
322 new_spte &= ~PT_WRITABLE_MASK; in kvm_mmu_changed_pte_notifier_make_spte()
Dspte.h42 #define SPTE_PERM_MASK (PT_PRESENT_MASK | PT_WRITABLE_MASK | shadow_user_mask \
46 #define ACC_WRITE_MASK PT_WRITABLE_MASK
315 return dirty_mask ? spte & dirty_mask : spte & PT_WRITABLE_MASK; in is_dirty_spte()
413 return pte & PT_WRITABLE_MASK; in is_writable_pte()
Dtdp_mmu.c1382 !(iter.old_spte & PT_WRITABLE_MASK)) in wrprot_gfn_range()
1385 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in wrprot_gfn_range()
1627 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in clear_dirty_gfn_range()
1697 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in clear_dirty_pt_masked()
1820 ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in write_protect_gfn()
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()
Dmmutrace.h362 __entry->spte & PT_WRITABLE_MASK ? "w" : "-",
Dmmu.c1180 spte = spte & ~PT_WRITABLE_MASK; in spte_write_protect()
2314 BUILD_BUG_ON(VMX_EPT_WRITABLE_MASK != PT_WRITABLE_MASK); in __link_shadow_page()
3369 new_spte |= PT_WRITABLE_MASK; in fast_page_fault()
3717 pm_mask |= PT_ACCESSED_MASK | PT_WRITABLE_MASK | PT_USER_MASK; in mmu_alloc_shadow_roots()
/Linux-v6.1/tools/lib/traceevent/plugins/
Dplugin_kvm.c443 #define PT_WRITABLE_MASK (1ULL << PT_WRITABLE_SHIFT) macro
449 return pte & PT_WRITABLE_MASK; in process_is_writable_pte()
/Linux-v6.1/arch/x86/kvm/
Dmmu.h15 #define PT_WRITABLE_MASK (1ULL << PT_WRITABLE_SHIFT) macro
/Linux-v6.1/arch/x86/kvm/svm/
Dsvm.c4847 kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); in svm_adjust_mmio_mask()