Searched refs:PT_WRITABLE_MASK (Results 1 – 8 of 8) sorted by relevance
206 spte |= PT_WRITABLE_MASK | shadow_mmu_writable_mask; in make_spte()226 spte &= ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in make_spte()241 if ((spte & PT_WRITABLE_MASK) && kvm_slot_dirty_track_enabled(slot)) { in make_spte()314 spte |= __pa(child_pt) | shadow_present_mask | PT_WRITABLE_MASK | in make_nonleaf_spte()332 new_spte &= ~PT_WRITABLE_MASK; in kvm_mmu_changed_pte_notifier_make_spte()
43 #define SPTE_PERM_MASK (PT_PRESENT_MASK | PT_WRITABLE_MASK | shadow_user_mask \47 #define ACC_WRITE_MASK PT_WRITABLE_MASK345 return dirty_mask ? spte & dirty_mask : spte & PT_WRITABLE_MASK; in is_dirty_spte()443 return pte & PT_WRITABLE_MASK; in is_writable_pte()
1289 !(iter.old_spte & PT_WRITABLE_MASK)) in wrprot_gfn_range()1292 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in wrprot_gfn_range()1519 u64 dbit = kvm_ad_enabled() ? shadow_dirty_mask : PT_WRITABLE_MASK; in clear_dirty_gfn_range()1581 u64 dbit = (wrprot || !kvm_ad_enabled()) ? PT_WRITABLE_MASK : in clear_dirty_pt_masked()1725 ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in write_protect_gfn()
118 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()
362 __entry->spte & PT_WRITABLE_MASK ? "w" : "-",
1233 spte = spte & ~PT_WRITABLE_MASK; in spte_write_protect()2429 BUILD_BUG_ON(VMX_EPT_WRITABLE_MASK != PT_WRITABLE_MASK); in __link_shadow_page()3490 new_spte |= PT_WRITABLE_MASK; in fast_page_fault()3831 pm_mask |= PT_ACCESSED_MASK | PT_WRITABLE_MASK | PT_USER_MASK; in mmu_alloc_shadow_roots()
15 #define PT_WRITABLE_MASK (1ULL << PT_WRITABLE_SHIFT) macro
5082 kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); in svm_adjust_mmio_mask()