Searched refs:tasks (Results 1 – 16 of 16) sorted by relevance
/kernel/sched/ |
D | psi.c | 222 static bool test_state(unsigned int *tasks, enum psi_states state, bool oncpu) in test_state() argument 226 return unlikely(tasks[NR_IOWAIT]); in test_state() 228 return unlikely(tasks[NR_IOWAIT] && !tasks[NR_RUNNING]); in test_state() 230 return unlikely(tasks[NR_MEMSTALL]); in test_state() 232 return unlikely(tasks[NR_MEMSTALL] && in test_state() 233 tasks[NR_RUNNING] == tasks[NR_MEMSTALL_RUNNING]); in test_state() 235 return unlikely(tasks[NR_RUNNING] > oncpu); in test_state() 237 return unlikely(tasks[NR_RUNNING] && !oncpu); in test_state() 239 return tasks[NR_IOWAIT] || tasks[NR_MEMSTALL] || in test_state() 240 tasks[NR_RUNNING]; in test_state() [all …]
|
D | fair.c | 8796 struct list_head tasks; member 9063 struct list_head *tasks = &env->src_rq->cfs_tasks; in detach_tasks() local 9082 while (!list_empty(tasks)) { in detach_tasks() 9102 p = list_last_entry(tasks, struct task_struct, se.group_node); in detach_tasks() 9157 list_add(&p->se.group_node, &env->tasks); in detach_tasks() 9180 list_move(&p->se.group_node, tasks); in detach_tasks() 9225 struct list_head *tasks = &env->tasks; in attach_tasks() local 9232 while (!list_empty(tasks)) { in attach_tasks() 9233 p = list_first_entry(tasks, struct task_struct, se.group_node); in attach_tasks() 11320 .tasks = LIST_HEAD_INIT(env.tasks), in load_balance()
|
D | core.c | 1489 if (!bucket[bucket_id].tasks) in uclamp_rq_max_value() 1620 bucket->tasks++; in uclamp_rq_inc_id() 1629 if (bucket->tasks == 1 || uc_se->value > bucket->value) in uclamp_rq_inc_id() 1684 SCHED_WARN_ON(!bucket->tasks); in uclamp_rq_dec_id() 1685 if (likely(bucket->tasks)) in uclamp_rq_dec_id() 1686 bucket->tasks--; in uclamp_rq_dec_id() 1696 if (likely(bucket->tasks)) in uclamp_rq_dec_id()
|
D | sched.h | 939 unsigned long tasks : BITS_PER_LONG - bits_per(SCHED_CAPACITY_SCALE); member
|
/kernel/ |
D | pid.c | 50 .tasks = { 266 INIT_HLIST_HEAD(&pid->tasks[type]); in alloc_pid() 337 hlist_add_head_rcu(&task->pid_links[type], &pid->tasks[type]); in attach_pid() 375 struct hlist_head *head1 = &pid1->tasks[PIDTYPE_PID]; in exchange_tids() 376 struct hlist_head *head2 = &pid2->tasks[PIDTYPE_PID]; in exchange_tids() 404 first = rcu_dereference_check(hlist_first_rcu(&pid->tasks[type]), in pid_task()
|
D | fork.c | 2731 list_add_tail_rcu(&p->tasks, &init_task.tasks); in copy_process()
|
D | exit.c | 134 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 | 733 .tasks = LIST_HEAD_INIT(init_css_set.tasks), 772 return !list_empty(&cset->tasks) || !list_empty(&cset->mg_tasks); in css_set_populated() 902 &to_cset->tasks); in css_set_move_task() 1208 INIT_LIST_HEAD(&cset->tasks); in find_css_set() 2598 list_splice_tail_init(&cset->mg_tasks, &cset->tasks); in cgroup_migrate_execute() 3044 list_for_each_entry_safe(task, ntask, &src_cset->tasks, cg_list) in cgroup_update_dfl_csses() 4808 if (!list_empty(&cset->tasks)) { in css_task_iter_advance_css_set() 4809 it->cur_tasks_head = &cset->tasks; in css_task_iter_advance_css_set() 4877 if (it->task_pos == &it->cur_cset->tasks) { in css_task_iter_advance() 6028 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/trace/ |
D | trace_events_user.c | 408 if (refcount_read(&mm->tasks) == 0) { in user_event_mm_fault_in() 524 if (refcount_read(&mm->tasks) == 0) in user_event_enabler_write() 699 refcount_set(&user_mm->tasks, 1); in user_event_mm_alloc() 780 if (!refcount_dec_and_test(&mm->tasks)) in user_event_mm_remove()
|
D | Kconfig | 415 if a system is reliable for Real Time tasks. 883 goes into an infinite loop (calling cond_resched() to let other tasks
|
/kernel/rcu/ |
D | Kconfig.debug | 102 (hard interrupts, soft interrupts, kernel tasks) are added to the
|
D | Kconfig | 286 tasks either run with higher priority or run on some other CPU. 297 to CPUs executing in userspace or idle during tasks trace
|
/kernel/time/ |
D | Kconfig | 133 the CPU is running tasks. Typically this requires running a single
|
/kernel/power/ |
D | Kconfig | 18 done, no tasks are frozen for suspend to RAM/standby.
|