Home
last modified time | relevance | path

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

/arch/arm64/kvm/hyp/include/nvhe/
Dpkvm.h28 int shadow_handle; member
74 int __pkvm_init_shadow_vcpu(unsigned int shadow_handle,
77 int __pkvm_teardown_shadow(int shadow_handle);
78 struct kvm_vcpu *get_shadow_vcpu(int shadow_handle, unsigned int vcpu_idx);
/arch/arm64/kvm/
Dpkvm.c124 int shadow_handle; in __create_el2_shadow() local
155 shadow_handle = ret; in __create_el2_shadow()
158 kvm->arch.pkvm.shadow_handle = shadow_handle; in __create_el2_shadow()
176 ret = kvm_call_hyp_nvhe(__pkvm_init_shadow_vcpu, shadow_handle, in __create_el2_shadow()
201 if (!kvm->arch.pkvm.shadow_handle) in create_el2_shadow()
214 if (kvm->arch.pkvm.shadow_handle) in kvm_shadow_destroy()
216 kvm->arch.pkvm.shadow_handle)); in kvm_shadow_destroy()
299 if (kvm->arch.pkvm.shadow_handle) { in pkvm_vm_ioctl_set_fw_ipa()
Dmmu.c1829 kvm->arch.pkvm.shadow_handle) { in kvm_arch_prepare_memory_region()
Darm.c539 vcpu->kvm->arch.pkvm.shadow_handle, in kvm_arch_vcpu_load()
/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c216 static int shadow_handle_to_index(int shadow_handle) in shadow_handle_to_index() argument
218 return shadow_handle - HANDLE_OFFSET; in shadow_handle_to_index()
261 static struct kvm_shadow_vm *find_shadow_by_handle(int shadow_handle) in find_shadow_by_handle() argument
263 int shadow_index = shadow_handle_to_index(shadow_handle); in find_shadow_by_handle()
271 struct kvm_vcpu *get_shadow_vcpu(int shadow_handle, unsigned int vcpu_idx) in get_shadow_vcpu() argument
278 vm = find_shadow_by_handle(shadow_handle); in get_shadow_vcpu()
532 int shadow_handle; in insert_shadow_table() local
554 shadow_handle = index_to_shadow_handle(next_shadow_alloc); in insert_shadow_table()
556 vm->shadow_handle = shadow_handle; in insert_shadow_table()
573 return shadow_handle; in insert_shadow_table()
[all …]
Dhyp-main.c631 DECLARE_REG(int, shadow_handle, host_ctxt, 1); in handle___pkvm_vcpu_load()
646 state->vcpu = get_shadow_vcpu(shadow_handle, vcpu_idx); in handle___pkvm_vcpu_load()
1011 DECLARE_REG(unsigned int, shadow_handle, host_ctxt, 1); in handle___pkvm_init_shadow_vcpu()
1015 cpu_reg(host_ctxt, 1) = __pkvm_init_shadow_vcpu(shadow_handle, in handle___pkvm_init_shadow_vcpu()
1022 DECLARE_REG(int, shadow_handle, host_ctxt, 1); in handle___pkvm_teardown_shadow()
1024 cpu_reg(host_ctxt, 1) = __pkvm_teardown_shadow(shadow_handle); in handle___pkvm_teardown_shadow()
/arch/arm64/include/asm/
Dkvm_host.h168 int shadow_handle; member