Searched refs:preemptible (Results 1 - 25 of 46) sorted by last modified time

12

/linux-master/arch/x86/kvm/
H A Dlapic.c2096 WARN_ON(preemptible());
2108 WARN_ON(preemptible());
2148 WARN_ON(preemptible());
/linux-master/kernel/irq/
H A Dmanage.c129 * Can only be called from preemptible code as it might sleep when
735 * Can only be called from preemptible code as it might sleep when
1210 * preemptible - many of them need to sleep and wait for slow busses to
2729 * As a CPU local operation, this should be called from non-preemptible
2741 WARN_ON(preemptible());
2775 * As a CPU local operation, this should be called from non-preemptible
2783 WARN_ON(preemptible());
/linux-master/kernel/sched/
H A Dcore.c5438 * - from a non-preemptible section (of course)
6597 * - If the kernel is preemptible (CONFIG_PREEMPTION=y):
6604 * preemptible context
6606 * - If the kernel is not preemptible (CONFIG_PREEMPTION is not set)
6947 if (likely(!preemptible()))
6993 if (likely(!preemptible()))
8594 * In preemptible kernels, ->rcu_read_lock_nesting tells the tick
8597 * in kernel context. In contrast, in non-preemptible kernels,
/linux-master/include/linux/
H A Drcupdate.h366 return !preemptible();
371 return !preemptible();
768 * In non-preemptible RCU implementations (pure TREE_RCU and TINY_RCU),
770 * In preemptible RCU implementations (PREEMPT_RCU) in CONFIG_PREEMPTION
772 * but explicit blocking is illegal. Finally, in preemptible RCU
H A Dseqlock.h141 * @preemptible: preemptibility of above locktype
144 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \
165 if (preemptible && unlikely(seq & 1)) { \
183 return preemptible; \
262 #define seqprop_preemptible(s) __seqprop(s, preemptible)(s)
478 * non-preemptible. Preemption will be automatically disabled if and
480 * preemptible. If readers can be invoked from hardirq or softirq
503 * the seqcount write serialization lock is associated, and preemptible.
598 * As the write sections are fully preemptible, no special handling for
814 * automatically serialized and non-preemptible
[all...]
H A Dseqlock_types.h14 * Write side critical sections must be serialized and non-preemptible.
46 * To remain preemptible while avoiding a possible livelock caused by the
62 #define SEQCOUNT_LOCKNAME(lockname, locktype, preemptible, lockbase) \
/linux-master/kernel/trace/
H A Dtrace.h913 hash = rcu_dereference_protected(ftrace_graph_hash, !preemptible());
967 !preemptible());
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-init.c550 BUG_ON(preemptible());
/linux-master/arch/arm64/kernel/
H A Dcpufeature.c1573 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible());
3041 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible());
3417 if (!WARN_ON(preemptible()) && n < ARM64_NCAPS) {
H A Dfpsimd.c222 * preemptible. Disabling preemption is the right choice here as bottom
359 WARN_ON(preemptible());
447 WARN_ON(preemptible());
1876 WARN_ON(preemptible());
1924 * mode FPSIMD, but the task will not be preemptible so setting
2002 WARN_ON(preemptible());
H A Dstacktrace.c180 * non-preemptible context.
184 ((task == current) && !preemptible()) \
H A Dcpu_errata.c23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
193 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
/linux-master/arch/x86/xen/
H A Dmmu_pv.c1349 BUG_ON(preemptible());
1389 BUG_ON(preemptible());
H A Denlighten_pv.c381 BUG_ON(preemptible());
392 BUG_ON(preemptible());
/linux-master/arch/x86/mm/
H A Dtlb.c1098 VM_WARN_ON(in_nmi() || preemptible());
1211 WARN_ON_ONCE(preemptible());
1233 VM_WARN_ON_ONCE(preemptible());
/linux-master/arch/arm64/include/asm/
H A Darchrandom.h64 if (unlikely(!system_capabilities_finalized() && !preemptible()))
/linux-master/kernel/
H A Dsoftirq.c153 if (preemptible()) {
206 bool preempt_on = preemptible();
229 * If this was called from non preemptible context, wake up the
/linux-master/kernel/rcu/
H A Dtree_plugin.h5 * or preemptible semantics.
23 * non-preemptible reads are also safe. NOCB kthreads and
32 !(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible())) ||
270 * Record a preemptible-RCU quiescent state for the specified CPU.
280 * Unlike non-preemptible-RCU, quiescent state reports for expedited
288 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!\n");
697 RCU_LOCKDEP_WARN(preemptible(), "rcu_preempt_check_blocked_tasks() invoked with preemption enabled!!!\n");
749 * Check for a task exiting while in a preemptible-RCU read-side
850 RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!");
910 * Because preemptible RC
[all...]
H A Dupdate.c126 return lock_is_held(&rcu_sched_lock_map) || !preemptible();
299 .wait_type_inner = LD_WAIT_CONFIG, /* PREEMPT_RT makes BH preemptible. */
390 return !preemptible();
/linux-master/arch/x86/kernel/
H A Dtraps.c626 * from kprobe_running(), we have to be non-preemptible.
628 if (!preemptible() && kprobe_running() &&
H A Dldt.c113 DEBUG_LOCKS_WARN_ON(preemptible());
/linux-master/arch/x86/include/asm/
H A Ddesc.h329 DEBUG_LOCKS_WARN_ON(preemptible());
346 DEBUG_LOCKS_WARN_ON(preemptible());
/linux-master/arch/sparc/kernel/
H A Dsmp_64.c1448 WARN_ON_ONCE(preemptible());
/linux-master/arch/arm/vfp/
H A Dvfpmodule.c60 * Must be called from non-preemptible context.
74 * clear vfp_current_hw_state. Must be called from non-preemptible context.
147 * - not preemptible as we're called in the middle of a thread switch
423 BUG_ON(preemptible());
/linux-master/include/linux/sched/
H A Dtask.h132 * Under RT, we can only call it in preemptible context.
134 if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) {

Completed in 330 milliseconds

12