/linux-6.6.21/lib/ |
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()
|
D | test_fprobe.c | 45 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler() 66 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler() 86 KUNIT_EXPECT_FALSE(current_test, preemptible()); in nest_entry_handler() 94 KUNIT_EXPECT_FALSE(current_test, preemptible()); in nest_exit_handler()
|
/linux-6.6.21/arch/x86/xen/ |
D | multicalls.c | 64 BUG_ON(preemptible()); in xen_mc_flush() 146 BUG_ON(preemptible()); in __xen_mc_entry() 174 BUG_ON(preemptible()); in xen_mc_extend_args()
|
/linux-6.6.21/arch/arm64/kernel/ |
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() 209 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
|
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() 635 WARN_ON(preemptible()); in spectre_v4_enable_mitigation() 948 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
|
D | debug-monitors.c | 84 WARN_ON(preemptible()); in enable_debug_monitors() 105 WARN_ON(preemptible()); in disable_debug_monitors()
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-gic-v4.c | 239 WARN_ON(preemptible()); in its_make_vpe_non_resident() 265 WARN_ON(preemptible()); in its_make_vpe_resident() 290 WARN_ON(preemptible()); in its_commit_vpe()
|
/linux-6.6.21/kernel/ |
D | Kconfig.preempt | 58 preemptible. This allows reaction to interactive events by 77 preemptible priority-inheritance aware variants, enforcing 79 non-preemptible sections. This makes the kernel, except for very 81 level interrupt handling) fully preemptible and brings most
|
/linux-6.6.21/include/linux/ |
D | preempt.h | 227 #define preemptible() (preempt_count() == 0 && !irqs_disabled()) macro 295 #define preemptible() 0 macro
|
D | seqlock.h | 198 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockmember, lockbase, lock_acquire) \ argument 218 if (preemptible && unlikely(seq & 1)) { \ 236 return preemptible; \ 308 #define seqprop_preemptible(s) __seqprop(s, preemptible)
|
D | rcuref.h | 81 RCU_LOCKDEP_WARN(!rcu_read_lock_held() && preemptible(), in __rcuref_put()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | local_ops.rst | 150 /* Increment the counter from a non preemptible context */ 155 * preemptible context (it disables preemption) :
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | traps.h | 63 WARN_ON(preemptible()); in arm64_is_ras_serror()
|
D | archrandom.h | 64 if (unlikely(!system_capabilities_finalized() && !preemptible())) in __cpu_has_rng()
|
D | efi.h | 48 (!preemptible() && efi_rt_stack_top != NULL && \
|
/linux-6.6.21/drivers/i2c/ |
D | i2c-core.h | 34 (IS_ENABLED(CONFIG_PREEMPT_COUNT) ? !preemptible() : irqs_disabled()); in i2c_in_atomic_xfer_mode()
|
/linux-6.6.21/drivers/firmware/ |
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-6.6.21/kernel/rcu/ |
D | update.c | 125 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held() 389 return !preemptible(); in rcu_read_lock_any_held()
|
D | tree_plugin.h | 32 !(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible())) || in rcu_rdp_is_offloaded() 288 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!\n"); in rcu_qs() 697 …RCU_LOCKDEP_WARN(preemptible(), "rcu_preempt_check_blocked_tasks() invoked with preemption enabled… in rcu_preempt_check_blocked_tasks() 850 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!"); in rcu_qs()
|
/linux-6.6.21/Documentation/core-api/ |
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-6.6.21/arch/x86/include/asm/ |
D | desc.h | 328 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit() 345 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
|
/linux-6.6.21/drivers/xen/ |
D | time.c | 61 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
|
/linux-6.6.21/include/linux/sched/ |
D | task.h | 132 if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) { in put_task_struct()
|
/linux-6.6.21/Documentation/locking/ |
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
|
/linux-6.6.21/arch/x86/mm/ |
D | tlb.c | 1101 VM_WARN_ON(in_nmi() || preemptible()); in __get_current_cr3_fast() 1214 WARN_ON_ONCE(preemptible()); in native_flush_tlb_local() 1236 VM_WARN_ON_ONCE(preemptible()); in __flush_tlb_all()
|