/arch/s390/include/asm/ |
D | preempt.h | 13 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/ |
D | irq.c | 95 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/ |
D | irq.c | 88 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/ |
D | thread_info.h | 34 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 55 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/m68k/include/asm/ |
D | thread_info.h | 31 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 41 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/score/include/asm/ |
D | thread_info.h | 37 int preempt_count; member 57 .preempt_count = 1, \
|
/arch/c6x/include/asm/ |
D | thread_info.h | 45 int preempt_count; /* 0 = preemptable, <0 = BUG */ member 59 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/blackfin/include/asm/ |
D | thread_info.h | 42 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 57 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/frv/include/asm/ |
D | thread_info.h | 37 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 63 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/nios2/include/asm/ |
D | thread_info.h | 44 int preempt_count; /* 0 => preemptable,<0 => BUG */ member 62 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/arc/include/asm/ |
D | thread_info.h | 44 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 61 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/um/include/asm/ |
D | thread_info.h | 20 int preempt_count; /* 0 => preemptable, member 35 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/openrisc/include/asm/ |
D | thread_info.h | 53 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ member 77 .preempt_count = 1, \
|
/arch/hexagon/include/asm/ |
D | thread_info.h | 52 int preempt_count; /* 0=>preemptible,<0=>BUG */ member 81 .preempt_count = 1, \
|
/arch/h8300/include/asm/ |
D | thread_info.h | 33 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 45 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/sparc/include/asm/ |
D | thread_info_32.h | 33 int preempt_count; /* 0 => preemptable, member 63 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/m32r/include/asm/ |
D | thread_info.h | 31 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 55 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/parisc/include/asm/ |
D | thread_info.h | 16 int preempt_count; /* 0=premptable, <0=BUG; will also serve as bh-counter */ member 25 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/xtensa/include/asm/ |
D | thread_info.h | 50 __s32 preempt_count; /* 0 => preemptable,< 0 => BUG*/ member 76 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/arm64/include/asm/ |
D | thread_info.h | 45 int preempt_count; /* 0 => preemptable, <0 => bug */ member 50 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/metag/include/asm/ |
D | thread_info.h | 35 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 73 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/alpha/include/asm/ |
D | thread_info.h | 24 int preempt_count; /* 0 => preemptable, <0 => BUG */ member 39 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/mn10300/include/asm/ |
D | thread_info.h | 46 __s32 preempt_count; /* 0 => preemptable, <0 => BUG */ member 78 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/microblaze/include/asm/ |
D | thread_info.h | 71 __s32 preempt_count; /* 0 => preemptable,< 0 => BUG*/ member 85 .preempt_count = INIT_PREEMPT_COUNT, \
|
/arch/tile/include/asm/ |
D | thread_info.h | 33 int preempt_count; /* 0 => preemptable, member 56 .preempt_count = INIT_PREEMPT_COUNT, \
|