Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:10:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ss_task_iter_start - initiate task iteration*@css: the css to walk tasks of*@flags: CSS_TASK_ITER_* flags*@it: the task iterator to use* Initiate iteration through the tasks of @css
Proto:void css_task_iter_start(struct cgroup_subsys_state *css, unsigned int flags, struct css_task_iter *it)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup_subsys_state * | css | |
unsigned int | flags | |
struct css_task_iter * | it |
4518 | spin_lock_irq( & css_set_lock) |
4525 | Else cset_pos = * List of cgrp_cset_links pointing at css_sets with tasks in this * cgroup. Protected by css_set_lock. |
4530 | css_task_iter_advance(it) |
4532 | spin_unlock_irq( & css_set_lock) |
Name | Describe |
---|---|
__cgroup_procs_start | |
cgroup_transfer_tasks | group_trasnsfer_tasks - move tasks from one cgroup to another*@to: cgroup to which the tasks will be moved*@from: cgroup in which the tasks currently reside* Locking rules between cgroup_post_fork() and the migration path* guarantee that, if a task is |
pidlist_array_load | Load a cgroup's pidarray with either procs' tgids or tasks' pids |
cgroupstats_build | groupstats_build - build and fill cgroupstats*@stats: cgroupstats to fill information into*@dentry: A dentry entry belonging to the cgroup for which stats have* been requested.* Build and fill cgroupstats so that taskstats can export it to user* space. |
cgroup_do_freeze | Freeze or unfreeze all tasks in the given cgroup. |
update_if_frozen | pdate_if_frozen - update whether a cgroup finished freezing*@css: css of interest* Once FREEZING is initiated, transition to FROZEN is lazily updated by* calling this function |
freeze_cgroup | |
unfreeze_cgroup | |
update_tasks_cpumask | pdate_tasks_cpumask - Update the cpumasks of tasks in the cpuset.*@cs: the cpuset in which each task's cpus_allowed mask needs to be changed* Iterate through each task of @cs updating its cpus_allowed to the* effective cpuset's |
update_tasks_nodemask | pdate_tasks_nodemask - Update the nodemasks of tasks in the cpuset.*@cs: the cpuset in which each task's mems_allowed mask needs to be changed* Iterate through each task of @cs updating its mems_allowed to the* effective cpuset's |
update_tasks_flags | pdate_tasks_flags - update the spread flags of tasks in the cpuset |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |