Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/asm/
Dpreempt.h12 #define PREEMPT_NEED_RESCHED 0x80000000 macro
18 #define PREEMPT_ENABLED (0 + PREEMPT_NEED_RESCHED)
26 return raw_cpu_read_4(__preempt_count) & ~PREEMPT_NEED_RESCHED; in preempt_count()
35 new = (old & PREEMPT_NEED_RESCHED) | in preempt_count_set()
36 (pc & ~PREEMPT_NEED_RESCHED); in preempt_count_set()
60 raw_cpu_and_4(__preempt_count, ~PREEMPT_NEED_RESCHED); in set_preempt_need_resched()
65 raw_cpu_or_4(__preempt_count, PREEMPT_NEED_RESCHED); in clear_preempt_need_resched()
70 return !(raw_cpu_read_4(__preempt_count) & PREEMPT_NEED_RESCHED); in test_preempt_need_resched()
/Linux-v5.4/arch/s390/include/asm/
Dpreempt.h12 #define PREEMPT_NEED_RESCHED 0x80000000 macro
13 #define PREEMPT_ENABLED (0 + PREEMPT_NEED_RESCHED)
17 return READ_ONCE(S390_lowcore.preempt_count) & ~PREEMPT_NEED_RESCHED; in preempt_count()
26 new = (old & PREEMPT_NEED_RESCHED) | in preempt_count_set()
27 (pc & ~PREEMPT_NEED_RESCHED); in preempt_count_set()
40 __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); in set_preempt_need_resched()
45 __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); in clear_preempt_need_resched()
50 return !(READ_ONCE(S390_lowcore.preempt_count) & PREEMPT_NEED_RESCHED); in test_preempt_need_resched()
/Linux-v5.4/arch/arm64/include/asm/
Dpreempt.h7 #define PREEMPT_NEED_RESCHED BIT(32) macro
8 #define PREEMPT_ENABLED (PREEMPT_NEED_RESCHED)
/Linux-v5.4/Documentation/trace/
Dftrace.rst926 - 'N' both TIF_NEED_RESCHED and PREEMPT_NEED_RESCHED is set,
928 - 'p' only PREEMPT_NEED_RESCHED is set,