Searched refs:next_task (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/arch/arc/kernel/ |
A D | ctx_sw.c | 21 __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 D | task_iter.c | 38 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 D | deadline.c | 2298 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 D | rt.c | 2055 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 D | bestcomm_priv.h | 335 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 D | switch_to.h | 29 extern struct task_struct *ia64_switch_to (void *next_task);
|
A D | mmu_context.h | 189 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
|
/linux-6.3-rc2/include/linux/sched/ |
A D | signal.h | 643 #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 D | mtk-cmdq-mailbox.c | 226 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 D | listRCU.rst | 23 #define next_task(p) \ 27 for (p = &init_task ; (p = next_task(p)) != &init_task ; )
|
Completed in 29 milliseconds