Searched refs:kvm_ptw_ctx (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | kvm_mmu.h | 25 typedef struct kvm_ptw_ctx kvm_ptw_ctx; typedef 26 typedef int (*kvm_pte_ops)(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx); 28 struct kvm_ptw_ctx { struct 90 static inline int kvm_need_flush(kvm_ptw_ctx *ctx) in kvm_need_flush() 95 static inline kvm_pte_t *kvm_pgtable_offset(kvm_ptw_ctx *ctx, kvm_pte_t *table, in kvm_pgtable_offset() 102 static inline phys_addr_t kvm_pgtable_addr_end(kvm_ptw_ctx *ctx, in kvm_pgtable_addr_end() 112 static inline int kvm_pte_present(kvm_ptw_ctx *ctx, kvm_pte_t *entry) in kvm_pte_present() 120 static inline int kvm_pte_none(kvm_ptw_ctx *ctx, kvm_pte_t *entry) in kvm_pte_none() 125 static inline void kvm_ptw_enter(kvm_ptw_ctx *ctx) in kvm_ptw_enter() 132 static inline void kvm_ptw_exit(kvm_ptw_ctx *ctx) in kvm_ptw_exit()
|
| /linux-6.15/arch/loongarch/kvm/ |
| H A D | mmu.c | 26 static inline void kvm_ptw_prepare(struct kvm *kvm, kvm_ptw_ctx *ctx) in kvm_ptw_prepare() 41 static int kvm_mkold_pte(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx) in kvm_mkold_pte() 55 static int kvm_mkclean_pte(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx) in kvm_mkclean_pte() 88 static int kvm_flush_pte(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx) in kvm_flush_pte() 153 kvm_ptw_ctx ctx; in kvm_populate_gpa() 218 static int kvm_ptw_dir(kvm_pte_t *dir, phys_addr_t addr, phys_addr_t end, kvm_ptw_ctx *ctx) in kvm_ptw_dir() 295 kvm_ptw_ctx ctx; in kvm_flush_range() 343 kvm_ptw_ctx ctx; in kvm_mkclean_gpa_pt() 365 kvm_ptw_ctx ctx; in kvm_arch_mmu_enable_log_dirty_pt_masked() 503 kvm_ptw_ctx ctx; in kvm_unmap_gfn_range() [all …]
|