Home
last modified time | relevance | path

Searched refs:vcpu_is_preempted (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/arch/arm64/include/asm/
Dspinlock.h21 #define vcpu_is_preempted vcpu_is_preempted macro
22 static inline bool vcpu_is_preempted(int cpu) in vcpu_is_preempted() function
/linux-6.6.21/arch/powerpc/include/asm/
Dparavirt.h105 #define vcpu_is_preempted vcpu_is_preempted macro
106 static inline bool vcpu_is_preempted(int cpu) in vcpu_is_preempted() function
/linux-6.6.21/arch/x86/include/asm/
Dqspinlock.h60 #define vcpu_is_preempted vcpu_is_preempted macro
61 static inline bool vcpu_is_preempted(long cpu) in vcpu_is_preempted() function
Dparavirt_types.h237 struct paravirt_callee_save vcpu_is_preempted; member
Dparavirt.h608 return PVOP_ALT_CALLEE1(bool, lock.vcpu_is_preempted, cpu, in pv_vcpu_is_preempted()
/linux-6.6.21/arch/x86/kernel/
Dparavirt-spinlocks.c32 return pv_ops.lock.vcpu_is_preempted.func == in pv_is_native_vcpu_is_preempted()
Dparavirt.c308 .lock.vcpu_is_preempted =
Dkvm.c640 if (!idle_cpu(cpu) && vcpu_is_preempted(cpu)) { in kvm_smp_send_call_func_ipi()
823 pv_ops.lock.vcpu_is_preempted = in kvm_guest_init()
/linux-6.6.21/arch/x86/hyperv/
Dhv_spinlock.c84 pv_ops.lock.vcpu_is_preempted = PV_CALLEE_SAVE(hv_vcpu_is_preempted); in hv_init_spinlocks()
/linux-6.6.21/arch/s390/include/asm/
Dspinlock.h25 #define vcpu_is_preempted arch_vcpu_is_preempted macro
/linux-6.6.21/arch/x86/xen/
Dspinlock.c144 pv_ops.lock.vcpu_is_preempted = PV_CALLEE_SAVE(xen_vcpu_stolen); in xen_init_spinlocks()
/linux-6.6.21/kernel/locking/
Dosq_lock.c144 vcpu_is_preempted(node_cpu(node->prev)))) in osq_lock()
/linux-6.6.21/arch/powerpc/lib/
Dqspinlock.c374 if (vcpu_is_preempted(owner)) { in propagate_yield_cpu()
709 if (vcpu_is_preempted(next_cpu)) in queued_spin_lock_mcs_queue()
/linux-6.6.21/arch/s390/kvm/
Ddiag.c191 if (!vcpu_is_preempted(tcpu_cpu)) in __diag_time_slice_end_directed()
/linux-6.6.21/include/linux/
Dsched.h2295 #ifndef vcpu_is_preempted
2296 static inline bool vcpu_is_preempted(int cpu) in vcpu_is_preempted() function
2316 return READ_ONCE(owner->on_cpu) && !vcpu_is_preempted(task_cpu(owner)); in owner_on_cpu()
/linux-6.6.21/kernel/sched/
Dcore.c7355 if (vcpu_is_preempted(cpu)) in available_idle_cpu()