Searched refs:tasks (Results 1 – 14 of 14) sorted by relevance
/kernel/sched/ |
D | psi.c | 217 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 …]
|
D | fair.c | 8282 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()
|
D | core.c | 1441 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()
|
D | sched.h | 927 unsigned long tasks : BITS_PER_LONG - bits_per(SCHED_CAPACITY_SCALE); member
|
/kernel/ |
D | pid.c | 50 .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()
|
D | fork.c | 2574 list_add_tail_rcu(&p->tasks, &init_task.tasks); in copy_process()
|
D | exit.c | 133 list_del_rcu(&p->tasks); in __unhash_process()
|
/kernel/debug/kdb/ |
D | kdb_cmds | 26 defcmd dumpcpu "" "Same as dumpall but only tasks on cpus"
|
/kernel/cgroup/ |
D | cgroup.c | 766 .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()
|
D | debug.c | 164 list_for_each_entry(task, &cset->tasks, cg_list) { in cgroup_css_links_read()
|
/kernel/time/ |
D | Kconfig | 133 the CPU is running tasks. Typically this requires running a single
|
/kernel/rcu/ |
D | Kconfig | 291 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/ |
D | Kconfig | 18 done, no tasks are frozen for suspend to RAM/standby.
|
/kernel/trace/ |
D | Kconfig | 386 if a system is reliable for Real Time tasks. 828 goes into an infinite loop (calling cond_resched() to let other tasks
|