Home
last modified time | relevance | path

Searched refs:next_task (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/arch/arc/kernel/
Dctx_sw.c21 __switch_to(struct task_struct *prev_task, struct task_struct *next_task) in __switch_to() argument
25 unsigned int next = (unsigned int)next_task; in __switch_to()
/linux-5.19.10/kernel/sched/
Ddeadline.c2295 struct task_struct *next_task; in push_dl_task() local
2302 next_task = pick_next_pushable_dl_task(rq); in push_dl_task()
2303 if (!next_task) in push_dl_task()
2313 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()
2319 if (is_migration_disabled(next_task)) in push_dl_task()
2322 if (WARN_ON(next_task == rq->curr)) in push_dl_task()
2326 get_task_struct(next_task); in push_dl_task()
2329 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task()
2339 if (task == next_task) { in push_dl_task()
2351 put_task_struct(next_task); in push_dl_task()
[all …]
Drt.c2056 struct task_struct *next_task; in push_rt_task() local
2063 next_task = pick_next_pushable_task(rq); in push_rt_task()
2064 if (!next_task) in push_rt_task()
2073 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()
2078 if (is_migration_disabled(next_task)) { in push_rt_task()
2118 if (WARN_ON(next_task == rq->curr)) in push_rt_task()
2122 get_task_struct(next_task); in push_rt_task()
2125 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task()
2137 if (task == next_task) { in push_rt_task()
2154 put_task_struct(next_task); in push_rt_task()
[all …]
/linux-5.19.10/include/linux/fsl/bestcomm/
Dbestcomm_priv.h335 bcom_set_task_auto_start(int task, int next_task) in bcom_set_task_auto_start() argument
338 out_be16(tcr, (in_be16(tcr) & ~0xff) | 0x00c0 | next_task); in bcom_set_task_auto_start()
/linux-5.19.10/arch/ia64/include/asm/
Dswitch_to.h29 extern struct task_struct *ia64_switch_to (void *next_task);
Dmmu_context.h186 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/linux-5.19.10/drivers/mailbox/
Dmtk-cmdq-mailbox.c212 struct cmdq_task *next_task; in cmdq_task_handle_error() local
217 next_task = list_first_entry_or_null(&thread->task_busy_list, in cmdq_task_handle_error()
219 if (next_task) in cmdq_task_handle_error()
220 writel(next_task->pa_base >> cmdq->shift_pa, in cmdq_task_handle_error()
/linux-5.19.10/kernel/bpf/
Dtask_iter.c395 goto next_task; in task_vma_seq_get_next()
426 goto next_task; in task_vma_seq_get_next()
432 next_task: in task_vma_seq_get_next()
/linux-5.19.10/include/linux/sched/
Dsignal.h642 #define next_task(p) \ macro
646 for (p = &init_task ; (p = next_task(p)) != &init_task ; )
655 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do
/linux-5.19.10/Documentation/RCU/
DlistRCU.rst24 #define next_task(p) \
28 for (p = &init_task ; (p = next_task(p)) != &init_task ; )