| /linux/lib/tests/ |
| H A D | test_kprobes.c | 44 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler() 55 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler() 179 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler() 188 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler() 252 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_return_handler() 311 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_internal_return_handler()
|
| 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 | 66 preemptible. This allows reaction to interactive events by 99 preemptible priority-inheritance aware variants, enforcing 101 non-preemptible sections. This makes the kernel, except for very 103 level interrupt handling) fully preemptible and brings most 114 the softirq is preemptible. This enforces the same per-CPU BLK 119 this if you suspect an error with preemptible softirq and want test
|
| /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/arch/arm64/include/asm/ |
| H A D | archrandom.h | 64 if (unlikely(!system_capabilities_finalized() && !preemptible())) in __cpu_has_rng()
|
| /linux/drivers/i2c/ |
| H A D | i2c-core.h | 35 (IS_ENABLED(CONFIG_PREEMPT_COUNT) ? !preemptible() : irqs_disabled()); in i2c_in_atomic_xfer_mode()
|
| /linux/include/linux/ |
| H A D | rcupdate.h | 346 return !preemptible(); in rcu_read_lock_sched_held() 351 return !preemptible(); in rcu_read_lock_any_held() 458 preemptible(), RCU))
|
| H A D | kprobes.h | 587 if (preemptible()) in kprobe_page_fault()
|
| /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/tools/sched_ext/ |
| H A D | Kconfig | 36 # Enable fully preemptible kernel for a better test coverage of the schedulers
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.c | 175 tx_ring->preemptible = false; in igc_fpe_clear_preempt_queue() 210 tx_ring->preemptible = !!(preemptible_queue & BIT(i)); in igc_fpe_save_preempt_queue() 517 } 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/arch/x86/include/asm/ |
| H A D | desc.h | 328 DEBUG_LOCKS_WARN_ON(preemptible()); in refresh_tss_limit() 345 DEBUG_LOCKS_WARN_ON(preemptible()); in invalidate_tss_limit()
|
| /linux/kernel/rcu/ |
| H A D | tree_plugin.h | 32 ((!(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible()) || softirq_count()) && in rcu_rdp_is_offloaded() 300 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!\n"); in rcu_qs() 814 …RCU_LOCKDEP_WARN(preemptible(), "rcu_preempt_check_blocked_tasks() invoked with preemption enabled… in rcu_preempt_check_blocked_tasks() 978 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!"); in rcu_qs()
|
| H A D | Kconfig | 60 This option selects the single-CPU non-preemptible version of SRCU. 239 block the current preemptible RCU grace period for too long.
|
| /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
|
| H A D | pi-futex.rst | 60 non-preemptible in a critical section, so the 'use spinlocks' argument
|
| /linux/arch/arm64/kernel/ |
| H A D | fpsimd.c | 367 WARN_ON(preemptible()); in task_fpsimd_load() 456 WARN_ON(preemptible()); in fpsimd_save_user_state() 1859 WARN_ON(preemptible()); in fpsimd_save_and_flush_cpu_state() 1895 WARN_ON((preemptible() || in_serving_softirq()) && !state); in kernel_neon_begin()
|
| H A D | stacktrace.c | 309 ((task == current) && !preemptible()) \
|
| /linux/Documentation/RCU/ |
| H A D | UP.rst | 110 preemptible RCU? 146 running preemptible RCU?
|
| /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.
|
| /linux/arch/arm/vfp/ |
| H A D | vfpmodule.c | 457 BUG_ON(preemptible()); in vfp_enable()
|