Home
last modified time | relevance | path

Searched refs:kvm_hyp_memcache (Results 1 – 7 of 7) sorted by relevance

/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dmem_protect.h59 void reclaim_pgtable_pages(struct pkvm_hyp_vm *vm, struct kvm_hyp_memcache *mc);
60 int refill_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages,
61 struct kvm_hyp_memcache *host_mc);
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dmm.c475 struct kvm_hyp_memcache *host_mc = arg; in admit_host_page()
493 int refill_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages, in refill_memcache()
494 struct kvm_hyp_memcache *host_mc) in refill_memcache()
496 struct kvm_hyp_memcache tmp = *host_mc; in refill_memcache()
H A Dpkvm.c726 teardown_donated_memory(struct kvm_hyp_memcache *mc, void *addr, size_t size) in teardown_donated_memory()
739 struct kvm_hyp_memcache *mc, *stage2_mc; in __pkvm_teardown_vm()
774 struct kvm_hyp_memcache *vcpu_mc; in __pkvm_teardown_vm()
H A Dmem_protect.c293 void reclaim_pgtable_pages(struct pkvm_hyp_vm *vm, struct kvm_hyp_memcache *mc) in reclaim_pgtable_pages()
/linux/arch/arm64/include/asm/
H A Dkvm_host.h87 struct kvm_hyp_memcache { struct
96 static inline void push_hyp_memcache(struct kvm_hyp_memcache *mc, in push_hyp_memcache() argument
105 static inline void *pop_hyp_memcache(struct kvm_hyp_memcache *mc, in pop_hyp_memcache()
119 static inline int __topup_hyp_memcache(struct kvm_hyp_memcache *mc, in __topup_hyp_memcache()
136 static inline void __free_hyp_memcache(struct kvm_hyp_memcache *mc, in __free_hyp_memcache()
145 void free_hyp_memcache(struct kvm_hyp_memcache *mc);
146 int topup_hyp_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages);
253 struct kvm_hyp_memcache teardown_mc;
254 struct kvm_hyp_memcache stage2_teardown_mc;
871 struct kvm_hyp_memcache pkvm_memcache;
/linux/arch/arm64/kvm/
H A Dmmu.c1119 struct kvm_hyp_memcache *memcache = mc; in hyp_mc_free_fn()
1129 struct kvm_hyp_memcache *memcache = mc; in hyp_mc_alloc_fn()
1139 void free_hyp_memcache(struct kvm_hyp_memcache *mc) in free_hyp_memcache()
1148 int topup_hyp_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages) in topup_hyp_memcache()
H A Dpkvm.c337 struct kvm_hyp_memcache *cache = mc; in pkvm_pgtable_stage2_map()