Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 14 of 14) sorted by relevance

/kernel/sched/
Dpsi.c217 static bool test_state(unsigned int *tasks, enum psi_states state, bool oncpu) in test_state() argument
221 return unlikely(tasks[NR_IOWAIT]); in test_state()
223 return unlikely(tasks[NR_IOWAIT] && !tasks[NR_RUNNING]); in test_state()
225 return unlikely(tasks[NR_MEMSTALL]); in test_state()
227 return unlikely(tasks[NR_MEMSTALL] && in test_state()
228 tasks[NR_RUNNING] == tasks[NR_MEMSTALL_RUNNING]); in test_state()
230 return unlikely(tasks[NR_RUNNING] > oncpu); in test_state()
232 return unlikely(tasks[NR_RUNNING] && !oncpu); in test_state()
234 return tasks[NR_IOWAIT] || tasks[NR_MEMSTALL] || in test_state()
235 tasks[NR_RUNNING]; in test_state()
[all …]
Dfair.c8282 struct list_head tasks; member
8550 struct list_head *tasks = &env->src_rq->cfs_tasks; in detach_tasks() local
8569 while (!list_empty(tasks)) { in detach_tasks()
8593 p = list_last_entry(tasks, struct task_struct, se.group_node); in detach_tasks()
8648 list_add(&p->se.group_node, &env->tasks); in detach_tasks()
8671 list_move(&p->se.group_node, tasks); in detach_tasks()
8716 struct list_head *tasks = &env->tasks; in attach_tasks() local
8723 while (!list_empty(tasks)) { in attach_tasks()
8724 p = list_first_entry(tasks, struct task_struct, se.group_node); in attach_tasks()
10666 .tasks = LIST_HEAD_INIT(env.tasks), in load_balance()
Dcore.c1441 if (!bucket[bucket_id].tasks) in uclamp_rq_max_value()
1572 bucket->tasks++; in uclamp_rq_inc_id()
1581 if (bucket->tasks == 1 || uc_se->value > bucket->value) in uclamp_rq_inc_id()
1636 SCHED_WARN_ON(!bucket->tasks); in uclamp_rq_dec_id()
1637 if (likely(bucket->tasks)) in uclamp_rq_dec_id()
1638 bucket->tasks--; in uclamp_rq_dec_id()
1648 if (likely(bucket->tasks)) in uclamp_rq_dec_id()
Dsched.h927 unsigned long tasks : BITS_PER_LONG - bits_per(SCHED_CAPACITY_SCALE); member
/kernel/
Dpid.c50 .tasks = {
263 INIT_HLIST_HEAD(&pid->tasks[type]); in alloc_pid()
334 hlist_add_head_rcu(&task->pid_links[type], &pid->tasks[type]); in attach_pid()
372 struct hlist_head *head1 = &pid1->tasks[PIDTYPE_PID]; in exchange_tids()
373 struct hlist_head *head2 = &pid2->tasks[PIDTYPE_PID]; in exchange_tids()
401 first = rcu_dereference_check(hlist_first_rcu(&pid->tasks[type]), in pid_task()
Dfork.c2574 list_add_tail_rcu(&p->tasks, &init_task.tasks); in copy_process()
Dexit.c133 list_del_rcu(&p->tasks); in __unhash_process()
/kernel/debug/kdb/
Dkdb_cmds26 defcmd dumpcpu "" "Same as dumpall but only tasks on cpus"
/kernel/cgroup/
Dcgroup.c766 .tasks = LIST_HEAD_INIT(init_css_set.tasks),
805 return !list_empty(&cset->tasks) || !list_empty(&cset->mg_tasks); in css_set_populated()
935 &to_cset->tasks); in css_set_move_task()
1241 INIT_LIST_HEAD(&cset->tasks); in find_css_set()
2660 list_splice_tail_init(&cset->mg_tasks, &cset->tasks); in cgroup_migrate_execute()
3108 list_for_each_entry_safe(task, ntask, &src_cset->tasks, cg_list) in cgroup_update_dfl_csses()
4828 if (!list_empty(&cset->tasks)) { in css_task_iter_advance_css_set()
4829 it->cur_tasks_head = &cset->tasks; in css_task_iter_advance_css_set()
4897 if (it->task_pos == &it->cur_cset->tasks) { in css_task_iter_advance()
6045 BUG_ON(!list_empty(&init_task.tasks)); in cgroup_init_subsys()
Ddebug.c164 list_for_each_entry(task, &cset->tasks, cg_list) { in cgroup_css_links_read()
/kernel/time/
DKconfig133 the CPU is running tasks. Typically this requires running a single
/kernel/rcu/
DKconfig291 tasks either run with higher priority or run on some other CPU.
302 to CPUs executing in userspace or idle during tasks trace
/kernel/power/
DKconfig18 done, no tasks are frozen for suspend to RAM/standby.
/kernel/trace/
DKconfig386 if a system is reliable for Real Time tasks.
828 goes into an infinite loop (calling cond_resched() to let other tasks