Searched refs:old_spte (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | tdp_mmu.c | 196 u64 old_spte, u64 new_spte, int level); 203 static void handle_changed_spte_acc_track(u64 old_spte, u64 new_spte, int level) in handle_changed_spte_acc_track() argument 205 bool pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in handle_changed_spte_acc_track() 207 if (!is_shadow_present_pte(old_spte) || !is_last_spte(old_spte, level)) in handle_changed_spte_acc_track() 210 if (is_accessed_spte(old_spte) && in handle_changed_spte_acc_track() 212 kvm_set_pfn_accessed(spte_to_pfn(old_spte)); in handle_changed_spte_acc_track() 216 u64 old_spte, u64 new_spte, int level) in handle_changed_spte_dirty_log() argument 224 pfn_changed = spte_to_pfn(old_spte) != spte_to_pfn(new_spte); in handle_changed_spte_dirty_log() 226 if ((!is_writable_pte(old_spte) || pfn_changed) && in handle_changed_spte_dirty_log() 246 u64 old_spte, u64 new_spte, int level) in __handle_changed_spte() argument [all …]
|
D | tdp_iter.c | 15 iter->old_spte = READ_ONCE(*iter->sptep); in tdp_iter_refresh_sptep() 78 iter->old_spte = READ_ONCE(*iter->sptep); in try_step_down() 80 child_pt = spte_to_child_pt(iter->old_spte, iter->level); in try_step_down() 112 iter->old_spte = READ_ONCE(*iter->sptep); in try_step_side()
|
D | mmutrace.h | 250 u64 *sptep, u64 old_spte, int ret), 251 TP_ARGS(vcpu, cr2_or_gpa, error_code, sptep, old_spte, ret), 258 __field(u64, old_spte) 268 __entry->old_spte = old_spte; 277 __entry->old_spte, __entry->new_spte,
|
D | spte.c | 85 gfn_t gfn, kvm_pfn_t pfn, u64 old_spte, bool speculative, in make_spte() argument 145 if (!can_unsync && is_writable_pte(old_spte)) in make_spte() 183 u64 kvm_mmu_changed_pte_notifier_make_spte(u64 old_spte, kvm_pfn_t new_pfn) in kvm_mmu_changed_pte_notifier_make_spte() argument 187 new_spte = old_spte & ~PT64_BASE_ADDR_MASK; in kvm_mmu_changed_pte_notifier_make_spte()
|
D | spte.h | 247 gfn_t gfn, kvm_pfn_t pfn, u64 old_spte, bool speculative, 253 u64 kvm_mmu_changed_pte_notifier_make_spte(u64 old_spte, kvm_pfn_t new_pfn);
|
D | tdp_iter.h | 38 u64 old_spte; member
|
D | mmu.c | 469 u64 old_spte = *sptep; in mmu_spte_update_no_track() local 473 if (!is_shadow_present_pte(old_spte)) { in mmu_spte_update_no_track() 475 return old_spte; in mmu_spte_update_no_track() 478 if (!spte_has_volatile_bits(old_spte)) in mmu_spte_update_no_track() 481 old_spte = __update_clear_spte_slow(sptep, new_spte); in mmu_spte_update_no_track() 483 WARN_ON(spte_to_pfn(old_spte) != spte_to_pfn(new_spte)); in mmu_spte_update_no_track() 485 return old_spte; in mmu_spte_update_no_track() 502 u64 old_spte = mmu_spte_update_no_track(sptep, new_spte); in mmu_spte_update() local 504 if (!is_shadow_present_pte(old_spte)) in mmu_spte_update() 512 if (spte_can_locklessly_be_made_writable(old_spte) && in mmu_spte_update() [all …]
|
D | paging_tmpl.h | 905 u64 old_spte; in FNAME() local 928 old_spte = *sptep; in FNAME() 929 if (is_last_spte(old_spte, level)) { in FNAME() 940 if (is_shadow_present_pte(old_spte)) in FNAME()
|
/kernel/linux/linux-5.10/Documentation/virt/kvm/ |
D | locking.rst | 76 | old_spte = *spte; | | 91 | if (cmpxchg(spte, old_spte, old_spte+W) | 130 | old_spte = *spte; | | 134 | if (old_spte.Accessed == 1 && | | 135 | old_spte.W == 0) | | 149 | old_spte = xchg(spte, 0ull) | | 150 | if (old_spte.Accessed == 1) | | 152 | if (old_spte.Dirty == 1) | |
|