Searched refs:next_task (Results 1 – 7 of 7) sorted by relevance
23 __switch_to(struct task_struct *prev_task, struct task_struct *next_task) in __switch_to() argument27 unsigned int next = (unsigned int)next_task; in __switch_to()
1498 struct task_struct *next_task; in push_dl_task() local1505 next_task = pick_next_pushable_dl_task(rq); in push_dl_task()1506 if (!next_task) in push_dl_task()1510 if (unlikely(next_task == rq->curr)) { in push_dl_task()1521 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()1528 get_task_struct(next_task); in push_dl_task()1531 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task()1541 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_dl_task()1553 put_task_struct(next_task); in push_dl_task()1554 next_task = task; in push_dl_task()[all …]
1717 struct task_struct *next_task; in push_rt_task() local1724 next_task = pick_next_pushable_task(rq); in push_rt_task()1725 if (!next_task) in push_rt_task()1729 if (unlikely(next_task == rq->curr)) { in push_rt_task()1739 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()1745 get_task_struct(next_task); in push_rt_task()1748 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task()1760 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_rt_task()1777 put_task_struct(next_task); in push_rt_task()1778 next_task = task; in push_rt_task()[all …]
335 bcom_set_task_auto_start(int task, int next_task) in bcom_set_task_auto_start() argument338 out_be16(tcr, (in_be16(tcr) & ~0xff) | 0x00c0 | next_task); in bcom_set_task_auto_start()
28 extern struct task_struct *ia64_switch_to (void *next_task);
195 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
2659 #define next_task(p) \ macro2663 for (p = &init_task ; (p = next_task(p)) != &init_task ; )2672 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do