| /OK3568_Linux_fs/kernel/kernel/ |
| H A 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()
|
| H A 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
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H 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() 195 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
|
| H A 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() 647 WARN_ON(preemptible()); in spectre_v4_enable_mitigation() 960 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
|
| H A D | debug-monitors.c | 84 WARN_ON(preemptible()); in enable_debug_monitors() 105 WARN_ON(preemptible()); in disable_debug_monitors()
|
| H A D | fpsimd.c | 209 return !preemptible() && __this_cpu_read(fpsimd_context_busy); in have_cpu_fpsimd_context() 1242 WARN_ON(preemptible()); in fpsimd_save_and_flush_cpu_state() 1331 WARN_ON(preemptible()); in __efi_fpsimd_begin()
|
| /OK3568_Linux_fs/kernel/arch/x86/xen/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/irqchip/ |
| H A D | irq-gic-v4.c | 219 WARN_ON(preemptible()); in its_make_vpe_non_resident() 245 WARN_ON(preemptible()); in its_make_vpe_resident() 270 WARN_ON(preemptible()); in its_commit_vpe()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | preempt.h | 183 #define preemptible() (preempt_count() == 0 && !irqs_disabled()) macro 251 #define preemptible() 0 macro
|
| H 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 __seqcount_lock_preemptible(s) __seqprop(s, preemptible)
|
| H A D | rcupdate.h | 293 return !preemptible(); in rcu_read_lock_sched_held() 298 return !preemptible(); in rcu_read_lock_any_held()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/ |
| H A D | arm_sdei.c | 305 WARN_ON_ONCE(preemptible()); in sdei_mask_local_cpu() 326 WARN_ON_ONCE(preemptible()); in sdei_unmask_local_cpu() 393 WARN_ON_ONCE(preemptible()); in _local_event_enable() 483 WARN_ON_ONCE(preemptible()); in _local_event_unregister() 565 WARN_ON(preemptible()); in _local_event_register()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
| H A D | preempt.h | 38 static inline bool preemptible(void) in preemptible() function
|
| H A D | percpu.h | 68 BUG_ON(preemptible()); \
|
| /OK3568_Linux_fs/kernel/kernel/rcu/ |
| H A D | update.c | 123 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held() 348 return !preemptible(); in rcu_read_lock_any_held()
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | traps.h | 62 WARN_ON(preemptible()); in arm64_is_ras_serror()
|
| H A D | stacktrace.h | 139 if (tsk != current || preemptible()) in on_accessible_stack()
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| 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) :
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | paravirt.c | 235 BUG_ON(preemptible()); in paravirt_start_context_switch() 246 BUG_ON(preemptible()); in paravirt_end_context_switch()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-rt/rt-tests/ |
| H A D | rt-tests_git.bb | 3 … PREEMPT_RT patch is to minimize the amount of kernel code that is non-preemptible Therefore sever…
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/ |
| H A D | tlb.c | 977 VM_WARN_ON(in_nmi() || preemptible()); in __get_current_cr3_fast() 1087 WARN_ON_ONCE(preemptible()); in native_flush_tlb_local() 1109 VM_WARN_ON_ONCE(preemptible()); in __flush_tlb_all()
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | desc.h | 307 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit() 324 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
|
| H A D | mmu_context.h | 90 DEBUG_LOCKS_WARN_ON(preemptible()); in switch_ldt()
|
| /OK3568_Linux_fs/kernel/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 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
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A D | time.c | 60 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
|