/linux/lib/ |
H A D | test_kprobes.c | 38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler() 49 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler() 177 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler() 186 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler() 253 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_return_handler() 314 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_internal_return_handler()
|
H A D | test_fprobe.c | 38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fprobe_selftest_nest_target() 59 KUNIT_EXPECT_FALSE(current_test, preemptible());
|
/linux/arch/arm64/kernel/ |
H A D | cpu_errata.c | 23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range() 40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list() 49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr() 66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type() 193 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
|
H A D | proton-pack.c | 204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 309 WARN_ON(preemptible()); in spectre_v2_enable_mitigation() 333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 647 WARN_ON(preemptible()); in spectre_v4_enable_mitigation() 960 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
|
/linux/drivers/irqchip/ |
H A D | irq-gic-v4.c | 240 WARN_ON(preemptible()); in its_make_vpe_non_resident() 266 WARN_ON(preemptible()); in its_make_vpe_resident() 291 WARN_ON(preemptible()); in its_commit_vpe()
|
/linux/arch/x86/xen/ |
H A D | multicalls.c | 149 BUG_ON(preemptible()); in xen_mc_flush() 225 BUG_ON(preemptible()); in __xen_mc_entry() 257 BUG_ON(preemptible()); in xen_mc_extend_args()
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | local_ops.rst | 150 /* Increment the counter from a non preemptible context */ 155 * preemptible context (it disables preemption) :
|
/linux/kernel/ |
H A D | Kconfig.preempt | 63 preemptible. This allows reaction to interactive events by 96 preemptible priority-inheritance aware variants, enforcing 98 non-preemptible sections. This makes the kernel, except for very 100 level interrupt handling) fully preemptible and brings most
|
/linux/include/linux/ |
H A D | seqlock_types.h | 62 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \ argument
|
H A D | rcupdate.h | 374 return !preemptible(); in rcu_read_lock_sched_held() 379 return !preemptible(); in rcu_read_lock_any_held() 485 preemptible()))
|
H A D | rcuref.h | 83 RCU_LOCKDEP_WARN(!rcu_read_lock_held() && preemptible(), in __rcuref_put()
|
/linux/arch/arm64/include/asm/ |
H A D | archrandom.h | 64 if (unlikely(!system_capabilities_finalized() && !preemptible())) in __cpu_has_rng()
|
H A D | efi.h | 48 (!preemptible() && efi_rt_stack_top != NULL && \
|
H A D | traps.h | 63 WARN_ON(preemptible()); in arm64_is_ras_serror()
|
/linux/drivers/firmware/ |
H A D | arm_sdei.c | 318 WARN_ON_ONCE(preemptible()); in _ipi_mask_cpu() 338 WARN_ON_ONCE(preemptible()); in _ipi_unmask_cpu() 346 WARN_ON_ONCE(preemptible()); in _ipi_private_reset() 716 WARN_ON_ONCE(preemptible()); in sdei_pm_notifier()
|
/linux/drivers/i2c/ |
H A D | i2c-core.h | 34 (IS_ENABLED(CONFIG_PREEMPT_COUNT) ? !preemptible() : irqs_disabled()); in i2c_in_atomic_xfer_mode()
|
/linux/Documentation/core-api/ |
H A D | local_ops.rst | 103 In preemptible context, use ``get_cpu_var()`` and ``put_cpu_var()`` around 156 /* Increment the counter from a non preemptible context */ 161 * preemptible context (it disables preemption) :
|
/linux/kernel/rcu/ |
H A D | update.c | 126 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held() 299 .wait_type_inner = LD_WAIT_CONFIG, /* PREEMPT_RT makes BH preemptible. */ 390 return !preemptible(); in rcu_read_lock_any_held()
|
/linux/arch/x86/include/asm/ |
H A D | desc.h | 329 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit() 346 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
|
/linux/Documentation/locking/ |
H A D | locktypes.rst | 29 Sleeping locks can only be acquired in preemptible task context. 108 execute most such regions of code in preemptible task context, especially 413 fully preemptible context. Instead, use spin_lock_irq() or 441 the same CPU while the task remains preemptible. 483 fully preemptible and therefore cannot be invoked from truly atomic
|
H A D | preempt-locking.rst | 12 A preemptible kernel creates new locking issues. The issues are the same as 13 those under SMP: concurrency and reentrancy. Thankfully, the Linux preemptible
|
/linux/drivers/xen/ |
H A D | time.c | 61 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
|
/linux/include/linux/sched/ |
H A D | task.h | 141 if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) { in put_task_struct()
|
/linux/drivers/block/zram/ |
H A D | backend_zstd.c | 36 if (!preemptible()) in zstd_custom_alloc()
|
/linux/Documentation/RCU/ |
H A D | UP.rst | 110 preemptible RCU? 146 running preemptible RCU?
|