Searched refs:new_spte (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/arch/x86/kvm/ |
H A D | mmutrace.h | 259 __field(u64, new_spte) 269 __entry->new_spte = *sptep; 277 __entry->old_spte, __entry->new_spte, 278 __spte_satisfied(old_spte), __spte_satisfied(new_spte)
|
H A D | mmu.c | 507 static bool spte_is_bit_cleared(u64 old_spte, u64 new_spte, u64 bit_mask) spte_is_bit_cleared() argument 509 return (old_spte & bit_mask) && !(new_spte & bit_mask); spte_is_bit_cleared() 512 static bool spte_is_bit_changed(u64 old_spte, u64 new_spte, u64 bit_mask) spte_is_bit_changed() argument 514 return (old_spte & bit_mask) != (new_spte & bit_mask); spte_is_bit_changed() 523 static void mmu_spte_set(u64 *sptep, u64 new_spte) mmu_spte_set() argument 526 __set_spte(sptep, new_spte); mmu_spte_set() 538 static bool mmu_spte_update(u64 *sptep, u64 new_spte) mmu_spte_update() argument 543 WARN_ON(!is_rmap_spte(new_spte)); mmu_spte_update() 546 mmu_spte_set(sptep, new_spte); mmu_spte_update() 551 __update_clear_spte_fast(sptep, new_spte); mmu_spte_update() 553 old_spte = __update_clear_spte_slow(sptep, new_spte); mmu_spte_update() 561 !is_writable_pte(new_spte)) mmu_spte_update() 571 if (spte_is_bit_changed(old_spte, new_spte, mmu_spte_update() 575 if (spte_is_bit_cleared(old_spte, new_spte, shadow_accessed_mask)) mmu_spte_update() 577 if (spte_is_bit_cleared(old_spte, new_spte, shadow_dirty_mask)) mmu_spte_update() 1390 u64 new_spte; kvm_set_pte_rmapp() local 1408 new_spte = *sptep & ~PT64_BASE_ADDR_MASK; kvm_set_pte_rmapp() 1409 new_spte |= (u64)new_pfn << PAGE_SHIFT; kvm_set_pte_rmapp() 1411 new_spte &= ~PT_WRITABLE_MASK; kvm_set_pte_rmapp() 1412 new_spte &= ~SPTE_HOST_WRITEABLE; kvm_set_pte_rmapp() 1413 new_spte &= ~shadow_accessed_mask; kvm_set_pte_rmapp() 1416 mmu_spte_set(sptep, new_spte); kvm_set_pte_rmapp()
|
Completed in 118 milliseconds