Home
last modified time | relevance | path

Searched refs:PREEMPT_NEED_RESCHED (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/x86/include/asm/
Dpreempt.h15 #define PREEMPT_ENABLED (0 + PREEMPT_NEED_RESCHED)
23 return raw_cpu_read_4(__preempt_count) & ~PREEMPT_NEED_RESCHED; in preempt_count()
32 new = (old & PREEMPT_NEED_RESCHED) | in preempt_count_set()
33 (pc & ~PREEMPT_NEED_RESCHED); in preempt_count_set()
57 raw_cpu_and_4(__preempt_count, ~PREEMPT_NEED_RESCHED); in set_preempt_need_resched()
62 raw_cpu_or_4(__preempt_count, PREEMPT_NEED_RESCHED); in clear_preempt_need_resched()
67 return !(raw_cpu_read_4(__preempt_count) & PREEMPT_NEED_RESCHED); in test_preempt_need_resched()
/Linux-v4.19/arch/s390/include/asm/
Dpreempt.h11 #define PREEMPT_ENABLED (0 + PREEMPT_NEED_RESCHED)
15 return READ_ONCE(S390_lowcore.preempt_count) & ~PREEMPT_NEED_RESCHED; in preempt_count()
24 new = (old & PREEMPT_NEED_RESCHED) | in preempt_count_set()
25 (pc & ~PREEMPT_NEED_RESCHED); in preempt_count_set()
38 __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); in set_preempt_need_resched()
43 __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); in clear_preempt_need_resched()
48 return !(READ_ONCE(S390_lowcore.preempt_count) & PREEMPT_NEED_RESCHED); in test_preempt_need_resched()
/Linux-v4.19/include/linux/
Dpreempt.h57 #define PREEMPT_NEED_RESCHED 0x80000000 macro
/Linux-v4.19/Documentation/trace/
Dftrace.rst887 - 'N' both TIF_NEED_RESCHED and PREEMPT_NEED_RESCHED is set,
889 - 'p' only PREEMPT_NEED_RESCHED is set,