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()
1394 struct task_struct *next_task; in push_dl_task() local1401 next_task = pick_next_pushable_dl_task(rq); in push_dl_task()1402 if (!next_task) in push_dl_task()1406 if (unlikely(next_task == rq->curr)) { in push_dl_task()1417 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()1424 get_task_struct(next_task); in push_dl_task()1427 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task()1437 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_dl_task()1449 put_task_struct(next_task); in push_dl_task()1450 next_task = task; in push_dl_task()[all …]
1706 struct task_struct *next_task; in push_rt_task() local1713 next_task = pick_next_pushable_task(rq); in push_rt_task()1714 if (!next_task) in push_rt_task()1718 if (unlikely(next_task == rq->curr)) { in push_rt_task()1728 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()1734 get_task_struct(next_task); in push_rt_task()1737 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task()1749 if (task_cpu(next_task) == rq->cpu && task == next_task) { in push_rt_task()1766 put_task_struct(next_task); in push_rt_task()1767 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
2536 #define next_task(p) \ macro2540 for (p = &init_task ; (p = next_task(p)) != &init_task ; )2549 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do