Home
last modified time | relevance | path

Searched refs:next_task (Results 1 – 7 of 7) sorted by relevance

/linux/kernel/sched/
H A Ddeadline.c2696 struct task_struct *next_task; in switched_from_dl()
2700 next_task = pick_next_pushable_dl_task(rq); in switched_from_dl()
2701 if (!next_task) in switched_from_dl()
2706 * If next_task preempts rq->curr, and rq->curr in switched_from_dl()
2708 * without going further in pushing next_task. in switched_from_dl()
2711 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in switched_from_dl()
2717 if (is_migration_disabled(next_task)) in switched_from_dl()
2720 if (WARN_ON(next_task == rq->curr)) in switched_from_dl()
2724 get_task_struct(next_task); in switched_from_dl()
2727 later_rq = find_lock_later_rq(next_task, r in switched_from_dl()
2392 struct task_struct *next_task; push_dl_task() local
[all...]
H A Drt.c1986 struct task_struct *next_task; in pick_next_pushable_task()
1993 next_task = pick_next_pushable_task(rq); in pick_next_pushable_task()
1994 if (!next_task) in pick_next_pushable_task()
1999 * It's possible that the next_task slipped in of
2003 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task() local
2008 if (is_migration_disabled(next_task)) { in push_rt_task()
2018 * be of higher priority than next_task, so no need to in push_rt_task()
2032 * Given we found a CPU with lower priority than @next_task, in push_rt_task()
2050 if (WARN_ON(next_task == rq->curr)) in push_rt_task()
2054 get_task_struct(next_task); in push_rt_task()
[all...]
/linux/include/linux/fsl/bestcomm/
H A Dbestcomm_priv.h335 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/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c228 struct cmdq_task *next_task; in cmdq_task_handle_error() local
233 next_task = list_first_entry_or_null(&thread->task_busy_list, in cmdq_task_handle_error()
235 if (next_task) in cmdq_task_handle_error()
236 writel(next_task->pa_base >> cmdq->pdata->shift, in cmdq_task_handle_error()
/linux/kernel/bpf/
H A Dtask_iter.c521 goto next_task; in task_vma_seq_get_next()
555 goto next_task; in task_vma_seq_get_next()
562 next_task: in task_vma_seq_get_next()
1021 kit->task = next_task(kit->task); in bpf_iter_task_next()
/linux/include/linux/sched/
H A Dsignal.h633 #define next_task(p) \
637 for (p = &init_task ; (p = next_task(p)) != &init_task ; )
634 #define next_task( global() macro
/linux/Documentation/RCU/
H A DlistRCU.rst32 #define next_task(p) \
36 for (p = &init_task ; (p = next_task(p)) != &init_task ; )