| /Linux-v5.4/kernel/ |
| D | test_kprobes.c | 28 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()
|
| D | Kconfig.preempt | 46 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/ |
| 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() 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()
|
| D | debug-monitors.c | 84 WARN_ON(preemptible()); in enable_debug_monitors() 105 WARN_ON(preemptible()); in disable_debug_monitors()
|
| D | fpsimd.c | 196 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/ |
| 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-v5.4/include/linux/ |
| D | preempt.h | 183 #define preemptible() (preempt_count() == 0 && !irqs_disabled()) macro 251 #define preemptible() 0 macro
|
| D | rcupdate.h | 243 return !preemptible(); in rcu_read_lock_sched_held() 248 return !preemptible(); in rcu_read_lock_any_held()
|
| D | kprobes.h | 473 if (preemptible()) in kprobe_page_fault()
|
| /Linux-v5.4/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
| D | preempt.h | 38 static inline bool preemptible(void) in preemptible() function
|
| D | percpu.h | 68 BUG_ON(preemptible()); \
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | mmu_context.h | 177 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt() 354 VM_WARN_ON(in_nmi() || preemptible()); in __get_current_cr3_fast()
|
| D | tlbflush.h | 409 WARN_ON_ONCE(preemptible()); in __native_flush_tlb() 482 VM_WARN_ON_ONCE(preemptible()); in __flush_tlb_all()
|
| D | desc.h | 312 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit() 329 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
|
| /Linux-v5.4/drivers/firmware/ |
| D | arm_sdei.c | 308 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/ |
| D | traps.h | 72 WARN_ON(preemptible()); in arm64_is_ras_serror()
|
| D | stacktrace.h | 150 if (tsk != current || preemptible()) in on_accessible_stack()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | paravirt.c | 253 BUG_ON(preemptible()); in paravirt_start_context_switch() 264 BUG_ON(preemptible()); in paravirt_end_context_switch()
|
| /Linux-v5.4/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-v5.4/tools/testing/scatterlist/linux/ |
| D | mm.h | 76 #define preemptible() (1) macro
|
| /Linux-v5.4/drivers/xen/ |
| D | time.c | 60 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
|
| /Linux-v5.4/drivers/irqchip/ |
| D | irq-gic-v4.c | 145 WARN_ON(preemptible()); in its_schedule_vpe()
|
| /Linux-v5.4/kernel/rcu/ |
| D | update.c | 122 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held() 322 return !preemptible(); in rcu_read_lock_any_held()
|
| D | Kconfig | 64 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/ |
| D | preempt-locking.txt | 12 A preemptible kernel creates new locking issues. The issues are the same as 13 those under SMP: concurrency and reentrancy. Thankfully, the Linux preemptible
|