| /linux/lib/tests/ |
| H A D | test_fprobe.c | 39 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler() 60 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler() 199 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_only_handler() 213 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fprobe_entry_multi_handler() 229 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fprobe_exit_multi_handler()
|
| /linux/kernel/ |
| H A D | Kconfig.preempt | 63 preemptible. This allows reaction to interactive events by 96 preemptible priority-inheritance aware variants, enforcing 98 non-preemptible sections. This makes the kernel, except for very 100 level interrupt handling) fully preemptible and brings most 111 the softirq is preemptible. This enforces the same per-CPU BLK 116 this if you suspect an error with preemptible softirq and want test
|
| H A D | softirq.c | 167 if (preemptible()) { in __local_bh_disable_ip() 260 bool preempt_on = preemptible(); in __local_bh_enable_ip()
|
| /linux/arch/arm64/kernel/ |
| H A D | proton-pack.c | 199 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 304 WARN_ON(preemptible()); in spectre_v2_enable_mitigation() 328 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 505 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 637 WARN_ON(preemptible()); in spectre_v4_enable_mitigation() 975 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
|
| H A D | cpu_errata.c | 77 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range() 94 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list() 103 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr() 120 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type() 246 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_neoverse_n1_erratum_1542419()
|
| H A D | debug-monitors.c | 88 WARN_ON(preemptible()); in enable_debug_monitors() 109 WARN_ON(preemptible()); in disable_debug_monitors()
|
| /linux/drivers/irqchip/ |
| H A D | irq-gic-v4.c | 240 WARN_ON(preemptible()); in its_make_vpe_non_resident() 266 WARN_ON(preemptible()); in its_make_vpe_resident() 291 WARN_ON(preemptible()); in its_commit_vpe()
|
| /linux/arch/x86/xen/ |
| H A D | multicalls.c | 151 BUG_ON(preemptible()); in xen_mc_flush() 227 BUG_ON(preemptible()); in __xen_mc_entry() 259 BUG_ON(preemptible()); in xen_mc_extend_args()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | local_ops.rst | 150 /* Increment the counter from a non preemptible context */ 155 * preemptible context (it disables preemption) :
|
| /linux/include/linux/ |
| H A D | seqlock.h | 144 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \ argument 165 if (preemptible && unlikely(seq & 1)) { \ 183 return preemptible; \ 262 #define seqprop_preemptible(s) __seqprop(s, preemptible)(s)
|
| H A D | seqlock_types.h | 62 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \ argument
|
| H A D | rcupdate.h | 368 return !preemptible(); in rcu_read_lock_sched_held() 373 return !preemptible(); in rcu_read_lock_any_held() 479 preemptible()))
|
| H A D | kprobes.h | 587 if (preemptible()) in kprobe_page_fault()
|
| /linux/arch/arm64/include/asm/ |
| H A D | archrandom.h | 64 if (unlikely(!system_capabilities_finalized() && !preemptible())) in __cpu_has_rng()
|
| /linux/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) :
|
| /linux/kernel/rcu/ |
| H A D | update.c | 126 return lock_is_held(&rcu_sched_lock_map) || !preemptible(); in rcu_read_lock_sched_held() 390 return !preemptible(); in rcu_read_lock_any_held()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.c | 168 tx_ring->preemptible = false; in igc_fpe_clear_preempt_queue() 201 tx_ring->preemptible = !!(preemptible_queue & BIT(i)); in igc_fpe_save_preempt_queue() 508 } else if (ring->preemptible) { in igc_tsn_enable_offload()
|
| /linux/drivers/xen/ |
| H A D | time.c | 61 BUG_ON(preemptible()); in xen_get_runstate_snapshot_cpu_delta()
|
| /linux/Documentation/locking/ |
| H A D | preempt-locking.rst | 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
|
| /linux/arch/arm64/kvm/ |
| H A D | debug.c | 256 return (WARN_ON_ONCE(preemptible()) || skip_condition || in skip_trbe_access()
|
| /linux/arch/x86/mm/ |
| H A D | tlb.c | 1581 VM_WARN_ON(in_nmi() || preemptible()); in __get_current_cr3_fast() 1694 WARN_ON_ONCE(preemptible()); in native_flush_tlb_local() 1716 VM_WARN_ON_ONCE(preemptible()); in __flush_tlb_all()
|
| /linux/Documentation/RCU/ |
| H A D | UP.rst | 110 preemptible RCU? 146 running preemptible RCU?
|
| /linux/arch/powerpc/kernel/ |
| H A D | process.c | 209 WARN_ON(preemptible()); in enable_kernel_fp() 260 WARN_ON(preemptible()); in enable_kernel_altivec() 330 WARN_ON(preemptible()); in enable_kernel_vsx() 379 WARN_ON(preemptible()); in enable_kernel_spe()
|
| /linux/Documentation/mm/ |
| H A D | highmem.rst | 125 Each call of kmap_atomic() in the kernel creates a non-preemptible section 149 available. Therefore, kmap() is only callable from preemptible context.
|
| /linux/Documentation/admin-guide/thermal/ |
| H A D | intel_powerclamp.rst | 90 scheme to work for both preemptible and non-preemptible kernels.
|