Home
last modified time | relevance | path

Searched refs:vcpu (Results 1 – 10 of 10) sorted by relevance

/drivers/s390/crypto/
Dvfio_ap_ops.c276 static int handle_pqap(struct kvm_vcpu *vcpu) in handle_pqap() argument
286 if (!(vcpu->arch.sie_block->eca & ECA_AIV)) in handle_pqap()
289 apqn = vcpu->run->s.regs.gprs[0] & 0xffff; in handle_pqap()
292 if (!vcpu->kvm->arch.crypto.pqap_hook) in handle_pqap()
294 matrix_mdev = container_of(vcpu->kvm->arch.crypto.pqap_hook, in handle_pqap()
301 status = vcpu->run->s.regs.gprs[1]; in handle_pqap()
306 vcpu->run->s.regs.gprs[2]); in handle_pqap()
311 memcpy(&vcpu->run->s.regs.gprs[1], &qstatus, sizeof(qstatus)); in handle_pqap()
312 vcpu->run->s.regs.gprs[1] >>= 32; in handle_pqap()
/drivers/xen/
Dtime.c147 bool xen_vcpu_stolen(int vcpu) in xen_vcpu_stolen() argument
149 return per_cpu(xen_runstate, vcpu).state == RUNSTATE_runnable; in xen_vcpu_stolen()
Devtchn.c478 bind_virq.vcpu = xen_vcpu_nr(0); in evtchn_ioctl()
/drivers/irqchip/
Dirq-gic-v3.c637 static int gic_irq_set_vcpu_affinity(struct irq_data *d, void *vcpu) in gic_irq_set_vcpu_affinity() argument
642 if (vcpu) in gic_irq_set_vcpu_affinity()
2035 gic_v3_kvm_info.vcpu = r; in gic_of_setup_kvm_info()
2346 struct resource *vcpu = &gic_v3_kvm_info.vcpu; in gic_acpi_setup_kvm_info() local
2348 vcpu->flags = IORESOURCE_MEM; in gic_acpi_setup_kvm_info()
2349 vcpu->start = acpi_data.vcpu_base; in gic_acpi_setup_kvm_info()
2350 vcpu->end = vcpu->start + ACPI_GICV2_VCPU_MEM_SIZE - 1; in gic_acpi_setup_kvm_info()
Dirq-gic.c318 static int gic_irq_set_vcpu_affinity(struct irq_data *d, void *vcpu) in gic_irq_set_vcpu_affinity() argument
324 if (vcpu) in gic_irq_set_vcpu_affinity()
1499 struct resource *vcpu_res = &gic_v2_kvm_info.vcpu; in gic_of_setup_kvm_info()
1657 struct resource *vcpu_res = &gic_v2_kvm_info.vcpu; in gic_acpi_setup_kvm_info()
/drivers/xen/events/
Devents_base.c1215 bind_ipi.vcpu = xen_vcpu_nr(cpu); in bind_ipi_to_irq()
1278 if (status.u.virq == virq && status.vcpu == xen_vcpu_nr(cpu)) { in find_virq()
1322 bind_virq.vcpu = xen_vcpu_nr(cpu); in bind_virq_to_irq()
1736 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu()
1924 bind_virq.vcpu = xen_vcpu_nr(cpu); in restore_cpu_virqs()
1949 bind_ipi.vcpu = xen_vcpu_nr(cpu); in restore_cpu_ipis()
Devents_fifo.c116 init_control.vcpu = xen_vcpu_nr(cpu); in init_control_block()
/drivers/iommu/
Dfsl_pamu.c509 u32 get_stash_id(u32 stash_dest_hint, u32 vcpu) in get_stash_id() argument
537 if (be32_to_cpup(&prop[i]) == vcpu) { in get_stash_id()
576 stash_dest_hint, vcpu); in get_stash_id()
Dfsl_pamu.h394 u32 get_stash_id(u32 stash_dest_hint, u32 vcpu);
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1754 static void kvmgt_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, in kvmgt_page_track_write() argument