Home
last modified time | relevance | path

Searched refs:vcpu_info (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/xen/events/
Devents_2l.c121 struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); in evtchn_2l_unmask() local
130 BM(&vcpu_info->evtchn_pending_sel))) in evtchn_2l_unmask()
131 vcpu_info->evtchn_upcall_pending = 1; in evtchn_2l_unmask()
171 struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); in evtchn_2l_handle_events() local
188 pending_words = xchg_xen_ulong(&vcpu_info->evtchn_pending_sel, 0); in evtchn_2l_handle_events()
273 struct vcpu_info *v; in xen_debug_interrupt()
Devents_base.c1220 struct vcpu_info *vcpu_info = __this_cpu_read(xen_vcpu); in __xen_evtchn_do_upcall() local
1225 vcpu_info->evtchn_upcall_pending = 0; in __xen_evtchn_do_upcall()
1236 } while (count != 1 || vcpu_info->evtchn_upcall_pending); in __xen_evtchn_do_upcall()
/Linux-v5.4/arch/x86/xen/
Dirq.c29 struct vcpu_info *vcpu; in xen_save_fl()
47 struct vcpu_info *vcpu; in xen_restore_fl()
80 struct vcpu_info *vcpu; in xen_irq_enable()
Denlighten.c41 DEFINE_PER_CPU(struct vcpu_info *, xen_vcpu);
48 DEFINE_PER_CPU(struct vcpu_info, xen_vcpu_info);
192 &HYPERVISOR_shared_info->vcpu_info[xen_vcpu_nr(cpu)]; in xen_vcpu_info_reset()
203 struct vcpu_info *vcpup; in xen_vcpu_setup()
Dxen-ops.h25 DECLARE_PER_CPU(struct vcpu_info, xen_vcpu_info);
Dtime.c40 &HYPERVISOR_shared_info->vcpu_info[0].time; in xen_tsc_khz()
/Linux-v5.4/arch/x86/kernel/
Dasm-offsets.c77 OFFSET(XEN_vcpu_info_mask, vcpu_info, evtchn_upcall_mask); in common()
78 OFFSET(XEN_vcpu_info_pending, vcpu_info, evtchn_upcall_pending); in common()
79 OFFSET(XEN_vcpu_info_arch_cr2, vcpu_info, arch.cr2); in common()
/Linux-v5.4/include/xen/interface/
Dxen.h522 struct vcpu_info { struct
560 struct vcpu_info vcpu_info[MAX_VIRT_CPUS]; argument
/Linux-v5.4/arch/arm/xen/
Denlighten.c49 DEFINE_PER_CPU(struct vcpu_info *, xen_vcpu);
50 static struct vcpu_info __percpu *xen_vcpu_info;
139 struct vcpu_info *vcpup; in xen_starting_cpu()
357 xen_vcpu_info = alloc_percpu(struct vcpu_info); in xen_guest_init()
/Linux-v5.4/include/xen/
Dxen-ops.h12 DECLARE_PER_CPU(struct vcpu_info *, xen_vcpu);
/Linux-v5.4/include/linux/
Dirq.h490 int (*irq_set_vcpu_affinity)(struct irq_data *data, void *vcpu_info);
554 extern int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info);
626 void *vcpu_info);
/Linux-v5.4/kernel/irq/
Dchip.c1443 int irq_chip_set_vcpu_affinity_parent(struct irq_data *data, void *vcpu_info) in irq_chip_set_vcpu_affinity_parent() argument
1447 return data->chip->irq_set_vcpu_affinity(data, vcpu_info); in irq_chip_set_vcpu_affinity_parent()
Dmanage.c474 int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info) in irq_set_vcpu_affinity() argument
498 ret = chip->irq_set_vcpu_affinity(data, vcpu_info); in irq_set_vcpu_affinity()
/Linux-v5.4/arch/x86/kvm/
Dsvm.c5237 struct vcpu_data *vcpu_info, struct vcpu_svm **svm) in get_pi_vcpu_info() argument
5254 vcpu_info->pi_desc_addr = __sme_set(page_to_phys((*svm)->avic_backing_page)); in get_pi_vcpu_info()
5255 vcpu_info->vector = irq.vector; in get_pi_vcpu_info()
5288 struct vcpu_data vcpu_info; in svm_update_pi_irte() local
5301 if (!get_pi_vcpu_info(kvm, e, &vcpu_info, &svm) && set && in svm_update_pi_irte()
5311 pi.vcpu_data = &vcpu_info; in svm_update_pi_irte()
5353 e->gsi, vcpu_info.vector, in svm_update_pi_irte()
5354 vcpu_info.pi_desc_addr, set); in svm_update_pi_irte()
/Linux-v5.4/drivers/irqchip/
Dirq-gic-v3-its.c1413 static int its_irq_set_vcpu_affinity(struct irq_data *d, void *vcpu_info) in its_irq_set_vcpu_affinity() argument
1416 struct its_cmd_info *info = vcpu_info; in its_irq_set_vcpu_affinity()
2887 static int its_vpe_set_vcpu_affinity(struct irq_data *d, void *vcpu_info) in its_vpe_set_vcpu_affinity() argument
2890 struct its_cmd_info *info = vcpu_info; in its_vpe_set_vcpu_affinity()
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.c7431 struct vcpu_data vcpu_info; in vmx_update_pi_irte() local
7485 vcpu_info.pi_desc_addr = __pa(vcpu_to_pi_desc(vcpu)); in vmx_update_pi_irte()
7486 vcpu_info.vector = irq.vector; in vmx_update_pi_irte()
7489 vcpu_info.vector, vcpu_info.pi_desc_addr, set); in vmx_update_pi_irte()
7492 ret = irq_set_vcpu_affinity(host_irq, &vcpu_info); in vmx_update_pi_irte()
/Linux-v5.4/drivers/iommu/
Damd_iommu.c4445 static int amd_ir_set_vcpu_affinity(struct irq_data *data, void *vcpu_info) in amd_ir_set_vcpu_affinity() argument
4449 struct amd_iommu_pi_data *pi_data = vcpu_info; in amd_ir_set_vcpu_affinity()