Searched refs:xen_vcpu_nr (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/arch/x86/xen/ |
D | enlighten.c | 155 if (xen_vcpu_nr(cpu) == XEN_VCPU_ID_INVALID) in xen_vcpu_restore() 160 xen_vcpu_nr(cpu), NULL) > 0; in xen_vcpu_restore() 163 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(cpu), NULL)) in xen_vcpu_restore() 183 HYPERVISOR_vcpu_op(VCPUOP_up, xen_vcpu_nr(cpu), NULL)) in xen_vcpu_restore() 190 if (xen_vcpu_nr(cpu) < MAX_VIRT_CPUS) { in xen_vcpu_info_reset() 192 &HYPERVISOR_shared_info->vcpu_info[xen_vcpu_nr(cpu)]; in xen_vcpu_info_reset() 239 xen_vcpu_nr(cpu), &info); in xen_vcpu_setup()
|
D | time.c | 244 if (HYPERVISOR_vcpu_op(VCPUOP_stop_singleshot_timer, xen_vcpu_nr(cpu), in xen_vcpuop_shutdown() 246 HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, xen_vcpu_nr(cpu), in xen_vcpuop_shutdown() 257 if (HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, xen_vcpu_nr(cpu), in xen_vcpuop_set_oneshot() 277 ret = HYPERVISOR_vcpu_op(VCPUOP_set_singleshot_timer, xen_vcpu_nr(cpu), in xen_vcpuop_set_next_event() 377 xen_vcpu_nr(cpu), NULL)) in xen_timer_resume() 494 if (HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, xen_vcpu_nr(cpu), in xen_time_init()
|
D | smp_pv.c | 339 if (HYPERVISOR_vcpu_op(VCPUOP_initialise, xen_vcpu_nr(cpu), ctxt)) in cpu_initialize_context() 373 rc = HYPERVISOR_vcpu_op(VCPUOP_up, xen_vcpu_nr(cpu), NULL); in xen_pv_cpu_up() 398 xen_vcpu_nr(cpu), NULL)) { in xen_pv_cpu_die() 414 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(smp_processor_id()), NULL); in xen_pv_play_dead() 455 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(cpu), NULL); in stop_self()
|
D | irq.c | 114 xen_vcpu_nr(smp_processor_id()), NULL); in xen_halt()
|
D | smp.c | 135 if (xen_vcpu_nr(cpu) < MAX_VIRT_CPUS) in xen_smp_cpus_done()
|
/Linux-v5.10/drivers/xen/events/ |
D | events_base.c | 1159 bind_ipi.vcpu = xen_vcpu_nr(cpu); in bind_ipi_to_irq() 1222 if (status.u.virq == virq && status.vcpu == xen_vcpu_nr(cpu)) { in find_virq() 1266 bind_virq.vcpu = xen_vcpu_nr(cpu); in bind_virq_to_irq() 1518 int rc = HYPERVISOR_vcpu_op(VCPUOP_send_nmi, xen_vcpu_nr(cpu), in xen_send_IPI_one() 1671 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu() 1825 bind_virq.vcpu = xen_vcpu_nr(cpu); in restore_cpu_virqs() 1850 bind_ipi.vcpu = xen_vcpu_nr(cpu); in restore_cpu_ipis()
|
D | events_fifo.c | 116 init_control.vcpu = xen_vcpu_nr(cpu); in init_control_block()
|
/Linux-v5.10/drivers/xen/ |
D | time.c | 167 xen_vcpu_nr(cpu), &area)) in xen_setup_runstate_info()
|
D | evtchn.c | 478 bind_virq.vcpu = xen_vcpu_nr(0); in evtchn_ioctl()
|
/Linux-v5.10/include/xen/ |
D | xen-ops.h | 15 static inline uint32_t xen_vcpu_nr(int cpu) in xen_vcpu_nr() function
|
/Linux-v5.10/arch/arm/xen/ |
D | enlighten.c | 156 err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, xen_vcpu_nr(cpu), in xen_starting_cpu()
|