Home
last modified time | relevance | path

Searched refs:kvm_pgtable (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/arm64/include/asm/
Dkvm_pgtable.h23 struct kvm_pgtable { struct
92 int kvm_pgtable_hyp_init(struct kvm_pgtable *pgt, u32 va_bits);
101 void kvm_pgtable_hyp_destroy(struct kvm_pgtable *pgt);
122 int kvm_pgtable_hyp_map(struct kvm_pgtable *pgt, u64 addr, u64 size, u64 phys,
132 int kvm_pgtable_stage2_init(struct kvm_pgtable *pgt, struct kvm *kvm);
141 void kvm_pgtable_stage2_destroy(struct kvm_pgtable *pgt);
166 int kvm_pgtable_stage2_map(struct kvm_pgtable *pgt, u64 addr, u64 size,
187 int kvm_pgtable_stage2_unmap(struct kvm_pgtable *pgt, u64 addr, u64 size);
205 int kvm_pgtable_stage2_wrprotect(struct kvm_pgtable *pgt, u64 addr, u64 size);
219 kvm_pte_t kvm_pgtable_stage2_mkyoung(struct kvm_pgtable *pgt, u64 addr);
[all …]
Dkvm_host.h84 struct kvm_pgtable *pgt;
/Linux-v5.10/arch/arm64/kvm/hyp/
Dpgtable.c49 struct kvm_pgtable *pgt;
92 static u32 __kvm_pgd_page_idx(struct kvm_pgtable *pgt, u64 addr) in __kvm_pgd_page_idx()
107 struct kvm_pgtable pgt = { in kvm_pgd_pages()
273 struct kvm_pgtable *pgt = data->pgt; in _kvm_pgtable_walk()
293 int kvm_pgtable_walk(struct kvm_pgtable *pgt, u64 addr, u64 size, in kvm_pgtable_walk()
373 int kvm_pgtable_hyp_map(struct kvm_pgtable *pgt, u64 addr, u64 size, u64 phys, in kvm_pgtable_hyp_map()
396 int kvm_pgtable_hyp_init(struct kvm_pgtable *pgt, u32 va_bits) in kvm_pgtable_hyp_init()
417 void kvm_pgtable_hyp_destroy(struct kvm_pgtable *pgt) in kvm_pgtable_hyp_destroy()
616 int kvm_pgtable_stage2_map(struct kvm_pgtable *pgt, u64 addr, u64 size, in kvm_pgtable_stage2_map()
697 int kvm_pgtable_stage2_unmap(struct kvm_pgtable *pgt, u64 addr, u64 size) in kvm_pgtable_stage2_unmap()
[all …]
/Linux-v5.10/arch/arm64/kvm/
Dmmu.c25 static struct kvm_pgtable *hyp_pgtable;
44 int (*fn)(struct kvm_pgtable *, u64, u64), in stage2_apply_range() argument
51 struct kvm_pgtable *pgt = kvm->arch.mmu.pgt; in stage2_apply_range()
366 struct kvm_pgtable *pgt; in kvm_init_stage2_mmu()
473 struct kvm_pgtable *pgt = NULL; in kvm_free_stage2_pgd()
505 struct kvm_pgtable *pgt = kvm->arch.mmu.pgt; in kvm_phys_addr_ioremap()
760 struct kvm_pgtable *pgt; in user_mem_abort()