Searched refs:nr_tasks (Results 1 – 4 of 4) sorted by relevance
56 if (refcnt > cset->nr_tasks) in current_css_set_read()57 seq_printf(seq, " +%d", refcnt - cset->nr_tasks); in current_css_set_read()149 if (refcnt - cset->nr_tasks > 0) { in cgroup_css_links_read()150 int extra = refcnt - cset->nr_tasks; in cgroup_css_links_read()185 WARN_ON(count != cset->nr_tasks); in cgroup_css_links_read()
114 int nr_tasks; member
635 count += link->cset->nr_tasks; in __cgroup_task_count()2435 mgctx->tset.nr_tasks++; in cgroup_migrate_add_task()2528 if (tset->nr_tasks) { in cgroup_migrate_execute()2553 to_cset->nr_tasks++; in cgroup_migrate_execute()2555 from_cset->nr_tasks--; in cgroup_migrate_execute()2575 if (tset->nr_tasks) { in cgroup_migrate_execute()2589 if (tset->nr_tasks) { in cgroup_migrate_execute()2613 tset->nr_tasks = 0; in cgroup_migrate_execute()6402 cset->nr_tasks++; in cgroup_post_fork()6483 cset->nr_tasks--; in cgroup_exit()
1085 int nr_tasks; member2513 grp->nr_tasks++; in task_numa_group()2535 if (my_grp->nr_tasks > grp->nr_tasks) in task_numa_group()2541 if (my_grp->nr_tasks == grp->nr_tasks && my_grp > grp) in task_numa_group()2573 my_grp->nr_tasks--; in task_numa_group()2574 grp->nr_tasks++; in task_numa_group()2613 grp->nr_tasks--; in task_numa_free()