Searched refs:PT_WRITABLE_MASK (Results 1 – 8 of 8) sorted by relevance
45 #define SPTE_PERM_MASK (PT_PRESENT_MASK | PT_WRITABLE_MASK | shadow_user_mask \49 #define ACC_WRITE_MASK PT_WRITABLE_MASK370 return dirty_mask ? spte & dirty_mask : spte & PT_WRITABLE_MASK; in is_dirty_spte()468 return pte & PT_WRITABLE_MASK; in is_writable_pte()
226 spte |= PT_WRITABLE_MASK | shadow_mmu_writable_mask; in make_spte()246 spte &= ~(PT_WRITABLE_MASK | shadow_mmu_writable_mask); in make_spte()261 if ((spte & PT_WRITABLE_MASK) && kvm_slot_dirty_track_enabled(slot)) { in make_spte()328 spte |= __pa(child_pt) | shadow_present_mask | PT_WRITABLE_MASK | in make_nonleaf_spte()
1306 !(iter.old_spte & PT_WRITABLE_MASK)) in wrprot_gfn_range()1309 new_spte = iter.old_spte & ~PT_WRITABLE_MASK; in wrprot_gfn_range()1510 const u64 dbit = tdp_mmu_need_write_protect(root) ? PT_WRITABLE_MASK : in clear_dirty_gfn_range()1564 const u64 dbit = (wrprot || tdp_mmu_need_write_protect(root)) ? PT_WRITABLE_MASK : in clear_dirty_pt_masked()1705 ~(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()
363 __entry->spte & PT_WRITABLE_MASK ? "w" : "-",
1226 spte = spte & ~PT_WRITABLE_MASK; in spte_write_protect()2421 BUILD_BUG_ON(VMX_EPT_WRITABLE_MASK != PT_WRITABLE_MASK); in __link_shadow_page()3545 new_spte |= PT_WRITABLE_MASK; in fast_page_fault()3899 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
5178 kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); in svm_adjust_mmio_mask()