Searched refs:pkvm_handle_t (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | pkvm.c | 202 static unsigned int vm_handle_to_idx(pkvm_handle_t handle) in vm_handle_to_idx() 207 static pkvm_handle_t idx_to_vm_handle(unsigned int idx) in idx_to_vm_handle() 227 BUILD_BUG_ON((u64)HANDLE_OFFSET + KVM_MAX_PVMS > (pkvm_handle_t)-1); in pkvm_hyp_vm_table_init() 235 struct pkvm_hyp_vm *get_vm_by_handle(pkvm_handle_t handle) in get_vm_by_handle() 251 struct pkvm_hyp_vcpu *pkvm_load_hyp_vcpu(pkvm_handle_t handle, in pkvm_load_hyp_vcpu() 307 struct pkvm_hyp_vm *get_pkvm_hyp_vm(pkvm_handle_t handle) in get_pkvm_hyp_vm() 327 struct pkvm_hyp_vm *get_np_pkvm_hyp_vm(pkvm_handle_t handle) in get_np_pkvm_hyp_vm() 426 unsigned int nr_vcpus, pkvm_handle_t handle) in init_pkvm_hyp_vm() 588 static int __insert_vm_table_entry(pkvm_handle_t handle, in __insert_vm_table_entry() 620 static int insert_vm_table_entry(pkvm_handle_t handle, in insert_vm_table_entry() [all …]
|
| H A D | hyp-main.c | 171 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_vcpu_load() 292 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_host_unshare_guest() 326 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_host_wrprotect_guest() 344 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_host_test_clear_young_guest() 425 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_tlb_flush_vmid() 553 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_unreserve_vm() 570 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_init_vcpu() 596 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_reclaim_dying_guest_page() 604 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_start_teardown_vm() 611 DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1); in handle___pkvm_finalize_teardown_vm()
|
| H A D | mem_protect.c | 631 pkvm_handle_t handle = vm->kvm.arch.pkvm.handle; in host_stage2_encode_gfn_meta() 633 BUILD_BUG_ON((pkvm_handle_t)-1 > KVM_HOST_PTE_OWNER_GUEST_HANDLE_MASK); in host_stage2_encode_gfn_meta() 643 pkvm_handle_t handle; in host_stage2_decode_gfn_meta()
|
| /linux/arch/arm64/include/asm/ |
| H A D | kvm_host.h | 254 typedef u16 pkvm_handle_t; typedef 257 pkvm_handle_t handle;
|