/linux-master/include/linux/ |
H A D | seqlock_types.h | 14 * 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 D | rcuref.h | 81 RCU_LOCKDEP_WARN(!rcu_read_lock_held() && preemptible(),
|
H A D | preempt.h | 182 * 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 D | seqlock.h | 141 * @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 D | rcupdate.h | 366 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 D | test_kprobes.c | 38 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 D | test_fprobe.c | 45 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 D | i2c-core.h | 34 (IS_ENABLED(CONFIG_PREEMPT_COUNT) ? !preemptible() : irqs_disabled());
|
/linux-master/arch/arm64/include/asm/ |
H A D | archrandom.h | 64 if (unlikely(!system_capabilities_finalized() && !preemptible()))
|
H A D | efi.h | 48 (!preemptible() && efi_rt_stack_top != NULL && \
|
H A D | traps.h | 62 WARN_ON(preemptible());
|
/linux-master/arch/x86/xen/ |
H A D | multicalls.c | 64 BUG_ON(preemptible()); 146 BUG_ON(preemptible()); 174 BUG_ON(preemptible());
|
/linux-master/drivers/irqchip/ |
H A D | irq-gic-v4.c | 240 WARN_ON(preemptible()); 266 WARN_ON(preemptible()); 291 WARN_ON(preemptible());
|
/linux-master/arch/arm64/kernel/ |
H A D | cpu_errata.c | 23 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 D | proton-pack.c | 204 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 D | debug-monitors.c | 84 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 D | stacktrace.c | 180 * non-preemptible context. 184 ((task == current) && !preemptible()) \
|
/linux-master/drivers/xen/ |
H A D | time.c | 61 BUG_ON(preemptible());
|
/linux-master/arch/x86/include/asm/ |
H A D | mmu_context.h | 84 DEBUG_LOCKS_WARN_ON(preemptible());
|
H A D | desc.h | 329 DEBUG_LOCKS_WARN_ON(preemptible()); 346 DEBUG_LOCKS_WARN_ON(preemptible());
|
/linux-master/include/linux/sched/ |
H A D | task.h | 132 * Under RT, we can only call it in preemptible context. 134 if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) {
|
/linux-master/kernel/rcu/ |
H A D | update.c | 126 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 D | tree_plugin.h | 5 * 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 D | tlb.c | 1098 VM_WARN_ON(in_nmi() || preemptible()); 1211 WARN_ON_ONCE(preemptible()); 1233 VM_WARN_ON_ONCE(preemptible());
|
/linux-master/drivers/firmware/ |
H A D | arm_sdei.c | 318 WARN_ON_ONCE(preemptible()); 338 WARN_ON_ONCE(preemptible()); 346 WARN_ON_ONCE(preemptible()); 716 WARN_ON_ONCE(preemptible());
|