Searched refs:kvm_mmu_page (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/arch/x86/kvm/mmu/ |
D | tdp_mmu.c | 54 static void tdp_mmu_free_sp(struct kvm_mmu_page *sp) in tdp_mmu_free_sp() 70 struct kvm_mmu_page *sp = container_of(head, struct kvm_mmu_page, in tdp_mmu_free_sp_rcu_callback() 76 void kvm_tdp_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *root) in kvm_tdp_mmu_put_root() 104 static struct kvm_mmu_page *tdp_mmu_next_root(struct kvm *kvm, in tdp_mmu_next_root() 105 struct kvm_mmu_page *prev_root, in tdp_mmu_next_root() 108 struct kvm_mmu_page *next_root; in tdp_mmu_next_root() 187 static struct kvm_mmu_page *tdp_mmu_alloc_sp(struct kvm_vcpu *vcpu) in tdp_mmu_alloc_sp() 189 struct kvm_mmu_page *sp; in tdp_mmu_alloc_sp() 197 static void tdp_mmu_init_sp(struct kvm_mmu_page *sp, tdp_ptep_t sptep, in tdp_mmu_init_sp() 212 static void tdp_mmu_init_child_sp(struct kvm_mmu_page *child_sp, in tdp_mmu_init_child_sp() [all …]
|
D | tdp_mmu.h | 15 __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); 23 bool kvm_tdp_mmu_zap_sp(struct kvm *kvm, struct kvm_mmu_page *sp); 71 static inline bool is_tdp_mmu_page(struct kvm_mmu_page *sp) { return sp->tdp_mmu_page; } in is_tdp_mmu_page() 73 static inline bool is_tdp_mmu_page(struct kvm_mmu_page *sp) { return false; } in is_tdp_mmu_page()
|
D | mmu.c | 281 static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index); 286 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in kvm_flush_remote_tlbs_sptep() 370 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in count_spte_clear() 454 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in __get_spte_lockless() 692 static bool sp_has_gptes(struct kvm_mmu_page *sp); 694 static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_gfn() 711 static u32 kvm_mmu_page_get_access(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_access() 731 static void kvm_mmu_page_set_translation(struct kvm_mmu_page *sp, int index, in kvm_mmu_page_set_translation() 750 static void kvm_mmu_page_set_access(struct kvm_mmu_page *sp, int index, in kvm_mmu_page_set_access() 804 static void account_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in account_shadowed() [all …]
|
D | spte.h | 241 static inline struct kvm_mmu_page *to_shadow_page(hpa_t shadow_page) in to_shadow_page() 245 return (struct kvm_mmu_page *)page_private(page); in to_shadow_page() 248 static inline struct kvm_mmu_page *spte_to_child_sp(u64 spte) in spte_to_child_sp() 253 static inline struct kvm_mmu_page *sptep_to_sp(u64 *sptep) in sptep_to_sp() 258 static inline struct kvm_mmu_page *root_to_sp(hpa_t root) in root_to_sp() 299 static inline bool sp_ad_disabled(struct kvm_mmu_page *sp) in sp_ad_disabled() 499 bool make_spte(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp,
|
D | mmu_internal.h | 52 struct kvm_mmu_page { struct 143 static inline int kvm_mmu_page_as_id(struct kvm_mmu_page *sp) in kvm_mmu_page_as_id() argument 148 static inline bool kvm_mmu_page_ad_need_write_protect(struct kvm_mmu_page *sp) in kvm_mmu_page_ad_need_write_protect() 355 void track_possible_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp); 356 void untrack_possible_nx_huge_page(struct kvm *kvm, struct kvm_mmu_page *sp);
|
D | mmutrace.h | 160 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),
|
D | paging_tmpl.h | 152 struct kvm_mmu_page *sp, u64 *spte, in FNAME() 533 FNAME(prefetch_gpte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in FNAME() 587 struct kvm_mmu_page *sp; in FNAME() 630 struct kvm_mmu_page *sp = NULL; in FNAME() 856 static gpa_t FNAME(get_level1_sp_gpa)(struct kvm_mmu_page *sp) in FNAME() 904 static int FNAME(sync_spte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, int i) in FNAME()
|
D | tdp_iter.h | 135 void tdp_iter_start(struct tdp_iter *iter, struct kvm_mmu_page *root,
|
D | tdp_iter.c | 39 void tdp_iter_start(struct tdp_iter *iter, struct kvm_mmu_page *root, in tdp_iter_start()
|
D | spte.c | 157 bool make_spte(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in make_spte()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | kvm_host.h | 439 struct kvm_mmu_page; 457 struct kvm_mmu_page *sp, int i);
|
/linux-6.12.1/Documentation/virt/kvm/x86/ |
D | mmu.rst | 121 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
|