Home
last modified time | relevance | path

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

12

/Linux-v5.4/kernel/
Dtest_kprobes.c28 if (preemptible()) { in kp_pre_handler()
39 if (preemptible()) { in kp_post_handler()
161 if (preemptible()) { in entry_handler()
173 if (preemptible()) { in return_handler()
DKconfig.preempt46 preemptible. This allows reaction to interactive events by
65 preemptible priority-inheritance aware variants, enforcing
67 non-preemptible sections. This makes the kernel, except for very
69 level interrupt handling) fully preemptible and brings most
/Linux-v5.4/arch/arm64/kernel/
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()
378 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_ssbd_mitigation()
507 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_cortex_a76_erratum_1463225()
590 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in check_branch_predictor()
Ddebug-monitors.c84 WARN_ON(preemptible()); in enable_debug_monitors()
105 WARN_ON(preemptible()); in disable_debug_monitors()
Dfpsimd.c196 return !preemptible() && __this_cpu_read(fpsimd_context_busy); in have_cpu_fpsimd_context()
1206 WARN_ON(preemptible()); in fpsimd_save_and_flush_cpu_state()
1295 WARN_ON(preemptible()); in __efi_fpsimd_begin()
/Linux-v5.4/arch/x86/xen/
Dmulticalls.c64 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-v5.4/include/linux/
Dpreempt.h183 #define preemptible() (preempt_count() == 0 && !irqs_disabled()) macro
251 #define preemptible() 0 macro
Drcupdate.h243 return !preemptible(); in rcu_read_lock_sched_held()
248 return !preemptible(); in rcu_read_lock_any_held()
Dkprobes.h473 if (preemptible()) in kprobe_page_fault()
/Linux-v5.4/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dpreempt.h38 static inline bool preemptible(void) in preemptible() function
Dpercpu.h68 BUG_ON(preemptible()); \
/Linux-v5.4/arch/x86/include/asm/
Dmmu_context.h177 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
354 VM_WARN_ON(in_nmi() || preemptible()); in __get_current_cr3_fast()
Dtlbflush.h409 WARN_ON_ONCE(preemptible()); in __native_flush_tlb()
482 VM_WARN_ON_ONCE(preemptible()); in __flush_tlb_all()
Ddesc.h312 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit()
329 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
/Linux-v5.4/drivers/firmware/
Darm_sdei.c308 WARN_ON_ONCE(preemptible()); in sdei_mask_local_cpu()
329 WARN_ON_ONCE(preemptible()); in sdei_unmask_local_cpu()
396 WARN_ON_ONCE(preemptible()); in _local_event_enable()
483 WARN_ON_ONCE(preemptible()); in _local_event_unregister()
573 WARN_ON(preemptible()); in _local_event_register()
/Linux-v5.4/arch/arm64/include/asm/
Dtraps.h72 WARN_ON(preemptible()); in arm64_is_ras_serror()
Dstacktrace.h150 if (tsk != current || preemptible()) in on_accessible_stack()
/Linux-v5.4/arch/x86/kernel/
Dparavirt.c253 BUG_ON(preemptible()); in paravirt_start_context_switch()
264 BUG_ON(preemptible()); in paravirt_end_context_switch()
/Linux-v5.4/Documentation/core-api/
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-v5.4/tools/testing/scatterlist/linux/
Dmm.h76 #define preemptible() (1) macro
/Linux-v5.4/drivers/xen/
Dtime.c60 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
/Linux-v5.4/drivers/irqchip/
Dirq-gic-v4.c145 WARN_ON(preemptible()); in its_schedule_vpe()
/Linux-v5.4/kernel/rcu/
Dupdate.c122 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held()
322 return !preemptible(); in rcu_read_lock_any_held()
DKconfig64 This option selects the single-CPU non-preemptible version of SRCU.
168 block the current preemptible RCU grace period for too long.
/Linux-v5.4/Documentation/
Dpreempt-locking.txt12 A preemptible kernel creates new locking issues. The issues are the same as
13 those under SMP: concurrency and reentrancy. Thankfully, the Linux preemptible

12