/linux/lib/ |
A D | test_kprobes.c | 32 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler() 40 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler() 144 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler() 153 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler() 220 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_return_handler() 281 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_internal_return_handler()
|
/linux/arch/arm64/kernel/ |
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()
|
A D | proton-pack.c | 164 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 266 WARN_ON(preemptible()); in spectre_v2_enable_mitigation() 290 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 472 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 604 WARN_ON(preemptible()); in spectre_v4_enable_mitigation()
|
A D | debug-monitors.c | 84 WARN_ON(preemptible()); in enable_debug_monitors() 105 WARN_ON(preemptible()); in disable_debug_monitors()
|
/linux/arch/x86/xen/ |
A 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/kernel/ |
A 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/drivers/irqchip/ |
A D | irq-gic-v4.c | 242 WARN_ON(preemptible()); in its_make_vpe_non_resident() 268 WARN_ON(preemptible()); in its_make_vpe_resident() 293 WARN_ON(preemptible()); in its_commit_vpe()
|
/linux/include/linux/ |
A D | preempt.h | 215 #define preemptible() (preempt_count() == 0 && !irqs_disabled()) macro 283 #define preemptible() 0 macro
|
A D | seqlock.h | 200 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockmember, lockbase, lock_acquire) \ argument 220 if (preemptible && unlikely(seq & 1)) { \ 238 return preemptible; \ 312 #define seqprop_preemptible(s) __seqprop(s, preemptible)
|
A D | rcupdate.h | 299 return !preemptible(); in rcu_read_lock_sched_held() 304 return !preemptible(); in rcu_read_lock_any_held()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | local_ops.rst | 150 /* Increment the counter from a non preemptible context */ 155 * preemptible context (it disables preemption) :
|
/linux/drivers/firmware/ |
A D | arm_sdei.c | 304 WARN_ON_ONCE(preemptible()); in sdei_mask_local_cpu() 325 WARN_ON_ONCE(preemptible()); in sdei_unmask_local_cpu() 392 WARN_ON_ONCE(preemptible()); in _local_event_enable() 482 WARN_ON_ONCE(preemptible()); in _local_event_unregister() 564 WARN_ON(preemptible()); in _local_event_register()
|
/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
A D | preempt.h | 38 static inline bool preemptible(void) in preemptible() function
|
A D | percpu.h | 68 BUG_ON(preemptible()); \
|
/linux/kernel/rcu/ |
A D | update.c | 125 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held() 350 return !preemptible(); in rcu_read_lock_any_held()
|
A D | tree_plugin.h | 32 !(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible())) || in rcu_rdp_is_offloaded() 284 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!\n"); in rcu_qs() 685 …RCU_LOCKDEP_WARN(preemptible(), "rcu_preempt_check_blocked_tasks() invoked with preemption enabled… in rcu_preempt_check_blocked_tasks() 842 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!"); in rcu_qs()
|
/linux/arch/x86/kernel/ |
A D | paravirt.c | 214 BUG_ON(preemptible()); in paravirt_start_context_switch() 225 BUG_ON(preemptible()); in paravirt_end_context_switch()
|
/linux/arch/arm64/include/asm/ |
A D | traps.h | 62 WARN_ON(preemptible()); in arm64_is_ras_serror()
|
A D | stacktrace.h | 137 if (tsk != current || preemptible()) in on_accessible_stack()
|
/linux/Documentation/core-api/ |
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/arch/x86/include/asm/ |
A D | desc.h | 328 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit() 345 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
|
A D | mmu_context.h | 90 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
|
/linux/arch/x86/mm/ |
A D | tlb.c | 1080 VM_WARN_ON(in_nmi() || preemptible()); in __get_current_cr3_fast() 1190 WARN_ON_ONCE(preemptible()); in native_flush_tlb_local() 1212 VM_WARN_ON_ONCE(preemptible()); in __flush_tlb_all()
|
/linux/Documentation/locking/ |
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 416 fully preemptible context. Instead, use spin_lock_irq() or 444 the same CPU while the task remains preemptible. 486 fully preemptible and therefore cannot be invoked from truly atomic
|
/linux/drivers/xen/ |
A D | time.c | 61 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
|