Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/arc/kernel/
H A Dctx_sw.c21 __switch_to(struct task_struct *prev_task, struct task_struct *next_task) in __switch_to() argument
25 unsigned int next = (unsigned int)next_task; in __switch_to()
/OK3568_Linux_fs/kernel/kernel/sched/
H A Drt.c1976 struct task_struct *next_task; in push_rt_task() local
1983 next_task = pick_next_pushable_task(rq); in push_rt_task()
1984 if (!next_task) in push_rt_task()
1988 if (WARN_ON(next_task == rq->curr)) in push_rt_task()
1996 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()
2002 get_task_struct(next_task); in push_rt_task()
2005 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task()
2017 if (task == next_task) { in push_rt_task()
2034 put_task_struct(next_task); in push_rt_task()
2035 next_task = task; in push_rt_task()
[all …]
H A Ddeadline.c2130 struct task_struct *next_task; in push_dl_task() local
2137 next_task = pick_next_pushable_dl_task(rq); in push_dl_task()
2138 if (!next_task) in push_dl_task()
2142 if (WARN_ON(next_task == rq->curr)) in push_dl_task()
2151 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()
2158 get_task_struct(next_task); in push_dl_task()
2161 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task()
2171 if (task == next_task) { in push_dl_task()
2183 put_task_struct(next_task); in push_dl_task()
2184 next_task = task; in push_dl_task()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c200 struct cmdq_task *next_task; in cmdq_task_handle_error() local
205 next_task = list_first_entry_or_null(&thread->task_busy_list, in cmdq_task_handle_error()
207 if (next_task) in cmdq_task_handle_error()
208 writel(next_task->pa_base >> cmdq->shift_pa, in cmdq_task_handle_error()
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dsignal.h609 #define next_task(p) \ macro
613 for (p = &init_task ; (p = next_task(p)) != &init_task ; )
622 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dswitch_to.h29 extern struct task_struct *ia64_switch_to (void *next_task);
H A Dmmu_context.h197 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/OK3568_Linux_fs/kernel/Documentation/RCU/
H A DlistRCU.rst24 #define next_task(p) \
28 for (p = &init_task ; (p = next_task(p)) != &init_task ; )