Searched refs:kvm_mmu_page (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/arch/x86/kvm/mmu/ |
D | mmu_internal.h | 23 struct kvm_mmu_page { struct 64 static inline struct kvm_mmu_page *to_shadow_page(hpa_t shadow_page) in to_shadow_page() argument 68 return (struct kvm_mmu_page *)page_private(page); in to_shadow_page() 71 static inline struct kvm_mmu_page *sptep_to_sp(u64 *sptep) in sptep_to_sp() 98 static inline void kvm_mmu_get_root(struct kvm *kvm, struct kvm_mmu_page *sp) in kvm_mmu_get_root() 106 static inline bool kvm_mmu_put_root(struct kvm *kvm, struct kvm_mmu_page *sp) in kvm_mmu_put_root() 146 void account_huge_nx_page(struct kvm *kvm, struct kvm_mmu_page *sp); 147 void unaccount_huge_nx_page(struct kvm *kvm, struct kvm_mmu_page *sp);
|
D | tdp_mmu.c | 50 struct kvm_mmu_page *sp; in is_tdp_mmu_root() 64 static bool zap_gfn_range(struct kvm *kvm, struct kvm_mmu_page *root, 67 void kvm_tdp_mmu_free_root(struct kvm *kvm, struct kvm_mmu_page *root) in kvm_tdp_mmu_free_root() 98 static struct kvm_mmu_page *alloc_tdp_mmu_page(struct kvm_vcpu *vcpu, gfn_t gfn, in alloc_tdp_mmu_page() 101 struct kvm_mmu_page *sp; in alloc_tdp_mmu_page() 114 static struct kvm_mmu_page *get_tdp_mmu_vcpu_root(struct kvm_vcpu *vcpu) in get_tdp_mmu_vcpu_root() 118 struct kvm_mmu_page *root; in get_tdp_mmu_vcpu_root() 145 struct kvm_mmu_page *root; in kvm_tdp_mmu_get_vcpu_root_hpa() 157 static int kvm_mmu_page_as_id(struct kvm_mmu_page *sp) in kvm_mmu_page_as_id() 213 struct kvm_mmu_page *sp; in __handle_changed_spte() [all …]
|
D | mmu_audit.c | 34 static void __mmu_spte_walk(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in __mmu_spte_walk() 46 struct kvm_mmu_page *child; in __mmu_spte_walk() 57 struct kvm_mmu_page *sp; in mmu_spte_walk() 83 typedef void (*sp_handler) (struct kvm *kvm, struct kvm_mmu_page *sp); 87 struct kvm_mmu_page *sp; in walk_all_active_sps() 95 struct kvm_mmu_page *sp; in audit_mappings() 130 struct kvm_mmu_page *rev_sp; in inspect_spte_has_rmap() 168 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in audit_spte_after_sync() 175 static void check_mappings_rmap(struct kvm *kvm, struct kvm_mmu_page *sp) in check_mappings_rmap() 190 static void audit_write_protection(struct kvm *kvm, struct kvm_mmu_page *sp) in audit_write_protection() [all …]
|
D | mmu.c | 325 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in count_spte_clear() 409 struct kvm_mmu_page *sp = sptep_to_sp(sptep); in __get_spte_lockless() 701 static gfn_t kvm_mmu_page_get_gfn(struct kvm_mmu_page *sp, int index) in kvm_mmu_page_get_gfn() 709 static void kvm_mmu_page_set_gfn(struct kvm_mmu_page *sp, int index, gfn_t gfn) in kvm_mmu_page_set_gfn() 760 static void account_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in account_shadowed() 779 void account_huge_nx_page(struct kvm *kvm, struct kvm_mmu_page *sp) in account_huge_nx_page() 790 static void unaccount_shadowed(struct kvm *kvm, struct kvm_mmu_page *sp) in unaccount_shadowed() 807 void unaccount_huge_nx_page(struct kvm *kvm, struct kvm_mmu_page *sp) in unaccount_huge_nx_page() 951 struct kvm_mmu_page *sp) in gfn_to_rmap() 971 struct kvm_mmu_page *sp; in rmap_add() [all …]
|
D | mmutrace.h | 152 TP_PROTO(struct kvm_mmu_page *sp, bool created), 171 TP_PROTO(struct kvm_mmu_page *sp), 186 TP_PROTO(struct kvm_mmu_page *sp), 192 TP_PROTO(struct kvm_mmu_page *sp), 198 TP_PROTO(struct kvm_mmu_page *sp),
|
D | paging_tmpl.h | 190 struct kvm_mmu_page *sp, u64 *spte, in FNAME() 529 FNAME(prefetch_gpte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in FNAME() 560 static void FNAME(update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp, in FNAME() 594 struct kvm_mmu_page *sp; in FNAME() 636 struct kvm_mmu_page *sp = NULL; in FNAME() 889 static gpa_t FNAME(get_level1_sp_gpa)(struct kvm_mmu_page *sp) in FNAME() 904 struct kvm_mmu_page *sp; in FNAME() 1019 static int FNAME(sync_page)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp) in FNAME()
|
D | tdp_mmu.h | 13 void kvm_tdp_mmu_free_root(struct kvm *kvm, struct kvm_mmu_page *root);
|
D | spte.h | 154 static inline bool sp_ad_disabled(struct kvm_mmu_page *sp) in sp_ad_disabled()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | kvm_host.h | 340 struct kvm_mmu_page; 359 struct kvm_mmu_page *sp); 361 void (*update_pte)(struct kvm_vcpu *vcpu, struct kvm_mmu_page *sp,
|
/Linux-v5.10/Documentation/virt/kvm/ |
D | mmu.rst | 121 The principal data structure is the shadow page, 'struct kvm_mmu_page'. A 201 shadow page; it is also used to go back from a struct kvm_mmu_page
|