• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/

Lines Matching refs:tasks

124  * single cgroup, and all tasks are part of that cgroup.
202 /* This flag indicates whether tasks in the fork and exit paths should
296 * chain of tasks off each css_set. Nests outside task->alloc_lock
620 INIT_LIST_HEAD(&res->tasks);
695 * means that no tasks are currently attached, therefore there is no
711 * A cgroup can only be deleted if both its 'count' of using tasks
713 * tasks in the system use _some_ cgroup, and since there is always at
715 * always has either children cgroups and/or using tasks. So we don't
721 * cgroup_attach_task(), which overwrites one tasks cgroup pointer with
731 * update of a tasks cgroup pointer by cgroup_attach_task()
907 * A queue for waiters to do rmdir() cgroup. A tasks will sleep when
1758 list_add(&tsk->cg_list, &newcg->tasks);
2296 * cgroup_task_count - count the number of tasks in a cgroup.
2299 * Return the number of tasks in the cgroup.
2334 } while (list_empty(&cg->tasks));
2336 it->task = cg->tasks.next;
2342 * through each css_set to its tasks until we see the list actually
2361 list_add(&p->cg_list, &p->cgroups->tasks);
2372 * tasks, and fix up all existing tasks.
2389 /* If the iterator cg is NULL, we have no tasks */
2396 if (l == &link->cg->tasks) {
2427 * between two tasks started (effectively) simultaneously.
2446 * cgroup_scan_tasks - iterate though all the tasks in a cgroup
2451 * Iterate through all the tasks in a cgroup, calling test_task() for each,
2453 * The test_task pointer may be NULL, meaning always true (select all tasks).
2460 * function may or may not call process_task() for tasks that exit
2498 * Scan tasks in the cgroup, using the scanner's "test_task" callback
2502 * gather tasks to be processed in a heap structure.
2504 * If the statically-sized heap fills up, we overflow tasks that
2505 * started later, and in future iterations only consider tasks that
2507 * guarantees forward progress and that we don't miss any tasks.
2513 * Only affect tasks that qualify per the caller's callback,
2519 * Only process tasks that started after the last task
2558 * If we had to process any tasks at all, scan again
2572 * Stuff for reading the 'tasks'/'procs' files.
2575 * *lots* of attached tasks. So it may need several calls to read(),
2669 * find the appropriate pidlist for our purpose (given procs vs tasks)
2715 * Load a cgroup's pidarray with either procs' tgids or tasks' pids
2742 /* get tgid or pid for procs or tasks file respectively */
2827 * seq_file methods for the tasks/procs files. The seq_file position is the
2899 * independent of whether it's tasks or procs
2956 * (tasks or procs). Prepare an array of the process/thread IDs of whoever's
3186 .name = "tasks",
3408 * already established that there are no tasks in the
3618 * newly registered, all tasks and hence the
3625 * registered, no tasks have been forked, so we don't
3627 BUG_ON(!list_empty(&init_task.tasks));
3834 INIT_LIST_HEAD(&init_css_set.tasks);
3930 * the_top_cgroup_hack in cgroup_exit(), which sets an exiting tasks
4101 list_add(&child->cg_list, &child->cgroups->tasks);
4121 * Set the exiting tasks cgroup to the root cgroup (top_cgroup).
4808 list_for_each_entry(task, &cg->tasks, cg_list) {