Home
last modified time | relevance | path

Searched refs:sptep (Results 1 – 11 of 11) sorted by relevance

/linux/arch/x86/kvm/mmu/
A Dmmu_audit.c100 sp = sptep_to_sp(sptep); in audit_mappings()
110 if (!is_shadow_present_pte(*sptep) || !is_last_spte(*sptep, level)) in audit_mappings()
120 if ((*sptep & PT64_BASE_ADDR_MASK) != hpa) in audit_mappings()
123 hpa, *sptep); in audit_mappings()
135 rev_sp = sptep_to_sp(sptep); in inspect_spte_has_rmap()
155 *sptep); in inspect_spte_has_rmap()
162 if (is_shadow_present_pte(*sptep) && is_last_spte(*sptep, level)) in audit_sptes_have_rmaps()
163 inspect_spte_has_rmap(vcpu->kvm, sptep); in audit_sptes_have_rmaps()
193 u64 *sptep; in audit_write_protection() local
206 if (is_writable_pte(*sptep)) in audit_write_protection()
[all …]
A Dmmu.c166 u64 *sptep; member
1122 u64 *sptep; in rmap_get_first() local
1148 u64 *sptep; in rmap_get_next() local
1229 rmap_printk("spte %p %llx\n", sptep, *sptep); in spte_write_protect()
1242 u64 *sptep; in __rmap_write_protect() local
1256 rmap_printk("spte %p %llx\n", sptep, *sptep); in spte_clear_dirty()
1282 u64 *sptep; in __rmap_clear_dirty() local
1455 u64 *sptep; in kvm_set_pte_rmapp() local
1467 sptep, *sptep, gfn, level); in kvm_set_pte_rmapp()
1607 u64 *sptep; in kvm_age_rmapp() local
[all …]
A Dmmutrace.h212 TP_ARGS(sptep, gfn, spte),
215 __field(void *, sptep)
222 __entry->sptep = sptep;
263 __field(u64 *, sptep)
273 __entry->sptep = sptep;
275 __entry->new_spte = *sptep;
335 TP_ARGS(level, gfn, sptep),
340 __field(u64, sptep)
350 __entry->spte = *sptep;
351 __entry->sptep = virt_to_phys(sptep);
[all …]
A Dpaging_tmpl.h616 u64 *sptep) in FNAME()
623 sp = sptep_to_sp(sptep); in FNAME()
642 if (spte == sptep) in FNAME()
691 drop_large_spte(vcpu, it.sptep); in FNAME()
949 u64 *sptep; in FNAME() local
967 sptep = iterator.sptep; in FNAME()
969 sp = sptep_to_sp(sptep); in FNAME()
970 old_spte = *sptep; in FNAME()
1094 u64 *sptep, spte; in FNAME() local
1129 sptep = &sp->spt[i]; in FNAME()
[all …]
A Dtdp_iter.c13 iter->sptep = iter->pt_path[iter->level - 1] + in tdp_iter_refresh_sptep()
15 iter->old_spte = READ_ONCE(*rcu_dereference(iter->sptep)); in tdp_iter_refresh_sptep()
90 iter->old_spte = READ_ONCE(*rcu_dereference(iter->sptep)); in try_step_down()
123 iter->sptep++; in try_step_side()
124 iter->old_spte = READ_ONCE(*rcu_dereference(iter->sptep)); in try_step_side()
A Dtdp_mmu.c327 u64 *sptep = rcu_dereference(pt) + i; in handle_removed_tdp_mmu_page() local
341 old_child_spte = xchg(sptep, REMOVED_SPTE); in handle_removed_tdp_mmu_page()
356 old_child_spte = READ_ONCE(*sptep); in handle_removed_tdp_mmu_page()
368 WRITE_ONCE(*sptep, REMOVED_SPTE); in handle_removed_tdp_mmu_page()
554 WRITE_ONCE(*rcu_dereference(iter->sptep), 0); in tdp_mmu_zap_spte_atomic()
593 WRITE_ONCE(*rcu_dereference(iter->sptep), new_spte); in __tdp_mmu_set_spte()
758 iter.old_spte = READ_ONCE(*rcu_dereference(iter.sptep)); in zap_gfn_range()
936 rcu_dereference(iter->sptep)); in tdp_mmu_map_handle_target_level()
1520 tdp_ptep_t sptep = NULL; in kvm_tdp_mmu_fast_pf_get_last_sptep() local
1524 sptep = iter.sptep; in kvm_tdp_mmu_fast_pf_get_last_sptep()
[all …]
A Dmmu_internal.h92 static inline struct kvm_mmu_page *sptep_to_sp(u64 *sptep) in sptep_to_sp() argument
94 return to_shadow_page(__pa(sptep)); in sptep_to_sp()
A Dtdp_iter.h30 tdp_ptep_t sptep; member
/linux/arch/s390/mm/
A Dpgtable.c663 pte_t *sptep, pte_t *tptep, pte_t pte) in ptep_shadow_pte() argument
671 spgste = pgste_get_lock(sptep); in ptep_shadow_pte()
672 spte = *sptep; in ptep_shadow_pte()
685 pgste_set_unlock(sptep, spgste); in ptep_shadow_pte()
A Dgmap.c2117 pte_t *sptep, *tptep; in gmap_shadow_page() local
2141 sptep = gmap_pte_op_walk(parent, paddr, &ptl); in gmap_shadow_page()
2142 if (sptep) { in gmap_shadow_page()
2152 rc = ptep_shadow_pte(sg->mm, saddr, sptep, tptep, pte); in gmap_shadow_page()
/linux/arch/s390/include/asm/
A Dpgtable.h1162 pte_t *sptep, pte_t *tptep, pte_t pte);

Completed in 44 milliseconds