Home
last modified time | relevance | path

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

/linux/arch/x86/include/asm/
A Dpreempt.h13 #define PREEMPT_NEED_RESCHED 0x80000000 macro
19 #define PREEMPT_ENABLED (0 + PREEMPT_NEED_RESCHED)
27 return raw_cpu_read_4(__preempt_count) & ~PREEMPT_NEED_RESCHED; in preempt_count()
36 new = (old & PREEMPT_NEED_RESCHED) | in preempt_count_set()
37 (pc & ~PREEMPT_NEED_RESCHED); in preempt_count_set()
61 raw_cpu_and_4(__preempt_count, ~PREEMPT_NEED_RESCHED); in set_preempt_need_resched()
66 raw_cpu_or_4(__preempt_count, PREEMPT_NEED_RESCHED); in clear_preempt_need_resched()
71 return !(raw_cpu_read_4(__preempt_count) & PREEMPT_NEED_RESCHED); in test_preempt_need_resched()
/linux/arch/s390/include/asm/
A 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()
34 __atomic_and(~PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); in set_preempt_need_resched()
39 __atomic_or(PREEMPT_NEED_RESCHED, &S390_lowcore.preempt_count); in clear_preempt_need_resched()
44 return !(READ_ONCE(S390_lowcore.preempt_count) & PREEMPT_NEED_RESCHED); in test_preempt_need_resched()
/linux/arch/arm64/include/asm/
A Dpreempt.h7 #define PREEMPT_NEED_RESCHED BIT(32) macro
8 #define PREEMPT_ENABLED (PREEMPT_NEED_RESCHED)
/linux/Documentation/trace/
A Dftrace.rst960 - 'N' both TIF_NEED_RESCHED and PREEMPT_NEED_RESCHED is set,
962 - 'p' only PREEMPT_NEED_RESCHED is set,

Completed in 8 milliseconds