Home
last modified time | relevance | path

Searched refs:preemptible (Results 1 – 25 of 53) sorted by relevance

123

/linux/lib/
H A Dtest_kprobes.c38 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 Dtest_fprobe.c38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fprobe_selftest_nest_target()
59 KUNIT_EXPECT_FALSE(current_test, preemptible());
/linux/arch/arm64/kernel/
H A Dcpu_errata.c23 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 Dproton-pack.c204 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 Dirq-gic-v4.c240 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 Dmulticalls.c149 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 Dlocal_ops.rst150 /* Increment the counter from a non preemptible context */
155 * preemptible context (it disables preemption) :
/linux/kernel/
H A DKconfig.preempt63 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 Dseqlock_types.h62 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \ argument
H A Drcupdate.h374 return !preemptible(); in rcu_read_lock_sched_held()
379 return !preemptible(); in rcu_read_lock_any_held()
485 preemptible()))
H A Drcuref.h83 RCU_LOCKDEP_WARN(!rcu_read_lock_held() && preemptible(), in __rcuref_put()
/linux/arch/arm64/include/asm/
H A Darchrandom.h64 if (unlikely(!system_capabilities_finalized() && !preemptible())) in __cpu_has_rng()
H A Defi.h48 (!preemptible() && efi_rt_stack_top != NULL && \
H A Dtraps.h63 WARN_ON(preemptible()); in arm64_is_ras_serror()
/linux/drivers/firmware/
H A Darm_sdei.c318 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 Di2c-core.h34 (IS_ENABLED(CONFIG_PREEMPT_COUNT) ? !preemptible() : irqs_disabled()); in i2c_in_atomic_xfer_mode()
/linux/Documentation/core-api/
H A Dlocal_ops.rst103 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 Dupdate.c126 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 Ddesc.h329 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
346 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
/linux/Documentation/locking/
H A Dlocktypes.rst29 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 Dpreempt-locking.rst12 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 Dtime.c61 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
/linux/include/linux/sched/
H A Dtask.h141 if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) { in put_task_struct()
/linux/drivers/block/zram/
H A Dbackend_zstd.c36 if (!preemptible()) in zstd_custom_alloc()
/linux/Documentation/RCU/
H A DUP.rst110 preemptible RCU?
146 running preemptible RCU?

123