Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arc/kernel/
A 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-6.3-rc2/kernel/bpf/
A Dtask_iter.c38 struct task_struct *task, *next_task; in task_group_seq_get_next() local
83 next_task = next_thread(task); in task_group_seq_get_next()
85 if (!next_task) in task_group_seq_get_next()
89 *tid = __task_pid_nr_ns(next_task, PIDTYPE_PID, common->ns); in task_group_seq_get_next()
98 get_task_struct(next_task); in task_group_seq_get_next()
102 task = next_task; in task_group_seq_get_next()
106 return next_task; in task_group_seq_get_next()
546 goto next_task; in task_vma_seq_get_next()
580 goto next_task; in task_vma_seq_get_next()
587 next_task: in task_vma_seq_get_next()
/linux-6.3-rc2/kernel/sched/
A Ddeadline.c2298 struct task_struct *next_task; in push_dl_task() local
2306 if (!next_task) in push_dl_task()
2322 if (is_migration_disabled(next_task)) in push_dl_task()
2325 if (WARN_ON(next_task == rq->curr)) in push_dl_task()
2329 get_task_struct(next_task); in push_dl_task()
2342 if (task == next_task) { in push_dl_task()
2354 put_task_struct(next_task); in push_dl_task()
2355 next_task = task; in push_dl_task()
2359 deactivate_task(rq, next_task, 0); in push_dl_task()
2361 activate_task(later_rq, next_task, 0); in push_dl_task()
[all …]
A Drt.c2055 struct task_struct *next_task; in push_rt_task() local
2063 if (!next_task) in push_rt_task()
2077 if (is_migration_disabled(next_task)) { in push_rt_task()
2117 if (WARN_ON(next_task == rq->curr)) in push_rt_task()
2121 get_task_struct(next_task); in push_rt_task()
2136 if (task == next_task) { in push_rt_task()
2153 put_task_struct(next_task); in push_rt_task()
2154 next_task = task; in push_rt_task()
2158 deactivate_task(rq, next_task, 0); in push_rt_task()
2160 activate_task(lowest_rq, next_task, 0); in push_rt_task()
[all …]
/linux-6.3-rc2/include/linux/fsl/bestcomm/
A 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-6.3-rc2/arch/ia64/include/asm/
A Dswitch_to.h29 extern struct task_struct *ia64_switch_to (void *next_task);
A Dmmu_context.h189 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/linux-6.3-rc2/include/linux/sched/
A Dsignal.h643 #define next_task(p) \ macro
647 for (p = &init_task ; (p = next_task(p)) != &init_task ; )
656 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do
/linux-6.3-rc2/drivers/mailbox/
A Dmtk-cmdq-mailbox.c226 struct cmdq_task *next_task; in cmdq_task_handle_error() local
231 next_task = list_first_entry_or_null(&thread->task_busy_list, in cmdq_task_handle_error()
233 if (next_task) in cmdq_task_handle_error()
234 writel(next_task->pa_base >> cmdq->pdata->shift, in cmdq_task_handle_error()
/linux-6.3-rc2/Documentation/RCU/
A DlistRCU.rst23 #define next_task(p) \
27 for (p = &init_task ; (p = next_task(p)) != &init_task ; )

Completed in 22 milliseconds