Searched refs:new_spte (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/arch/x86/kvm/mmu/ |
| D | tdp_mmu.c | 221 u64 old_spte, u64 new_spte, int level, 224 static void handle_changed_spte_acc_track(u64 old_spte, u64 new_spte, int level) in handle_changed_spte_acc_track() argument 230 (!is_shadow_present_pte(new_spte) || !is_accessed_spte(new_spte) || in handle_changed_spte_acc_track() 231 spte_to_pfn(old_spte) != spte_to_pfn(new_spte))) in handle_changed_spte_acc_track() 236 u64 old_spte, u64 new_spte, int level) in handle_changed_spte_dirty_log() argument 244 pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in handle_changed_spte_dirty_log() 247 is_writable_pte(new_spte)) { in handle_changed_spte_dirty_log() 398 u64 old_spte, u64 new_spte, int level, in __handle_changed_spte() argument 402 bool is_present = is_shadow_present_pte(new_spte); in __handle_changed_spte() 404 bool is_leaf = is_present && is_last_spte(new_spte, level); in __handle_changed_spte() [all …]
|
| D | spte.c | 95 u64 *new_spte) in make_spte() argument 182 *new_spte = spte; in make_spte() 203 u64 new_spte; in kvm_mmu_changed_pte_notifier_make_spte() local 205 new_spte = old_spte & ~PT64_BASE_ADDR_MASK; in kvm_mmu_changed_pte_notifier_make_spte() 206 new_spte |= (u64)new_pfn << PAGE_SHIFT; in kvm_mmu_changed_pte_notifier_make_spte() 208 new_spte &= ~PT_WRITABLE_MASK; in kvm_mmu_changed_pte_notifier_make_spte() 209 new_spte &= ~shadow_host_writable_mask; in kvm_mmu_changed_pte_notifier_make_spte() 211 new_spte = mark_spte_for_access_track(new_spte); in kvm_mmu_changed_pte_notifier_make_spte() 213 return new_spte; in kvm_mmu_changed_pte_notifier_make_spte()
|
| D | mmutrace.h | 265 __field(u64, new_spte) 275 __entry->new_spte = *sptep; 283 __entry->old_spte, __entry->new_spte, 392 TP_PROTO(int as_id, gfn_t gfn, int level, u64 old_spte, u64 new_spte), 393 TP_ARGS(as_id, gfn, level, old_spte, new_spte), 398 __field(u64, new_spte) 408 __entry->new_spte = new_spte; 415 __entry->old_spte, __entry->new_spte
|
| D | mmu.c | 519 static void mmu_spte_set(u64 *sptep, u64 new_spte) in mmu_spte_set() argument 522 __set_spte(sptep, new_spte); in mmu_spte_set() 529 static u64 mmu_spte_update_no_track(u64 *sptep, u64 new_spte) in mmu_spte_update_no_track() argument 533 WARN_ON(!is_shadow_present_pte(new_spte)); in mmu_spte_update_no_track() 536 mmu_spte_set(sptep, new_spte); in mmu_spte_update_no_track() 541 __update_clear_spte_fast(sptep, new_spte); in mmu_spte_update_no_track() 543 old_spte = __update_clear_spte_slow(sptep, new_spte); in mmu_spte_update_no_track() 545 WARN_ON(spte_to_pfn(old_spte) != spte_to_pfn(new_spte)); in mmu_spte_update_no_track() 561 static bool mmu_spte_update(u64 *sptep, u64 new_spte) in mmu_spte_update() argument 564 u64 old_spte = mmu_spte_update_no_track(sptep, new_spte); in mmu_spte_update() [all …]
|
| D | spte.h | 345 u64 *new_spte);
|