Home
last modified time | relevance | path

Searched refs:preempt (Results 1 - 25 of 261) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/arch/arm64/include/asm/
H 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 in __preempt_count_dec_and_test()
[all...]
H A Dsimd.h12 #include <linux/preempt.h>
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dpreempt.h13 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count()
19 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set()
32 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched()
37 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched()
42 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched()
47 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add()
49 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add()
54 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub()
56 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub()
65 WRITE_ONCE(ti->preempt in __preempt_count_dec_and_test()
[all...]
H A Dsimd.h12 #include <linux/preempt.h>
/kernel/linux/linux-6.6/init/
H A DMakefile27 preempt-flag-$(CONFIG_PREEMPT_BUILD) := PREEMPT
28 preempt-flag-$(CONFIG_PREEMPT_DYNAMIC) := PREEMPT_DYNAMIC
29 preempt-flag-$(CONFIG_PREEMPT_RT) := PREEMPT_RT
36 utsver=$$(echo '$(pound)'"$(build-version)" $(smp-flag-y) $(preempt-flag-y) "$(build-timestamp)" | cut -b -64); \
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
H A Da5xx_preempt.c108 /* Get the next ring to preempt to */ in a5xx_preempt_trigger()
120 * that the preempt state is not PREEMPT_NONE. in a5xx_preempt_trigger()
136 a5xx_gpu->preempt[ring->id]->wptr = get_wptr(ring); in a5xx_preempt_trigger()
210 a5xx_gpu->preempt[i]->wptr = 0; in a5xx_preempt_hw_init()
211 a5xx_gpu->preempt[i]->rptr = 0; in a5xx_preempt_hw_init()
212 a5xx_gpu->preempt[i]->rbase = gpu->rb[i]->iova; in a5xx_preempt_hw_init()
213 a5xx_gpu->preempt[i]->rptr_addr = shadowptr(a5xx_gpu, gpu->rb[i]); in a5xx_preempt_hw_init()
250 msm_gem_object_set_name(bo, "preempt"); in preempt_init_ring()
256 a5xx_gpu->preempt[ring->id] = ptr; in preempt_init_ring()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/
H A Da5xx_preempt.c107 /* Get the next ring to preempt to */ in a5xx_preempt_trigger()
119 * that the preempt state is not PREEMPT_NONE. in a5xx_preempt_trigger()
135 a5xx_gpu->preempt[ring->id]->wptr = get_wptr(ring); in a5xx_preempt_trigger()
207 a5xx_gpu->preempt[i]->wptr = 0; in a5xx_preempt_hw_init()
208 a5xx_gpu->preempt[i]->rptr = 0; in a5xx_preempt_hw_init()
209 a5xx_gpu->preempt[i]->rbase = gpu->rb[i]->iova; in a5xx_preempt_hw_init()
210 a5xx_gpu->preempt[i]->rptr_addr = shadowptr(a5xx_gpu, gpu->rb[i]); in a5xx_preempt_hw_init()
246 msm_gem_object_set_name(bo, "preempt"); in preempt_init_ring()
252 a5xx_gpu->preempt[ring->id] = ptr; in preempt_init_ring()
/kernel/linux/linux-6.6/include/linux/
H A Drcupdate.h27 #include <linux/preempt.h>
167 # define rcu_tasks_classic_qs(t, preempt) \
169 if (!(preempt) && READ_ONCE((t)->rcu_tasks_holdout)) \
175 # define rcu_tasks_classic_qs(t, preempt) do { } while (0)
204 #define rcu_tasks_qs(t, preempt) \
206 rcu_tasks_classic_qs((t), (preempt)); \
220 #define rcu_tasks_classic_qs(t, preempt) do { } while (0)
221 #define rcu_tasks_qs(t, preempt) do { } while (0)
H A Drcutiny.h130 #define rcu_note_context_switch(preempt) \
133 rcu_tasks_qs(current, (preempt)); \
H A Dpreempt.h6 * include/linux/preempt.h - macros for accessing and manipulating
79 #include <asm/preempt.h>
281 * Even if we don't have any preemption, we need preempt disable/enable
283 * that can cause faults and scheduling migrate into our preempt-protected
406 * per-cpu locking or short preempt-disable regions.
437 * preempt_disable_nested - Disable preemption inside a normally preempt disabled section
478 DEFINE_LOCK_GUARD_0(preempt, preempt_disable(), preempt_enable())
H A Dbottom_half.h6 #include <linux/preempt.h>
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchan.c141 CHAN_TRACE(chan, "preempt"); in nvkm_chan_preempt_locked()
142 chan->func->preempt(chan); in nvkm_chan_preempt_locked()
154 if (!chan->func->preempt) in nvkm_chan_preempt()
183 nvkm_chan_remove(struct nvkm_chan *chan, bool preempt) in nvkm_chan_remove() argument
188 if (preempt && chan->func->preempt) in nvkm_chan_remove()
228 nvkm_chan_error(struct nvkm_chan *chan, bool preempt) in nvkm_chan_error() argument
236 if (preempt) in nvkm_chan_error()
237 chan->func->preempt(chan); in nvkm_chan_error()
H A Dchan.h52 void (*preempt)(struct nvkm_chan *); member
63 void nvkm_chan_error(struct nvkm_chan *, bool preempt);
65 void nvkm_chan_remove(struct nvkm_chan *, bool preempt);
H A Dgk110.c41 cgrp->func->preempt(cgrp); in gk110_chan_preempt()
57 .preempt = gk110_chan_preempt,
68 .preempt = gk110_cgrp_preempt,
/kernel/linux/linux-5.10/include/linux/
H A Drcupdate.h27 #include <linux/preempt.h>
153 # define rcu_tasks_classic_qs(t, preempt) \
155 if (!(preempt) && READ_ONCE((t)->rcu_tasks_holdout)) \
161 # define rcu_tasks_classic_qs(t, preempt) do { } while (0)
179 #define rcu_tasks_qs(t, preempt) \
181 rcu_tasks_classic_qs((t), (preempt)); \
195 #define rcu_tasks_qs(t, preempt) do { } while (0)
H A Drcutiny.h65 #define rcu_note_context_switch(preempt) \
68 rcu_tasks_qs(current, (preempt)); \
H A Dbottom_half.h5 #include <linux/preempt.h>
/kernel/linux/linux-6.6/samples/trace_events/
H A Dtrace_custom_sched.h27 TP_PROTO(bool preempt,
32 TP_ARGS(preempt, prev, next, prev_state),
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dsync_core.h5 #include <linux/preempt.h>
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_util.h37 #include <linux/preempt.h>
69 * The check for running in atomic context may not work - see linux/preempt.h.
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_util.h37 #include <linux/preempt.h>
69 * The check for running in atomic context may not work - see linux/preempt.h.
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dsync_core.h5 #include <linux/preempt.h>
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Digt_atomic.c6 #include <linux/preempt.h>
43 { "preempt", __preempt_begin, __preempt_end },
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/
H A Digt_atomic.c6 #include <linux/preempt.h>
43 { "preempt", __preempt_begin, __preempt_end },
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Dirqflags.h6 #include <linux/preempt.h>

Completed in 10 milliseconds

1234567891011