Searched refs:next_task (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/arch/arc/kernel/ |
| D | ctx_sw.c | 24 __switch_to(struct task_struct *prev_task, struct task_struct *next_task) in __switch_to() argument 28 unsigned int next = (unsigned int)next_task; in __switch_to()
|
| /Linux-v5.4/kernel/sched/ |
| D | deadline.c | 2045 struct task_struct *next_task; in push_dl_task() local 2052 next_task = pick_next_pushable_dl_task(rq); in push_dl_task() 2053 if (!next_task) in push_dl_task() 2057 if (WARN_ON(next_task == rq->curr)) in push_dl_task() 2066 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task() 2073 get_task_struct(next_task); in push_dl_task() 2076 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task() 2086 if (task == next_task) { in push_dl_task() 2098 put_task_struct(next_task); in push_dl_task() 2099 next_task = task; in push_dl_task() [all …]
|
| D | rt.c | 1791 struct task_struct *next_task; in push_rt_task() local 1798 next_task = pick_next_pushable_task(rq); in push_rt_task() 1799 if (!next_task) in push_rt_task() 1803 if (WARN_ON(next_task == rq->curr)) in push_rt_task() 1811 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task() 1817 get_task_struct(next_task); in push_rt_task() 1820 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task() 1832 if (task == next_task) { in push_rt_task() 1849 put_task_struct(next_task); in push_rt_task() 1850 next_task = task; in push_rt_task() [all …]
|
| /Linux-v5.4/include/linux/fsl/bestcomm/ |
| 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-v5.4/drivers/mailbox/ |
| D | mtk-cmdq-mailbox.c | 223 struct cmdq_task *next_task; in cmdq_task_handle_error() local 227 next_task = list_first_entry_or_null(&thread->task_busy_list, in cmdq_task_handle_error() 229 if (next_task) in cmdq_task_handle_error() 230 writel(next_task->pa_base, thread->base + CMDQ_THR_CURR_ADDR); in cmdq_task_handle_error()
|
| /Linux-v5.4/arch/ia64/include/asm/ |
| D | switch_to.h | 29 extern struct task_struct *ia64_switch_to (void *next_task);
|
| D | mmu_context.h | 197 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
|
| /Linux-v5.4/include/linux/sched/ |
| D | signal.h | 562 #define next_task(p) \ macro 566 for (p = &init_task ; (p = next_task(p)) != &init_task ; ) 575 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do
|