Home
last modified time | relevance | path

Searched refs:kvm_mmu_page (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/arch/x86/kvm/mmu/
H A Dtdp_mmu.c73 struct kvm_mmu_page *sp = container_of(head, struct kvm_mmu_page, in tdp_mmu_free_sp_rcu_callback()
216 struct kvm_mmu_page *sp; in tdp_mmu_alloc_sp()
259 struct kvm_mmu_page *root; in kvm_tdp_mmu_alloc_root()
1004 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_leafs()
1015 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_all()
1042 struct kvm_mmu_page *root; in kvm_tdp_mmu_zap_invalidated_roots()
1094 struct kvm_mmu_page *root; in kvm_tdp_mmu_invalidate_roots()
1245 struct kvm_mmu_page *sp; in kvm_tdp_mmu_map()
1332 struct kvm_mmu_page *root; in kvm_tdp_mmu_unmap_gfn_range()
1378 struct kvm_mmu_page *root; in __kvm_tdp_mmu_age_gfn_range()
[all …]
H A Dtdp_mmu.h15 __must_check static inline bool kvm_tdp_mmu_get_root(struct kvm_mmu_page *root) in kvm_tdp_mmu_get_root()
20 void kvm_tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root);
48 static inline struct kvm_mmu_page *tdp_mmu_get_root_for_fault(struct kvm_vcpu *vcpu, in tdp_mmu_get_root_for_fault()
57 static inline struct kvm_mmu_page *tdp_mmu_get_root(struct kvm_vcpu *vcpu, in tdp_mmu_get_root()
67 bool kvm_tdp_mmu_zap_sp(struct kvm *kvm, struct kvm_mmu_page *sp);
116 static inline bool is_tdp_mmu_page(struct kvm_mmu_page *sp) { return sp->tdp_mmu_page; } in is_tdp_mmu_page()
118 static inline bool is_tdp_mmu_page(struct kvm_mmu_page *sp) { return false; } in is_tdp_mmu_page()
H A Dmmu_internal.h54 struct kvm_mmu_page { struct
157 static inline int kvm_mmu_page_as_id(struct kvm_mmu_page *sp) in kvm_mmu_page_as_id() argument
162 static inline bool is_mirror_sp(const struct kvm_mmu_page *sp) in is_mirror_sp()
167 static inline void kvm_mmu_alloc_external_spt(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp) in kvm_mmu_alloc_external_spt()
178 static inline gfn_t kvm_gfn_root_bits(const struct kvm *kvm, const struct kvm_mmu_page *root) in kvm_gfn_root_bits()
190 static inline bool kvm_mmu_page_ad_need_write_protect(struct kvm_mmu_page *sp) in kvm_mmu_page_ad_need_write_protect()
415 void track_possible_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp);
416 void untrack_possible_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp);
H A Dmmu.c1183 struct kvm_mmu_page *sp; in rmap_remove()
1287 struct kvm_mmu_page *sp; in drop_large_spte()
1679 struct kvm_mmu_page *sp; in __rmap_add()
1866 struct kvm_mmu_page *sp; in mark_unsync()
2133 struct kvm_mmu_page *sp; in mmu_pages_first()
2156 struct kvm_mmu_page *sp; in mmu_pages_clear_parents()
2175 struct kvm_mmu_page *sp; in mmu_sync_children()
2235 struct kvm_mmu_page *sp; in kvm_mmu_find_shadow_page()
2320 struct kvm_mmu_page *sp; in kvm_mmu_alloc_shadow_page()
2357 struct kvm_mmu_page *sp; in __kvm_mmu_get_shadow_page()
[all …]
H A Dspte.h250 static inline struct kvm_mmu_page *to_shadow_page(hpa_t shadow_page) in to_shadow_page()
254 return (struct kvm_mmu_page *)page_private(page); in to_shadow_page()
257 static inline struct kvm_mmu_page *spte_to_child_sp(u64 spte) in spte_to_child_sp()
262 static inline struct kvm_mmu_page *sptep_to_sp(u64 *sptep) in sptep_to_sp()
267 static inline struct kvm_mmu_page *root_to_sp(hpa_t root) in root_to_sp()
302 static inline bool sp_ad_disabled(struct kvm_mmu_page *sp) in sp_ad_disabled()
524 bool make_spte(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp,
H A Dmmutrace.h160 TP_PROTO(struct kvm_mmu_page *sp, bool created),
179 TP_PROTO(struct kvm_mmu_page *sp),
194 TP_PROTO(struct kvm_mmu_page *sp),
200 TP_PROTO(struct kvm_mmu_page *sp),
206 TP_PROTO(struct kvm_mmu_page *sp),
H A Dpaging_tmpl.h152 struct kvm_mmu_page *sp, u64 *spte, in FNAME()
532 FNAME(prefetch_gpte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in FNAME()
574 struct kvm_mmu_page *sp; in FNAME()
617 struct kvm_mmu_page *sp = NULL; in FNAME()
843 static gpa_t FNAME(get_level1_sp_gpa)(struct kvm_mmu_page *sp) in FNAME()
891 static int FNAME(sync_spte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, int i) in FNAME()
H A Dtdp_iter.h138 void tdp_iter_start(struct tdp_iter *iter, struct kvm_mmu_page *root,
H A Dtdp_iter.c39 void tdp_iter_start(struct tdp_iter *iter, struct kvm_mmu_page *root, in tdp_iter_start()
H A Dspte.c160 bool make_spte(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in make_spte()
/linux-6.15/arch/x86/include/asm/
H A Dkvm_host.h444 struct kvm_mmu_page;
462 struct kvm_mmu_page *sp, int i);
/linux-6.15/Documentation/virt/kvm/x86/
H A Dmmu.rst121 The principal data structure is the shadow page, 'struct kvm_mmu_page'. A
198 shadow page; it is also used to go back from a struct kvm_mmu_page