Home
last modified time | relevance | path

Searched refs:preempt_count (Results 1 – 25 of 71) sorted by relevance

123

/arch/s390/include/asm/
Dpreempt.h13 static inline int preempt_count(void) in preempt_count() function
15 return READ_ONCE(S390_lowcore.preempt_count) & ~PREEMPT_NEED_RESCHED; in preempt_count()
23 old = READ_ONCE(S390_lowcore.preempt_count); in preempt_count_set()
26 } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, in preempt_count_set()
33 S390_lowcore.preempt_count = PREEMPT_ENABLED; \
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()
54 __atomic_add_const(val, &S390_lowcore.preempt_count); in __preempt_count_add()
56 __atomic_add(val, &S390_lowcore.preempt_count); in __preempt_count_add()
[all …]
/arch/sh/kernel/
Dirq.c95 irqctx->tinfo.preempt_count = in handle_one_irq()
96 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq()
97 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq()
129 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
137 irqctx->tinfo.preempt_count = 0; in irq_ctx_init()
/arch/metag/kernel/
Dirq.c88 irqctx->tinfo.preempt_count = in do_IRQ()
89 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in do_IRQ()
90 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in do_IRQ()
135 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
143 irqctx->tinfo.preempt_count = 0; in irq_ctx_init()
/arch/cris/include/asm/
Dthread_info.h34 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
55 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/m68k/include/asm/
Dthread_info.h31 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
41 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/score/include/asm/
Dthread_info.h37 int preempt_count; member
57 .preempt_count = 1, \
/arch/c6x/include/asm/
Dthread_info.h45 int preempt_count; /* 0 = preemptable, <0 = BUG */ member
59 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/blackfin/include/asm/
Dthread_info.h42 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
57 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/frv/include/asm/
Dthread_info.h37 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
63 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/nios2/include/asm/
Dthread_info.h44 int preempt_count; /* 0 => preemptable,<0 => BUG */ member
62 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/arc/include/asm/
Dthread_info.h44 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
61 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/um/include/asm/
Dthread_info.h20 int preempt_count; /* 0 => preemptable, member
35 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/openrisc/include/asm/
Dthread_info.h53 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ member
77 .preempt_count = 1, \
/arch/hexagon/include/asm/
Dthread_info.h52 int preempt_count; /* 0=>preemptible,<0=>BUG */ member
81 .preempt_count = 1, \
/arch/h8300/include/asm/
Dthread_info.h33 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
45 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/sparc/include/asm/
Dthread_info_32.h33 int preempt_count; /* 0 => preemptable, member
63 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/m32r/include/asm/
Dthread_info.h31 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
55 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/parisc/include/asm/
Dthread_info.h16 int preempt_count; /* 0=premptable, <0=BUG; will also serve as bh-counter */ member
25 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/xtensa/include/asm/
Dthread_info.h50 __s32 preempt_count; /* 0 => preemptable,< 0 => BUG*/ member
76 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/arm64/include/asm/
Dthread_info.h45 int preempt_count; /* 0 => preemptable, <0 => bug */ member
50 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/metag/include/asm/
Dthread_info.h35 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
73 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/alpha/include/asm/
Dthread_info.h24 int preempt_count; /* 0 => preemptable, <0 => BUG */ member
39 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/mn10300/include/asm/
Dthread_info.h46 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ member
78 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/microblaze/include/asm/
Dthread_info.h71 __s32 preempt_count; /* 0 => preemptable,< 0 => BUG*/ member
85 .preempt_count = INIT_PREEMPT_COUNT, \
/arch/tile/include/asm/
Dthread_info.h33 int preempt_count; /* 0 => preemptable, member
56 .preempt_count = INIT_PREEMPT_COUNT, \

123