Searched refs:preemptible (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/include/linux/
H A Dseqlock_types.h14 * Write side critical sections must be serialized and non-preemptible.
46 * To remain preemptible while avoiding a possible livelock caused by the
62 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \
H A Drcuref.h81 RCU_LOCKDEP_WARN(!rcu_read_lock_held() && preemptible(),
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 Dseqlock.h141 * @preemptible: preemptibility of above locktype
144 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \
165 if (preemptible && unlikely(seq & 1)) { \
183 return preemptible; \
262 #define seqprop_preemptible(s) __seqprop(s, preemptible)(s)
478 * non-preemptible. Preemption will be automatically disabled if and
480 * preemptible. If readers can be invoked from hardirq or softirq
503 * the seqcount write serialization lock is associated, and preemptible.
598 * As the write sections are fully preemptible, no special handling for
814 * automatically serialized and non-preemptible
[all...]
H A Drcupdate.h366 return !preemptible();
371 return !preemptible();
768 * In non-preemptible RCU implementations (pure TREE_RCU and TINY_RCU),
770 * In preemptible RCU implementations (PREEMPT_RCU) in CONFIG_PREEMPTION
772 * but explicit blocking is illegal. Finally, in preemptible RCU
/linux-master/lib/
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());
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());
/linux-master/drivers/i2c/
H A Di2c-core.h34 (IS_ENABLED(CONFIG_PREEMPT_COUNT) ? !preemptible() : irqs_disabled());
/linux-master/arch/arm64/include/asm/
H A Darchrandom.h64 if (unlikely(!system_capabilities_finalized() && !preemptible()))
H A Defi.h48 (!preemptible() && efi_rt_stack_top != NULL && \
H A Dtraps.h62 WARN_ON(preemptible());
/linux-master/arch/x86/xen/
H A Dmulticalls.c64 BUG_ON(preemptible());
146 BUG_ON(preemptible());
174 BUG_ON(preemptible());
/linux-master/drivers/irqchip/
H A Dirq-gic-v4.c240 WARN_ON(preemptible());
266 WARN_ON(preemptible());
291 WARN_ON(preemptible());
/linux-master/arch/arm64/kernel/
H A Dcpu_errata.c23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
193 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
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.
H A Dstacktrace.c180 * non-preemptible context.
184 ((task == current) && !preemptible()) \
/linux-master/drivers/xen/
H A Dtime.c61 BUG_ON(preemptible());
/linux-master/arch/x86/include/asm/
H A Dmmu_context.h84 DEBUG_LOCKS_WARN_ON(preemptible());
H A Ddesc.h329 DEBUG_LOCKS_WARN_ON(preemptible());
346 DEBUG_LOCKS_WARN_ON(preemptible());
/linux-master/include/linux/sched/
H A Dtask.h132 * Under RT, we can only call it in preemptible context.
134 if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) {
/linux-master/kernel/rcu/
H A Dupdate.c126 return lock_is_held(&rcu_sched_lock_map) || !preemptible();
299 .wait_type_inner = LD_WAIT_CONFIG, /* PREEMPT_RT makes BH preemptible. */
390 return !preemptible();
H A Dtree_plugin.h5 * or preemptible semantics.
23 * non-preemptible reads are also safe. NOCB kthreads and
32 !(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible())) ||
270 * Record a preemptible-RCU quiescent state for the specified CPU.
280 * Unlike non-preemptible-RCU, quiescent state reports for expedited
288 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!\n");
697 RCU_LOCKDEP_WARN(preemptible(), "rcu_preempt_check_blocked_tasks() invoked with preemption enabled!!!\n");
749 * Check for a task exiting while in a preemptible-RCU read-side
850 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!");
910 * Because preemptible RC
[all...]
/linux-master/arch/x86/mm/
H A Dtlb.c1098 VM_WARN_ON(in_nmi() || preemptible());
1211 WARN_ON_ONCE(preemptible());
1233 VM_WARN_ON_ONCE(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());

Completed in 486 milliseconds

12