Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/xen/
Denlighten.c124 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()
Dtime.c244 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()
489 if (HYPERVISOR_vcpu_op(VCPUOP_stop_periodic_timer, xen_vcpu_nr(cpu), in xen_time_init()
590 xen_vcpu_nr(0)); in xen_hvm_init_time_ops()
Dsmp_pv.c312 if (HYPERVISOR_vcpu_op(VCPUOP_initialise, xen_vcpu_nr(cpu), ctxt)) in cpu_initialize_context()
346 rc = HYPERVISOR_vcpu_op(VCPUOP_up, xen_vcpu_nr(cpu), NULL); in xen_pv_cpu_up()
371 xen_vcpu_nr(cpu), NULL)) { in xen_pv_cpu_die()
387 HYPERVISOR_vcpu_op(VCPUOP_down, xen_vcpu_nr(smp_processor_id()), NULL); in xen_pv_play_dead()
428 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.1.9/drivers/xen/
Dtime.c168 xen_vcpu_nr(cpu), &area)) in xen_setup_runstate_info()
Devtchn.c453 bind_virq.vcpu = xen_vcpu_nr(0); in evtchn_ioctl()
/linux-6.1.9/drivers/xen/events/
Devents_base.c1280 bind_ipi.vcpu = xen_vcpu_nr(cpu); in bind_ipi_to_irq()
1347 if (status.u.virq == virq && status.vcpu == xen_vcpu_nr(cpu)) { in find_virq()
1391 bind_virq.vcpu = xen_vcpu_nr(cpu); in bind_virq_to_irq()
1646 int rc = HYPERVISOR_vcpu_op(VCPUOP_send_nmi, xen_vcpu_nr(cpu), in xen_send_IPI_one()
1804 bind_vcpu.vcpu = xen_vcpu_nr(tcpu); in xen_rebind_evtchn_to_cpu()
1993 bind_virq.vcpu = xen_vcpu_nr(cpu); in restore_cpu_virqs()
2019 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.1.9/include/xen/
Dxen-ops.h16 static inline uint32_t xen_vcpu_nr(int cpu) in xen_vcpu_nr() function
/linux-6.1.9/arch/arm/xen/
Denlighten.c162 err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, xen_vcpu_nr(cpu), in xen_starting_cpu()