Searched refs:host_context (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/riscv/kernel/ |
D | asm-offsets.c | 172 OFFSET(KVM_ARCH_HOST_ZERO, kvm_vcpu_arch, host_context.zero); in asm_offsets() 173 OFFSET(KVM_ARCH_HOST_RA, kvm_vcpu_arch, host_context.ra); in asm_offsets() 174 OFFSET(KVM_ARCH_HOST_SP, kvm_vcpu_arch, host_context.sp); in asm_offsets() 175 OFFSET(KVM_ARCH_HOST_GP, kvm_vcpu_arch, host_context.gp); in asm_offsets() 176 OFFSET(KVM_ARCH_HOST_TP, kvm_vcpu_arch, host_context.tp); in asm_offsets() 177 OFFSET(KVM_ARCH_HOST_T0, kvm_vcpu_arch, host_context.t0); in asm_offsets() 178 OFFSET(KVM_ARCH_HOST_T1, kvm_vcpu_arch, host_context.t1); in asm_offsets() 179 OFFSET(KVM_ARCH_HOST_T2, kvm_vcpu_arch, host_context.t2); in asm_offsets() 180 OFFSET(KVM_ARCH_HOST_S0, kvm_vcpu_arch, host_context.s0); in asm_offsets() 181 OFFSET(KVM_ARCH_HOST_S1, kvm_vcpu_arch, host_context.s1); in asm_offsets() [all …]
|
/linux-6.12.1/arch/riscv/kvm/ |
D | vcpu_vector.c | 81 vcpu->arch.host_context.vector.datap = kzalloc(riscv_v_vsize, GFP_KERNEL); in kvm_riscv_vcpu_alloc_vector_context() 82 if (!vcpu->arch.host_context.vector.datap) in kvm_riscv_vcpu_alloc_vector_context() 91 kfree(vcpu->arch.host_context.vector.datap); in kvm_riscv_vcpu_free_vector_context()
|
D | vcpu.c | 590 kvm_riscv_vcpu_host_fp_save(&vcpu->arch.host_context); in kvm_arch_vcpu_load() 593 kvm_riscv_vcpu_host_vector_save(&vcpu->arch.host_context); in kvm_arch_vcpu_load() 614 kvm_riscv_vcpu_host_fp_restore(&vcpu->arch.host_context); in kvm_arch_vcpu_put() 619 kvm_riscv_vcpu_host_vector_restore(&vcpu->arch.host_context); in kvm_arch_vcpu_put()
|
/linux-6.12.1/drivers/misc/vmw_vmci/ |
D | vmci_host.c | 91 static struct vmci_ctx *host_context; variable 180 poll_wait(filp, &context->host_context.wait_queue, in vmci_host_poll() 990 host_context = vmci_ctx_create(VMCI_HOST_CONTEXT_ID, in vmci_host_init() 993 if (IS_ERR(host_context)) { in vmci_host_init() 994 error = PTR_ERR(host_context); in vmci_host_init() 1007 vmci_ctx_destroy(host_context); in vmci_host_init() 1023 vmci_ctx_destroy(host_context); in vmci_host_exit()
|
D | vmci_context.h | 77 struct vmci_host host_context; member
|
D | vmci_context.c | 121 init_waitqueue_head(&context->host_context.wait_queue); in vmci_ctx_create() 358 wake_up(&context->host_context.wait_queue); in vmci_ctx_enqueue_datagram() 1099 wake_up(&dst_context->host_context.wait_queue); in vmci_ctx_notify_dbell()
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | kvm_host.h | 214 struct kvm_cpu_context host_context; member
|