| /linux/lib/tests/ |
| 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 fp_entry_handler() 59 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
|
| /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 111 the softirq is preemptible. This enforces the same per-CPU BLK 116 this if you suspect an error with preemptible softirq and want test
|
| /linux/arch/arm64/kernel/ |
| H A D | proton-pack.c | 199 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 304 WARN_ON(preemptible()); in spectre_v2_enable_mitigation() 328 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 505 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 637 WARN_ON(preemptible()); in spectre_v4_enable_mitigation() 975 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
|
| H A D | cpu_errata.c | 77 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range() 94 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list() 103 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr() 120 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type() 246 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
|
| H A D | debug-monitors.c | 88 WARN_ON(preemptible()); in enable_debug_monitors() 109 WARN_ON(preemptible()); in disable_debug_monitors()
|
| /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/Documentation/core-api/real-time/ |
| H A D | differences.rst | 13 previously caused long scheduling latencies have been made preemptible and 37 critical sections that must remain non-preemptible or with interrupts disabled. 45 execution paths preemptible, allowing the scheduler to interrupt them when a 49 threaded, preemptible execution. 77 preemptible under PREEMPT_RT, this approach does not provide reliable 104 preemptible. 150 called from non-preemptible contexts. 236 serialized and non-preemptible relative to the reader. This cannot be achieved
|
| /linux/arch/x86/xen/ |
| H A D | multicalls.c | 151 BUG_ON(preemptible()); in xen_mc_flush() 227 BUG_ON(preemptible()); in __xen_mc_entry() 259 BUG_ON(preemptible()); in xen_mc_extend_args()
|
| /linux/include/linux/ |
| H A D | seqlock.h | 144 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \ argument 165 if (preemptible && unlikely(seq & 1)) { \ 183 return preemptible; \ 262 #define seqprop_preemptible(s) __seqprop(s, preemptible)(s)
|
| H A D | preempt.h | 227 #define preemptible() (preempt_count() == 0 && !irqs_disabled()) macro 295 #define preemptible() 0 macro
|
| H A D | seqlock_types.h | 62 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \ argument
|
| H A D | rcuref.h | 103 RCU_LOCKDEP_WARN(!rcu_read_lock_held() && preemptible(), in __rcuref_put()
|
| H A D | rcupdate.h | 368 return !preemptible(); in rcu_read_lock_sched_held() 373 return !preemptible(); in rcu_read_lock_any_held() 479 preemptible()))
|
| /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/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 && \
|
| /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 212 non-preemptible. In a PREEMPT_RT kernel, softirq context is preemptible, and 434 fully preemptible context. Instead, use spin_lock_irq() or 462 the same CPU while the task remains preemptible. 504 fully preemptible and therefore cannot be invoked from truly atomic
|
| /linux/Documentation/core-api/ |
| H A D | floating-point.rst | 72 guaranteed to be callable from (preemptible or non-preemptible) process
|
| 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/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/kernel/rcu/ |
| H A D | update.c | 126 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held() 390 return !preemptible(); in rcu_read_lock_any_held()
|
| H A D | tree_plugin.h | 32 ((!(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible()) || softirq_count()) && in rcu_rdp_is_offloaded() 300 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!\n"); in rcu_qs() 786 …RCU_LOCKDEP_WARN(preemptible(), "rcu_preempt_check_blocked_tasks() invoked with preemption enabled… in rcu_preempt_check_blocked_tasks() 952 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!"); in rcu_qs()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.c | 168 tx_ring->preemptible = false; in igc_fpe_clear_preempt_queue() 201 tx_ring->preemptible = !!(preemptible_queue & BIT(i)); in igc_fpe_save_preempt_queue() 508 } else if (ring->preemptible) { in igc_tsn_enable_offload()
|