Searched refs:xen_vcpu_nr (Results 1 – 10 of 10) sorted by relevance
/linux/arch/x86/xen/ |
H A D | enlighten.c | 123 if (xen_vcpu_nr(cpu) == XEN_VCPU_ID_INVALID) in xen_vcpu_restore() 128 xen_vcpu_nr(cpu), NULL) > 0; in xen_vcpu_restore() 131 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(cpu), NULL)) in xen_vcpu_restore() 140 HYPERVISOR_vcpu_op(VCPUOP_up, xen_vcpu_nr(cpu), NULL)) in xen_vcpu_restore() 147 if (xen_vcpu_nr(cpu) < MAX_VIRT_CPUS) { in xen_vcpu_info_reset() 149 &HYPERVISOR_shared_info->vcpu_info[xen_vcpu_nr(cpu)]; in xen_vcpu_info_reset() 192 err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, xen_vcpu_nr(cpu), in xen_vcpu_setup()
|
H A D | time.c | 252 if (HYPERVISOR_vcpu_op(VCPUOP_stop_singleshot_timer, xen_vcpu_nr(cpu), in xen_vcpuop_shutdown() 254 HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, xen_vcpu_nr(cpu), in xen_vcpuop_shutdown() 265 if (HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, xen_vcpu_nr(cpu), in xen_vcpuop_set_oneshot() 285 ret = HYPERVISOR_vcpu_op(VCPUOP_set_singleshot_timer, xen_vcpu_nr(cpu), in xen_vcpuop_set_next_event() 385 xen_vcpu_nr(cpu), NULL)) in xen_timer_resume() 529 if (HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, xen_vcpu_nr(cpu), in xen_time_init() 630 xen_vcpu_nr(0)); in xen_hvm_init_time_ops()
|
H A D | smp_pv.c | 283 if (HYPERVISOR_vcpu_op(VCPUOP_initialise, xen_vcpu_nr(cpu), ctxt)) in cpu_initialize_context() 314 BUG_ON(HYPERVISOR_vcpu_op(VCPUOP_up, xen_vcpu_nr(cpu), NULL)); in xen_pv_kick_ap() 339 while (HYPERVISOR_vcpu_op(VCPUOP_is_up, xen_vcpu_nr(cpu), NULL)) { in xen_pv_cpu_die() 356 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(smp_processor_id()), NULL); in xen_pv_play_dead() 393 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(cpu), NULL); in stop_self()
|
H A D | irq.c | 38 xen_vcpu_nr(smp_processor_id()), NULL); in xen_halt()
|
/linux/drivers/xen/ |
H A D | time.c | 168 xen_vcpu_nr(cpu), &area)) in xen_setup_runstate_info()
|
H A D | evtchn.c | 459 bind_virq.vcpu = xen_vcpu_nr(0); in evtchn_ioctl()
|
/linux/drivers/xen/events/ |
H A D | events_base.c | 1270 bind_ipi.vcpu = xen_vcpu_nr(cpu); in bind_ipi_to_irq() 1338 if (status.u.virq == virq && status.vcpu == xen_vcpu_nr(cpu)) { in find_virq() 1383 bind_virq.vcpu = xen_vcpu_nr(cpu); in bind_virq_to_irq() 1634 int rc = HYPERVISOR_vcpu_op(VCPUOP_send_nmi, xen_vcpu_nr(cpu), in xen_send_IPI_one() 1783 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu() 1976 bind_virq.vcpu = xen_vcpu_nr(cpu); in restore_cpu_virqs() 2004 bind_ipi.vcpu = xen_vcpu_nr(cpu); in restore_cpu_ipis()
|
H A D | events_fifo.c | 116 init_control.vcpu = xen_vcpu_nr(cpu); in init_control_block()
|
/linux/include/xen/ |
H A D | xen-ops.h | 16 static inline uint32_t xen_vcpu_nr(int cpu) in xen_vcpu_nr() function
|
/linux/arch/arm/xen/ |
H A D | enlighten.c | 162 err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, xen_vcpu_nr(cpu), in xen_starting_cpu()
|