Home
last modified time | relevance | path

Searched refs:preempt (Results 1 – 25 of 3226) sorted by relevance

12345678910>>...130

/linux/arch/arm64/include/asm/
A Dpreempt.h12 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count()
18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set()
31 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched()
36 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched()
41 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched()
46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add()
48 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add()
53 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub()
55 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub()
64 WRITE_ONCE(ti->preempt.count, --pc); in __preempt_count_dec_and_test()
A Dthread_info.h39 } preempt; member
/linux/tools/testing/selftests/ftrace/test.d/preemptirq/
A Dirqsoff_tracer.tc36 modprobe $MOD test_mode=preempt delay=500000 || fail
38 modprobe $MOD test_mode=preempt delay=500000 || fail
40 modprobe $MOD test_mode=preempt delay=500000 || fail
/linux/Documentation/locking/
A Dpreempt-locking.rst53 Note, some FPU functions are already explicitly preempt safe. For example,
77 preempt_enable() decrement the preempt counter
78 preempt_disable() increment the preempt counter
79 preempt_enable_no_resched() decrement, but do not immediately preempt
81 preempt_count() return the preempt counter
85 call to preempt_enable. The preempt statements define to nothing if
94 a reschedule if the preempt count is 0. A simple printk() might trigger a
121 This code is not preempt-safe, but see how easily we can fix it by simply
A Dindex.rst20 preempt-locking
/linux/drivers/gpu/drm/msm/adreno/
A Da5xx_preempt.c135 a5xx_gpu->preempt[ring->id]->wptr = get_wptr(ring); in a5xx_preempt_trigger()
208 a5xx_gpu->preempt[i]->wptr = 0; in a5xx_preempt_hw_init()
209 a5xx_gpu->preempt[i]->rptr = 0; in a5xx_preempt_hw_init()
210 a5xx_gpu->preempt[i]->rbase = gpu->rb[i]->iova; in a5xx_preempt_hw_init()
253 a5xx_gpu->preempt[ring->id] = ptr; in preempt_init_ring()
A Da5xx_gpu.h35 struct a5xx_preempt_record *preempt[MSM_GPU_MAX_RINGS]; member
/linux/include/linux/
A Drcupdate.h158 # define rcu_tasks_classic_qs(t, preempt) \ argument
160 if (!(preempt) && READ_ONCE((t)->rcu_tasks_holdout)) \
166 # define rcu_tasks_classic_qs(t, preempt) do { } while (0) argument
184 #define rcu_tasks_qs(t, preempt) \ argument
186 rcu_tasks_classic_qs((t), (preempt)); \
199 #define rcu_tasks_qs(t, preempt) do { } while (0) argument
A Drcutiny.h61 #define rcu_note_context_switch(preempt) \ argument
64 rcu_tasks_qs(current, (preempt)); \
A Drcutree.h21 void rcu_note_context_switch(bool preempt);
A Dparport.h142 int (*preempt)(void *); member
362 int (*preempt)(void *); member
/linux/tools/lib/traceevent/Documentation/
A Dlibtraceevent-event_print.txt54 . : The preempt count is zero.
57 preempt count, when non zero, will prevent the kernel
58 from scheduling out the current task. The preempt count
/linux/include/trace/events/
A Dsched.h190 static inline long __trace_sched_switch_state(bool preempt, struct task_struct *p) in __trace_sched_switch_state() argument
202 if (preempt) in __trace_sched_switch_state()
222 TP_PROTO(bool preempt,
226 TP_ARGS(preempt, prev, next),
242 __entry->prev_state = __trace_sched_switch_state(preempt, prev);
/linux/drivers/parport/
A Dshare.c707 if (!par_dev_cb->preempt || !par_dev_cb->wakeup) { in parport_register_dev_model()
748 par_dev->preempt = par_dev_cb->preempt; in parport_register_dev_model()
992 if (oldcad->preempt) { in parport_claim()
993 if (oldcad->preempt(oldcad->private)) in parport_claim()
/linux/kernel/rcu/
A Dtree_plugin.h308 void rcu_note_context_switch(bool preempt) in rcu_note_context_switch() argument
316 …WARN_ONCE(!preempt && rcu_preempt_depth() > 0, "Voluntary context switch within RCU read-side crit… in rcu_note_context_switch()
355 rcu_tasks_qs(current, preempt); in rcu_note_context_switch()
887 void rcu_note_context_switch(bool preempt) in rcu_note_context_switch() argument
897 rcu_tasks_qs(current, preempt); in rcu_note_context_switch()
/linux/Documentation/trace/
A Dftrace.rst908 # ||| / _--=> preempt-depth
973 preempt-depth: The level of preempt_disabled
1380 # ||| / _--=> preempt-depth
1431 # ||| / _--=> preempt-depth
1547 before it can preempt a lower priority task.
1579 # ||| / _--=> preempt-depth
1617 # ||| / _--=> preempt-depth
1731 # ||| / _--=> preempt-depth
1784 # ||| / _--=> preempt-depth
1897 # ||| / _--=> preempt-depth
[all …]
A Dring-buffer-design.rst98 same time, nor can a reader preempt/interrupt another reader. A reader
99 cannot preempt/interrupt a writer, but it may read/consume from the
104 A writer can preempt a reader, but a reader cannot preempt a writer.
486 and writes only preempt in "stack" formation.
604 must spin, and this is why the reader cannot preempt the writer::
657 As stated before, if enough writes preempt the first write, the
A Dtimerlat-tracer.rst31 # || / _--=> preempt-depth
140 noise causes the major factor for the timer latency, because of preempt or
/linux/arch/um/include/asm/
A DKbuild21 generic-y += preempt.h
/linux/kernel/trace/
A Dtrace_sched_switch.c24 probe_sched_switch(void *ignore, bool preempt, in probe_sched_switch() argument
/linux/Documentation/power/
A Dtricks.rst12 * turn off APIC and preempt
/linux/drivers/gpu/drm/i915/gt/
A Dselftest_lrc.c578 bool preempt) in __live_lrc_gpr() argument
608 if (preempt) { in __live_lrc_gpr()
759 static int __lrc_timestamp(const struct lrc_timestamp *arg, bool preempt) in __lrc_timestamp() argument
775 if (preempt) { in __lrc_timestamp()
792 arg->engine->name, preempt ? "preempt" : "simple", in __lrc_timestamp()
800 arg->engine->name, preempt ? "preempt" : "simple", in __lrc_timestamp()
/linux/Documentation/RCU/Design/Expedited-Grace-Periods/
A DExpedited-Grace-Periods.rst13 There are two flavors of RCU (RCU-preempt and RCU-sched), with an earlier
38 RCU-preempt Expedited Grace Periods
41 ``CONFIG_PREEMPTION=y`` kernels implement RCU-preempt.
42 The overall flow of the handling of a given CPU by an RCU-preempt
121 As with RCU-preempt, RCU-sched's ``synchronize_rcu_expedited()`` ignores
132 NEED_RESCHED flag of the current task's thread flag and the CPU preempt
235 For RCU-preempt, there is no specific check for idle in the IPI handler
507 idle CPUs, at least in the common case. RCU-preempt and RCU-sched use
/linux/include/asm-generic/
A DKbuild47 mandatory-y += preempt.h
/linux/arch/mips/kernel/
A Dentry.S32 local_irq_disable # preempt stop

Completed in 50 milliseconds

12345678910>>...130