Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/xen/
Denlighten.c123 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()
Dtime.c252 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()
Dsmp_pv.c283 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()
Dirq.c38 xen_vcpu_nr(smp_processor_id()), NULL); in xen_halt()
/linux-6.12.1/drivers/xen/
Dtime.c168 xen_vcpu_nr(cpu), &area)) in xen_setup_runstate_info()
Devtchn.c459 bind_virq.vcpu = xen_vcpu_nr(0); in evtchn_ioctl()
/linux-6.12.1/drivers/xen/events/
Devents_base.c1270 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()
Devents_fifo.c116 init_control.vcpu = xen_vcpu_nr(cpu); in init_control_block()
/linux-6.12.1/include/xen/
Dxen-ops.h16 static inline uint32_t xen_vcpu_nr(int cpu) in xen_vcpu_nr() function
/linux-6.12.1/arch/arm/xen/
Denlighten.c162 err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, xen_vcpu_nr(cpu), in xen_starting_cpu()