Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dtask_iter.c38 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()
546 goto next_task; in task_vma_seq_get_next()
580 goto next_task; in task_vma_seq_get_next()
587 next_task: in task_vma_seq_get_next()
/linux-6.6.21/kernel/sched/
Ddeadline.c2290 struct task_struct *next_task; in push_dl_task() local
2297 next_task = pick_next_pushable_dl_task(rq); in push_dl_task()
2298 if (!next_task) in push_dl_task()
2308 dl_time_before(next_task->dl.deadline, rq->curr->dl.deadline) && in push_dl_task()
2314 if (is_migration_disabled(next_task)) in push_dl_task()
2317 if (WARN_ON(next_task == rq->curr)) in push_dl_task()
2321 get_task_struct(next_task); in push_dl_task()
2324 later_rq = find_lock_later_rq(next_task, rq); in push_dl_task()
2334 if (task == next_task) { in push_dl_task()
2346 put_task_struct(next_task); in push_dl_task()
[all …]
Drt.c2063 struct task_struct *next_task; in push_rt_task() local
2070 next_task = pick_next_pushable_task(rq); in push_rt_task()
2071 if (!next_task) in push_rt_task()
2080 if (unlikely(next_task->prio < rq->curr->prio)) { in push_rt_task()
2085 if (is_migration_disabled(next_task)) { in push_rt_task()
2127 if (WARN_ON(next_task == rq->curr)) in push_rt_task()
2131 get_task_struct(next_task); in push_rt_task()
2134 lowest_rq = find_lock_lowest_rq(next_task, rq); in push_rt_task()
2146 if (task == next_task) { in push_rt_task()
2163 put_task_struct(next_task); in push_rt_task()
[all …]
/linux-6.6.21/include/linux/fsl/bestcomm/
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-6.6.21/arch/ia64/include/asm/
Dswitch_to.h29 extern struct task_struct *ia64_switch_to (void *next_task);
Dmmu_context.h189 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/linux-6.6.21/drivers/mailbox/
Dmtk-cmdq-mailbox.c226 struct cmdq_task *next_task; in cmdq_task_handle_error() local
231 next_task = list_first_entry_or_null(&thread->task_busy_list, in cmdq_task_handle_error()
233 if (next_task) in cmdq_task_handle_error()
234 writel(next_task->pa_base >> cmdq->pdata->shift, in cmdq_task_handle_error()
/linux-6.6.21/include/linux/sched/
Dsignal.h643 #define next_task(p) \ macro
647 for (p = &init_task ; (p = next_task(p)) != &init_task ; )
/linux-6.6.21/Documentation/RCU/
DlistRCU.rst23 #define next_task(p) \
27 for (p = &init_task ; (p = next_task(p)) != &init_task ; )