Searched refs:xen_vcpu_nr (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/arch/x86/xen/ |
D | enlighten.c | 124 if (xen_vcpu_nr(cpu) == XEN_VCPU_ID_INVALID) in xen_vcpu_restore() 129 xen_vcpu_nr(cpu), NULL) > 0; in xen_vcpu_restore() 132 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(cpu), NULL)) in xen_vcpu_restore() 141 HYPERVISOR_vcpu_op(VCPUOP_up, xen_vcpu_nr(cpu), NULL)) in xen_vcpu_restore() 148 if (xen_vcpu_nr(cpu) < MAX_VIRT_CPUS) { in xen_vcpu_info_reset() 150 &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()
|
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()
|
D | smp_pv.c | 311 if (HYPERVISOR_vcpu_op(VCPUOP_initialise, xen_vcpu_nr(cpu), ctxt)) in cpu_initialize_context() 341 BUG_ON(HYPERVISOR_vcpu_op(VCPUOP_up, xen_vcpu_nr(cpu), NULL)); in xen_pv_kick_ap() 366 while (HYPERVISOR_vcpu_op(VCPUOP_is_up, xen_vcpu_nr(cpu), NULL)) { in xen_pv_cpu_die() 383 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(smp_processor_id()), NULL); in xen_pv_play_dead() 420 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(cpu), NULL); in stop_self()
|
D | irq.c | 38 xen_vcpu_nr(smp_processor_id()), NULL); in xen_halt()
|
/Linux-v6.6/drivers/xen/ |
D | time.c | 168 xen_vcpu_nr(cpu), &area)) in xen_setup_runstate_info()
|
D | evtchn.c | 453 bind_virq.vcpu = xen_vcpu_nr(0); in evtchn_ioctl()
|
/Linux-v6.6/drivers/xen/events/ |
D | events_base.c | 1271 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() 1382 bind_virq.vcpu = xen_vcpu_nr(cpu); in bind_virq_to_irq() 1638 int rc = HYPERVISOR_vcpu_op(VCPUOP_send_nmi, xen_vcpu_nr(cpu), in xen_send_IPI_one() 1789 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu() 1978 bind_virq.vcpu = xen_vcpu_nr(cpu); in restore_cpu_virqs() 2004 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-v6.6/include/xen/ |
D | xen-ops.h | 16 static inline uint32_t xen_vcpu_nr(int cpu) in xen_vcpu_nr() function
|
/Linux-v6.6/arch/arm/xen/ |
D | enlighten.c | 162 err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, xen_vcpu_nr(cpu), in xen_starting_cpu()
|