Home
last modified time | relevance | path

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

12345678910>>...14

/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/s390/include/asm/
H A Dpreempt.h15 static inline int preempt_count(void) in preempt_count() function
25 old = READ_ONCE(S390_lowcore.preempt_count); in preempt_count_set()
28 } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, in preempt_count_set()
35 S390_lowcore.preempt_count = PREEMPT_ENABLED; \
58 __atomic_add(val, &S390_lowcore.preempt_count); in __preempt_count_add()
81 static inline int preempt_count(void) in preempt_count() function
83 return READ_ONCE(S390_lowcore.preempt_count); in preempt_count()
88 S390_lowcore.preempt_count = pc; in preempt_count_set()
94 S390_lowcore.preempt_count = PREEMPT_ENABLED; \
112 S390_lowcore.preempt_count += val; in __preempt_count_add()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/s390/include/asm/
H A Dpreempt.h15 static inline int preempt_count(void) in preempt_count() function
25 old = READ_ONCE(S390_lowcore.preempt_count); in preempt_count_set()
28 } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, in preempt_count_set()
35 S390_lowcore.preempt_count = PREEMPT_ENABLED; \
58 __atomic_add(val, &S390_lowcore.preempt_count); in __preempt_count_add()
81 static inline int preempt_count(void) in preempt_count() function
83 return READ_ONCE(S390_lowcore.preempt_count); in preempt_count()
88 S390_lowcore.preempt_count = pc; in preempt_count_set()
94 S390_lowcore.preempt_count = PREEMPT_ENABLED; \
112 S390_lowcore.preempt_count += val; in __preempt_count_add()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/s390/include/asm/
H A Dpreempt.h15 static inline int preempt_count(void) in preempt_count() function
25 old = READ_ONCE(S390_lowcore.preempt_count); in preempt_count_set()
28 } while (__atomic_cmpxchg(&S390_lowcore.preempt_count, in preempt_count_set()
35 S390_lowcore.preempt_count = PREEMPT_ENABLED; \
58 __atomic_add(val, &S390_lowcore.preempt_count); in __preempt_count_add()
81 static inline int preempt_count(void) in preempt_count() function
83 return READ_ONCE(S390_lowcore.preempt_count); in preempt_count()
88 S390_lowcore.preempt_count = pc; in preempt_count_set()
94 S390_lowcore.preempt_count = PREEMPT_ENABLED; \
112 S390_lowcore.preempt_count += val; in __preempt_count_add()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/asm-generic/
H A Dpreempt.h9 static __always_inline int preempt_count(void) in preempt_count() function
11 return READ_ONCE(current_thread_info()->preempt_count); in preempt_count()
16 return &current_thread_info()->preempt_count; in preempt_count_ptr()
28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
32 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
77 return unlikely(preempt_count() == preempt_offset && in should_resched()
/dports/multimedia/libv4l/linux-5.13-rc2/include/asm-generic/
H A Dpreempt.h9 static __always_inline int preempt_count(void) in preempt_count() function
11 return READ_ONCE(current_thread_info()->preempt_count); in preempt_count()
16 return &current_thread_info()->preempt_count; in preempt_count_ptr()
28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
32 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
77 return unlikely(preempt_count() == preempt_offset && in should_resched()
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/asm-generic/
H A Dpreempt.h9 static __always_inline int preempt_count(void) in preempt_count() function
11 return READ_ONCE(current_thread_info()->preempt_count); in preempt_count()
16 return &current_thread_info()->preempt_count; in preempt_count_ptr()
28 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
32 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
77 return unlikely(preempt_count() == preempt_offset && in should_resched()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/arm64/include/asm/
H A Dpreempt.h10 static inline int preempt_count(void) in preempt_count() function
22 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
26 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
61 u64 pc = READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test()
73 return !pc || !READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test()
78 u64 pc = READ_ONCE(current_thread_info()->preempt_count); in should_resched()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/arm64/include/asm/
H A Dpreempt.h10 static inline int preempt_count(void) in preempt_count() function
22 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
26 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
61 u64 pc = READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test()
73 return !pc || !READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test()
78 u64 pc = READ_ONCE(current_thread_info()->preempt_count); in should_resched()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/arm64/include/asm/
H A Dpreempt.h10 static inline int preempt_count(void) in preempt_count() function
22 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \
26 task_thread_info(p)->preempt_count = PREEMPT_ENABLED; \
61 u64 pc = READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test()
73 return !pc || !READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test()
78 u64 pc = READ_ONCE(current_thread_info()->preempt_count); in should_resched()
/dports/lang/gnatdroid-sysroot/android-19-arm/usr/include/linux/
H A Dpreempt.h18 #define add_preempt_count(val) do { preempt_count() += (val); } while (0)
19 #define sub_preempt_count(val) do { preempt_count() -= (val); } while (0)
24 #define preempt_count() (current_thread_info()->preempt_count) macro
H A Dhardirq.h50 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
51 #define softirq_count() (preempt_count() & SOFTIRQ_MASK)
52 #define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))
58 #define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != 0)
/dports/lang/gnatdroid-sysroot-x86/android-19-x86/usr/include/linux/
H A Dpreempt.h18 #define add_preempt_count(val) do { preempt_count() += (val); } while (0)
19 #define sub_preempt_count(val) do { preempt_count() -= (val); } while (0)
24 #define preempt_count() (current_thread_info()->preempt_count) macro
H A Dhardirq.h50 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
51 #define softirq_count() (preempt_count() & SOFTIRQ_MASK)
52 #define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))
58 #define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE) != 0)
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/radix-tree/
H A Dmain.c244 nr_allocated, preempt_count); in single_thread_tests()
248 nr_allocated, preempt_count); in single_thread_tests()
252 nr_allocated, preempt_count); in single_thread_tests()
256 nr_allocated, preempt_count); in single_thread_tests()
260 nr_allocated, preempt_count); in single_thread_tests()
264 nr_allocated, preempt_count); in single_thread_tests()
269 nr_allocated, preempt_count); in single_thread_tests()
273 nr_allocated, preempt_count); in single_thread_tests()
281 nr_allocated, preempt_count); in single_thread_tests()
324 nr_allocated, preempt_count); in main()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/radix-tree/
H A Dmain.c244 nr_allocated, preempt_count); in single_thread_tests()
248 nr_allocated, preempt_count); in single_thread_tests()
252 nr_allocated, preempt_count); in single_thread_tests()
256 nr_allocated, preempt_count); in single_thread_tests()
260 nr_allocated, preempt_count); in single_thread_tests()
264 nr_allocated, preempt_count); in single_thread_tests()
269 nr_allocated, preempt_count); in single_thread_tests()
273 nr_allocated, preempt_count); in single_thread_tests()
281 nr_allocated, preempt_count); in single_thread_tests()
324 nr_allocated, preempt_count); in main()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/radix-tree/
H A Dmain.c244 nr_allocated, preempt_count); in single_thread_tests()
248 nr_allocated, preempt_count); in single_thread_tests()
252 nr_allocated, preempt_count); in single_thread_tests()
256 nr_allocated, preempt_count); in single_thread_tests()
260 nr_allocated, preempt_count); in single_thread_tests()
264 nr_allocated, preempt_count); in single_thread_tests()
269 nr_allocated, preempt_count); in single_thread_tests()
273 nr_allocated, preempt_count); in single_thread_tests()
281 nr_allocated, preempt_count); in single_thread_tests()
324 nr_allocated, preempt_count); in main()
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dpreempt.h80 #define nmi_count() (preempt_count() & NMI_MASK)
81 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
85 # define softirq_count() (preempt_count() & SOFTIRQ_MASK)
148 #define in_atomic() (preempt_count() != 0)
154 #define in_atomic_preempt_off() (preempt_count() != PREEMPT_DISABLE_OFFSET)
189 #define preemptible() (preempt_count() == 0 && !irqs_disabled())
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dpreempt.h80 #define nmi_count() (preempt_count() & NMI_MASK)
81 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
85 # define softirq_count() (preempt_count() & SOFTIRQ_MASK)
148 #define in_atomic() (preempt_count() != 0)
154 #define in_atomic_preempt_off() (preempt_count() != PREEMPT_DISABLE_OFFSET)
189 #define preemptible() (preempt_count() == 0 && !irqs_disabled())
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dpreempt.h80 #define nmi_count() (preempt_count() & NMI_MASK)
81 #define hardirq_count() (preempt_count() & HARDIRQ_MASK)
85 # define softirq_count() (preempt_count() & SOFTIRQ_MASK)
148 #define in_atomic() (preempt_count() != 0)
154 #define in_atomic_preempt_off() (preempt_count() != PREEMPT_DISABLE_OFFSET)
189 #define preemptible() (preempt_count() == 0 && !irqs_disabled())
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/radix-tree/linux/
H A Dpreempt.h5 extern int preempt_count;
7 #define preempt_disable() uatomic_inc(&preempt_count)
8 #define preempt_enable() uatomic_dec(&preempt_count)
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/radix-tree/linux/
H A Dpreempt.h5 extern int preempt_count;
7 #define preempt_disable() uatomic_inc(&preempt_count)
8 #define preempt_enable() uatomic_dec(&preempt_count)
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/radix-tree/linux/
H A Dpreempt.h5 extern int preempt_count;
7 #define preempt_disable() uatomic_inc(&preempt_count)
8 #define preempt_enable() uatomic_dec(&preempt_count)
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/sh/kernel/
H A Dirq.c96 irqctx->tinfo.preempt_count = in handle_one_irq()
97 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq()
98 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq()
130 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
138 irqctx->tinfo.preempt_count = 0; in irq_ctx_init()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/sh/kernel/
H A Dirq.c96 irqctx->tinfo.preempt_count = in handle_one_irq()
97 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq()
98 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq()
130 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
138 irqctx->tinfo.preempt_count = 0; in irq_ctx_init()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/sh/kernel/
H A Dirq.c96 irqctx->tinfo.preempt_count = in handle_one_irq()
97 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq()
98 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq()
130 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
138 irqctx->tinfo.preempt_count = 0; in irq_ctx_init()

12345678910>>...14