Searched refs:SPTE_MMU_WRITEABLE (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/x86/kvm/
H A Dmmu.h105 * 1) the first case clears SPTE_MMU_WRITEABLE bit.
116 * it flush tlb if we try to write-protect a spte whose SPTE_MMU_WRITEABLE bit
117 * is set, it works since another case never touches SPTE_MMU_WRITEABLE bit.
120 * changed) we need to check whether the spte with SPTE_MMU_WRITEABLE becomes
124 * The rules to use SPTE_MMU_WRITEABLE and PT_WRITABLE_MASK:
126 * writable on the mmu mapping, check SPTE_MMU_WRITEABLE, this is the most
H A Dmmu.c136 #define SPTE_MMU_WRITEABLE (1ULL << (PT_FIRST_AVAIL_BITS_SHIFT + 1)) macro
479 return (spte & (SPTE_HOST_WRITEABLE | SPTE_MMU_WRITEABLE)) == spte_is_locklessly_modifiable()
480 (SPTE_HOST_WRITEABLE | SPTE_MMU_WRITEABLE); spte_is_locklessly_modifiable()
1204 spte &= ~SPTE_MMU_WRITEABLE; spte_write_protect()
2535 spte |= PT_WRITABLE_MASK | SPTE_MMU_WRITEABLE; set_spte()
2551 spte &= ~(PT_WRITABLE_MASK | SPTE_MMU_WRITEABLE); set_spte()
4623 * haved checked SPTE_HOST_WRITEABLE | SPTE_MMU_WRITEABLE kvm_mmu_slot_remove_write_access()

Completed in 135 milliseconds