Searched refs:pkvm_hyp_vm (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/arch/arm64/kvm/hyp/include/nvhe/ |
D | pkvm.h | 28 struct pkvm_hyp_vm { struct 50 static inline struct pkvm_hyp_vm * argument 53 return container_of(hyp_vcpu->vcpu.kvm, struct pkvm_hyp_vm, kvm); in pkvm_hyp_vcpu_to_hyp_vm()
|
D | mem_protect.h | 77 int kvm_guest_prepare_stage2(struct pkvm_hyp_vm *vm, void *pgd); 82 void reclaim_guest_pages(struct pkvm_hyp_vm *vm, struct kvm_hyp_memcache *mc);
|
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/ |
D | pkvm.c | 244 static struct pkvm_hyp_vm **vm_table; 255 static struct pkvm_hyp_vm *get_vm_by_handle(pkvm_handle_t handle) in get_vm_by_handle() 269 struct pkvm_hyp_vm *hyp_vm; in pkvm_load_hyp_vcpu() 285 struct pkvm_hyp_vm *hyp_vm = pkvm_hyp_vcpu_to_hyp_vm(hyp_vcpu); in pkvm_put_hyp_vcpu() 307 static void init_pkvm_hyp_vm(struct kvm *host_kvm, struct pkvm_hyp_vm *hyp_vm, in init_pkvm_hyp_vm() 316 struct pkvm_hyp_vm *hyp_vm, in init_pkvm_hyp_vcpu() 363 struct pkvm_hyp_vm *hyp_vm) in insert_vm_table_entry() 405 return size_add(sizeof(struct pkvm_hyp_vm), in pkvm_get_hyp_vm_size() 476 struct pkvm_hyp_vm *hyp_vm = NULL; in __pkvm_init_vm() 546 struct pkvm_hyp_vm *hyp_vm; in __pkvm_init_vcpu() [all …]
|
D | mem_protect.c | 28 static DEFINE_PER_CPU(struct pkvm_hyp_vm *, __current_vm); 31 static void guest_lock_component(struct pkvm_hyp_vm *vm) in guest_lock_component() 37 static void guest_unlock_component(struct pkvm_hyp_vm *vm) in guest_unlock_component() 232 int kvm_guest_prepare_stage2(struct pkvm_hyp_vm *vm, void *pgd) in kvm_guest_prepare_stage2() 269 void reclaim_guest_pages(struct pkvm_hyp_vm *vm, struct kvm_hyp_memcache *mc) in reclaim_guest_pages()
|
/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | hyp-constants.c | 10 DEFINE(PKVM_HYP_VM_SIZE, sizeof(struct pkvm_hyp_vm)); in main()
|