PREEMPT_NEED_RESCHED 8 arch/arm64/include/asm/preempt.h #define PREEMPT_ENABLED (PREEMPT_NEED_RESCHED) PREEMPT_NEED_RESCHED 13 arch/s390/include/asm/preempt.h #define PREEMPT_ENABLED (0 + PREEMPT_NEED_RESCHED) PREEMPT_NEED_RESCHED 17 arch/s390/include/asm/preempt.h return READ_ONCE(S390_lowcore.preempt_count) & ~PREEMPT_NEED_RESCHED; PREEMPT_NEED_RESCHED 26 arch/s390/include/asm/preempt.h new = (old & PREEMPT_NEED_RESCHED) | PREEMPT_NEED_RESCHED 27 arch/s390/include/asm/preempt.h (pc & ~PREEMPT_NEED_RESCHED); PREEMPT_NEED_RESCHED 40 arch/s390/include/asm/preempt.h __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); PREEMPT_NEED_RESCHED 45 arch/s390/include/asm/preempt.h __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); PREEMPT_NEED_RESCHED 50 arch/s390/include/asm/preempt.h return !(READ_ONCE(S390_lowcore.preempt_count) & PREEMPT_NEED_RESCHED); PREEMPT_NEED_RESCHED 18 arch/x86/include/asm/preempt.h #define PREEMPT_ENABLED (0 + PREEMPT_NEED_RESCHED) PREEMPT_NEED_RESCHED 26 arch/x86/include/asm/preempt.h return raw_cpu_read_4(__preempt_count) & ~PREEMPT_NEED_RESCHED; PREEMPT_NEED_RESCHED 35 arch/x86/include/asm/preempt.h new = (old & PREEMPT_NEED_RESCHED) | PREEMPT_NEED_RESCHED 36 arch/x86/include/asm/preempt.h (pc & ~PREEMPT_NEED_RESCHED); PREEMPT_NEED_RESCHED 60 arch/x86/include/asm/preempt.h raw_cpu_and_4(__preempt_count, ~PREEMPT_NEED_RESCHED); PREEMPT_NEED_RESCHED 65 arch/x86/include/asm/preempt.h raw_cpu_or_4(__preempt_count, PREEMPT_NEED_RESCHED); PREEMPT_NEED_RESCHED 70 arch/x86/include/asm/preempt.h return !(raw_cpu_read_4(__preempt_count) & PREEMPT_NEED_RESCHED);