Searched refs:preemptible (Results 26 - 46 of 46) sorted by last modified time

12

/linux-master/include/linux/
H A Dpreempt.h182 * held spinlocks in non-preemptible kernels. Thus it should not be
227 #define preemptible() (preempt_count() == 0 && !irqs_disabled()) macro
295 #define preemptible() 0 macro
401 * number of primitives into becoming preemptible, they would also allow
449 * interrupt context and regular interrupt handlers are preemptible and
H A Dkprobes.h587 * to call kprobe_running(), we have to be non-preemptible.
589 if (preemptible())
H A Drcuref.h81 RCU_LOCKDEP_WARN(!rcu_read_lock_held() && preemptible(),
/linux-master/drivers/irqchip/
H A Dirq-gic-v4.c240 WARN_ON(preemptible());
266 WARN_ON(preemptible());
291 WARN_ON(preemptible());
/linux-master/lib/
H A Ddebugobjects.c602 * On RT enabled kernels the pool refill must happen in preemptible
607 if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) {
611 * the preemptible() condition above.
H A Dtest_fprobe.c45 KUNIT_EXPECT_FALSE(current_test, preemptible());
66 KUNIT_EXPECT_FALSE(current_test, preemptible());
86 KUNIT_EXPECT_FALSE(current_test, preemptible());
94 KUNIT_EXPECT_FALSE(current_test, preemptible());
H A Dtest_kprobes.c38 KUNIT_EXPECT_FALSE(current_test, preemptible());
49 KUNIT_EXPECT_FALSE(current_test, preemptible());
177 KUNIT_EXPECT_FALSE(current_test, preemptible());
186 KUNIT_EXPECT_FALSE(current_test, preemptible());
253 KUNIT_EXPECT_FALSE(current_test, preemptible());
314 KUNIT_EXPECT_FALSE(current_test, preemptible());
/linux-master/arch/arm/kernel/
H A Dperf_event_v7.c1367 BUG_ON(preemptible());
1381 BUG_ON(preemptible());
/linux-master/drivers/i2c/
H A Di2c-core.h34 (IS_ENABLED(CONFIG_PREEMPT_COUNT) ? !preemptible() : irqs_disabled());
/linux-master/arch/mips/kernel/
H A Dprocess.c563 if (!preemptible() && on_irq_stack(raw_smp_processor_id(), *sp)) {
/linux-master/arch/powerpc/kernel/
H A Dprocess.c211 WARN_ON(preemptible());
262 WARN_ON(preemptible());
332 WARN_ON(preemptible());
381 WARN_ON(preemptible());
/linux-master/arch/s390/kernel/
H A Dkprobes.c508 if (!preemptible() && kprobe_running() &&
/linux-master/arch/arm64/kernel/
H A Dproton-pack.c204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
309 WARN_ON(preemptible());
333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
635 WARN_ON(preemptible());
948 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
H A Ddebug-monitors.c84 WARN_ON(preemptible());
105 WARN_ON(preemptible());
215 * entirely not preemptible, and we can use rcu list safely here.
312 * entirely not preemptible, and we can use rcu list safely here.
/linux-master/arch/arm64/include/asm/
H A Dtraps.h62 WARN_ON(preemptible());
H A Defi.h48 (!preemptible() && efi_rt_stack_top != NULL && \
/linux-master/arch/x86/include/asm/
H A Dmmu_context.h84 DEBUG_LOCKS_WARN_ON(preemptible());
/linux-master/drivers/firmware/
H A Darm_sdei.c318 WARN_ON_ONCE(preemptible());
338 WARN_ON_ONCE(preemptible());
346 WARN_ON_ONCE(preemptible());
716 WARN_ON_ONCE(preemptible());
/linux-master/arch/x86/kernel/cpu/sgx/
H A Dmain.c862 WARN_ON_ONCE(preemptible());
/linux-master/drivers/xen/
H A Dtime.c61 BUG_ON(preemptible());
/linux-master/arch/x86/xen/
H A Dmulticalls.c64 BUG_ON(preemptible());
146 BUG_ON(preemptible());
174 BUG_ON(preemptible());

Completed in 365 milliseconds

12