/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | preempt.h | 12 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 D | simd.h | 12 #include <linux/preempt.h>
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | preempt.h | 13 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 D | simd.h | 12 #include <linux/preempt.h>
|
/kernel/linux/linux-6.6/init/ |
H A D | Makefile | 27 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 D | a5xx_preempt.c | 108 /* 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 D | a5xx_preempt.c | 107 /* 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 D | rcupdate.h | 27 #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 D | rcutiny.h | 130 #define rcu_note_context_switch(preempt) \ 133 rcu_tasks_qs(current, (preempt)); \
|
H A D | preempt.h | 6 * 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 D | bottom_half.h | 6 #include <linux/preempt.h>
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chan.c | 141 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 D | chan.h | 52 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 D | gk110.c | 41 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 D | rcupdate.h | 27 #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 D | rcutiny.h | 65 #define rcu_note_context_switch(preempt) \ 68 rcu_tasks_qs(current, (preempt)); \
|
H A D | bottom_half.h | 5 #include <linux/preempt.h>
|
/kernel/linux/linux-6.6/samples/trace_events/ |
H A D | trace_custom_sched.h | 27 TP_PROTO(bool preempt, 32 TP_ARGS(preempt, prev, next, prev_state),
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | sync_core.h | 5 #include <linux/preempt.h>
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_util.h | 37 #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 D | drm_util.h | 37 #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 D | sync_core.h | 5 #include <linux/preempt.h>
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | igt_atomic.c | 6 #include <linux/preempt.h> 43 { "preempt", __preempt_begin, __preempt_end },
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | igt_atomic.c | 6 #include <linux/preempt.h> 43 { "preempt", __preempt_begin, __preempt_end },
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | irqflags.h | 6 #include <linux/preempt.h>
|