Searched refs:next_task (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/arch/arc/kernel/ |
D | ctx_sw.c | 21 __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()
|
/Linux-v6.1/kernel/bpf/ |
D | task_iter.c | 38 struct task_struct *task, *next_task; in task_group_seq_get_next() local 83 next_task = next_thread(task); in task_group_seq_get_next() 85 if (!next_task) in task_group_seq_get_next() 89 *tid = __task_pid_nr_ns(next_task, PIDTYPE_PID, common->ns); in task_group_seq_get_next() 98 get_task_struct(next_task); in task_group_seq_get_next() 102 task = next_task; in task_group_seq_get_next() 106 return next_task; in task_group_seq_get_next() 539 goto next_task; in task_vma_seq_get_next() 570 goto next_task; in task_vma_seq_get_next() 576 next_task: in task_vma_seq_get_next()
|
/Linux-v6.1/kernel/sched/ |
D | deadline.c | 2298 struct task_struct *next_task; in push_dl_task() local 2305 next_task = pick_next_pushable_dl_task(rq); in push_dl_task() 2306 if (!next_task) in push_dl_task() 2316 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task() 2322 if (is_migration_disabled(next_task)) in push_dl_task() 2325 if (WARN_ON(next_task == rq->curr)) in push_dl_task() 2329 get_task_struct(next_task); in push_dl_task() 2332 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task() 2342 if (task == next_task) { in push_dl_task() 2354 put_task_struct(next_task); in push_dl_task() [all …]
|
D | rt.c | 2052 struct task_struct *next_task; in push_rt_task() local 2059 next_task = pick_next_pushable_task(rq); in push_rt_task() 2060 if (!next_task) in push_rt_task() 2069 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task() 2074 if (is_migration_disabled(next_task)) { in push_rt_task() 2114 if (WARN_ON(next_task == rq->curr)) in push_rt_task() 2118 get_task_struct(next_task); in push_rt_task() 2121 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task() 2133 if (task == next_task) { in push_rt_task() 2150 put_task_struct(next_task); in push_rt_task() [all …]
|
/Linux-v6.1/include/linux/fsl/bestcomm/ |
D | bestcomm_priv.h | 335 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-v6.1/arch/ia64/include/asm/ |
D | switch_to.h | 29 extern struct task_struct *ia64_switch_to (void *next_task);
|
D | mmu_context.h | 189 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
|
/Linux-v6.1/drivers/mailbox/ |
D | mtk-cmdq-mailbox.c | 207 struct cmdq_task *next_task; in cmdq_task_handle_error() local 212 next_task = list_first_entry_or_null(&thread->task_busy_list, in cmdq_task_handle_error() 214 if (next_task) in cmdq_task_handle_error() 215 writel(next_task->pa_base >> cmdq->shift_pa, in cmdq_task_handle_error()
|
/Linux-v6.1/include/linux/sched/ |
D | signal.h | 643 #define next_task(p) \ macro 647 for (p = &init_task ; (p = next_task(p)) != &init_task ; ) 656 for (g = t = &init_task ; (g = t = next_task(g)) != &init_task ; ) do
|
/Linux-v6.1/Documentation/RCU/ |
D | listRCU.rst | 24 #define next_task(p) \ 28 for (p = &init_task ; (p = next_task(p)) != &init_task ; )
|