Searched refs:next_task (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/arch/arc/kernel/ |
H A D | ctx_sw.c | 23 __switch_to(struct task_struct *prev_task, struct task_struct *next_task) __switch_to() argument 27 unsigned int next = (unsigned int)next_task; __switch_to()
|
/linux-4.1.27/lib/ |
H A D | is_single_threaded.c | 46 * t->mm == NULL. Make sure next_thread/next_task for_each_process()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | switch_to.h | 28 extern struct task_struct *ia64_switch_to (void *next_task);
|
H A D | mmu_context.h | 195 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm)
|
H A D | paravirt_privop.h | 159 * struct task_struct* (*ia64_switch_to)(void* next_task);
|
/linux-4.1.27/kernel/sched/ |
H A D | deadline.c | 1394 struct task_struct *next_task; push_dl_task() local 1401 next_task = pick_next_pushable_dl_task(rq); push_dl_task() 1402 if (!next_task) push_dl_task() 1406 if (unlikely(next_task == rq->curr)) { push_dl_task() 1412 * If next_task preempts rq->curr, and rq->curr push_dl_task() 1414 * without going further in pushing next_task. push_dl_task() 1417 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && push_dl_task() 1424 get_task_struct(next_task); push_dl_task() 1427 later_rq = find_lock_later_rq(next_task, rq); push_dl_task() 1434 * then possible that next_task has migrated. push_dl_task() 1437 if (task_cpu(next_task) == rq->cpu && task == next_task) { push_dl_task() 1449 put_task_struct(next_task); push_dl_task() 1450 next_task = task; push_dl_task() 1454 deactivate_task(rq, next_task, 0); push_dl_task() 1455 set_task_cpu(next_task, later_rq->cpu); push_dl_task() 1456 activate_task(later_rq, next_task, 0); push_dl_task() 1464 put_task_struct(next_task); push_dl_task()
|
H A D | rt.c | 1706 struct task_struct *next_task; push_rt_task() local 1713 next_task = pick_next_pushable_task(rq); push_rt_task() 1714 if (!next_task) push_rt_task() 1718 if (unlikely(next_task == rq->curr)) { push_rt_task() 1724 * It's possible that the next_task slipped in of push_rt_task() 1728 if (unlikely(next_task->prio < rq->curr->prio)) { push_rt_task() 1734 get_task_struct(next_task); push_rt_task() 1737 lowest_rq = find_lock_lowest_rq(next_task, rq); push_rt_task() 1742 * so it is possible that next_task has migrated. push_rt_task() 1749 if (task_cpu(next_task) == rq->cpu && task == next_task) { push_rt_task() 1766 put_task_struct(next_task); push_rt_task() 1767 next_task = task; push_rt_task() 1771 deactivate_task(rq, next_task, 0); push_rt_task() 1772 set_task_cpu(next_task, lowest_rq->cpu); push_rt_task() 1773 activate_task(lowest_rq, next_task, 0); push_rt_task() 1781 put_task_struct(next_task); push_rt_task()
|
/linux-4.1.27/include/linux/fsl/bestcomm/ |
H A D | bestcomm_priv.h | 335 bcom_set_task_auto_start(int task, int next_task) bcom_set_task_auto_start() argument 338 out_be16(tcr, (in_be16(tcr) & ~0xff) | 0x00c0 | next_task); bcom_set_task_auto_start()
|
/linux-4.1.27/include/linux/ |
H A D | sched.h | 2536 #define next_task(p) \ macro 2540 for (p = &init_task ; (p = next_task(p)) != &init_task ; ) 2549 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do
|
Completed in 216 milliseconds