Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dparavirt.h88 #define vcpu_is_preempted vcpu_is_preempted macro
89 static inline bool vcpu_is_preempted(int cpu) in vcpu_is_preempted() function
/kernel/linux/linux-5.10/arch/x86/kernel/
Dparavirt_patch.c57 unsigned char vcpu_is_preempted[2]; member
61 .vcpu_is_preempted = { 0x31, 0xc0 }, // xor %eax, %eax
96 case PARAVIRT_PATCH(lock.vcpu_is_preempted): in native_patch()
98 return PATCH(lock, vcpu_is_preempted, insn_buff, len); in native_patch()
Dparavirt-spinlocks.c32 return pv_ops.lock.vcpu_is_preempted.func == in pv_is_native_vcpu_is_preempted()
Dkvm.c607 if (vcpu_is_preempted(cpu)) { in kvm_smp_send_call_func_ipi()
1006 pv_ops.lock.vcpu_is_preempted = in kvm_spinlock_init()
Dparavirt.c410 .lock.vcpu_is_preempted =
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dqspinlock.h59 #define vcpu_is_preempted vcpu_is_preempted macro
60 static inline bool vcpu_is_preempted(long cpu) in vcpu_is_preempted() function
Dparavirt_types.h298 struct paravirt_callee_save vcpu_is_preempted; member
Dparavirt.h574 return PVOP_CALLEE1(bool, lock.vcpu_is_preempted, cpu); in pv_vcpu_is_preempted()
/kernel/linux/linux-5.10/arch/x86/hyperv/
Dhv_spinlock.c80 pv_ops.lock.vcpu_is_preempted = PV_CALLEE_SAVE(hv_vcpu_is_preempted); in hv_init_spinlocks()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dspinlock.h25 #define vcpu_is_preempted arch_vcpu_is_preempted macro
/kernel/linux/linux-5.10/arch/x86/xen/
Dspinlock.c144 pv_ops.lock.vcpu_is_preempted = PV_CALLEE_SAVE(xen_vcpu_stolen); in xen_init_spinlocks()
/kernel/linux/linux-5.10/kernel/locking/
Dosq_lock.c144 vcpu_is_preempted(node_cpu(node->prev)))) in osq_lock()
Dmutex.c579 vcpu_is_preempted(task_cpu(owner))) { in mutex_spin_on_owner()
615 retval = owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in mutex_can_spin_on_owner()
Drwsem.c652 return owner->on_cpu && !vcpu_is_preempted(task_cpu(owner)); in owner_on_cpu()
/kernel/linux/linux-5.10/include/linux/
Dsched.h2099 #ifndef vcpu_is_preempted
2100 static inline bool vcpu_is_preempted(int cpu) in vcpu_is_preempted() function
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c5332 if (vcpu_is_preempted(cpu)) in available_idle_cpu()