Home
last modified time | relevance | path

Searched refs:pkvm_handle_t (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/arch/arm64/kvm/hyp/include/nvhe/
H A Dpkvm.h72 int __pkvm_init_vcpu(pkvm_handle_t handle, struct kvm_vcpu *host_vcpu,
74 int __pkvm_teardown_vm(pkvm_handle_t handle);
76 struct pkvm_hyp_vcpu *pkvm_load_hyp_vcpu(pkvm_handle_t handle,
81 struct pkvm_hyp_vm *get_pkvm_hyp_vm(pkvm_handle_t handle);
82 struct pkvm_hyp_vm *get_np_pkvm_hyp_vm(pkvm_handle_t handle);
/linux-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dpkvm.c195 static unsigned int vm_handle_to_idx(pkvm_handle_t handle) in vm_handle_to_idx()
200 static pkvm_handle_t idx_to_vm_handle(unsigned int idx) in idx_to_vm_handle()
227 static struct pkvm_hyp_vm *get_vm_by_handle(pkvm_handle_t handle) in get_vm_by_handle()
237 struct pkvm_hyp_vcpu *pkvm_load_hyp_vcpu(pkvm_handle_t handle, in pkvm_load_hyp_vcpu()
289 struct pkvm_hyp_vm *get_pkvm_hyp_vm(pkvm_handle_t handle) in get_pkvm_hyp_vm()
309 struct pkvm_hyp_vm *get_np_pkvm_hyp_vm(pkvm_handle_t handle) in get_np_pkvm_hyp_vm()
460 static pkvm_handle_t insert_vm_table_entry(struct kvm *host_kvm, in insert_vm_table_entry()
495 static void remove_vm_table_entry(pkvm_handle_t handle) in remove_vm_table_entry()
640 int __pkvm_init_vcpu(pkvm_handle_t handle, struct kvm_vcpu *host_vcpu, in __pkvm_init_vcpu()
696 int __pkvm_teardown_vm(pkvm_handle_t handle) in __pkvm_teardown_vm()
H A Dhyp-main.c167 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_vcpu_load()
274 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_host_unshare_guest()
313 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_host_wrprotect_guest()
333 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_host_test_clear_young_guest()
419 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_tlb_flush_vmid()
558 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_init_vcpu()
568 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_teardown_vm()
/linux-6.15/arch/arm64/kvm/
H A Dpkvm.c120 pkvm_handle_t handle = vcpu->kvm->arch.pkvm.handle; in __pkvm_create_hyp_vcpu()
335 pkvm_handle_t handle = kvm->arch.pkvm.handle; in pkvm_pgtable_stage2_destroy()
385 pkvm_handle_t handle = kvm->arch.pkvm.handle; in pkvm_pgtable_stage2_unmap()
404 pkvm_handle_t handle = kvm->arch.pkvm.handle; in pkvm_pgtable_stage2_wrprotect()
433 pkvm_handle_t handle = kvm->arch.pkvm.handle; in pkvm_pgtable_stage2_test_clear_young()
/linux-6.15/arch/arm64/include/asm/
H A Dkvm_host.h248 typedef unsigned int pkvm_handle_t; typedef
251 pkvm_handle_t handle;