Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:07:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_on_dfl - test whether a cgroup is on the default hierarchy*@cgrp: the cgroup of interest* The default hierarchy is the v2 interface of cgroup and this function* can be used to test whether a cgroup is on the default hierarchy for* cases where a
Proto:bool cgroup_on_dfl(const struct cgroup *cgrp)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct cgroup * | cgrp |
300 | Return root == The default hierarchy, reserved for the subsystems that are otherwise* unattached - it never has more than a single cgroup, and all tasks are* part of that cgroup. |
Name | Describe |
---|---|
cgroup_control | subsystems visibly enabled on a cgroup |
compare_css_sets | mpare_css_sets - helper function for find_existing_css_set() |
link_css_set | link_css_set - a helper function to link a css_set to a cgroup*@tmp_links: cgrp_cset_link objects allocated by allocate_cgrp_cset_links()*@cset: the css_set to be linked*@cgrp: the destination cgroup |
cgroup_file_name | |
css_clear_dir | ss_clear_dir - remove subsys files in a cgroup directory*@css: taget css |
css_populate_dir | ss_populate_dir - create subsys files in a cgroup directory*@css: target css* On failure, no file is added. |
cgroup_migrate_vet_dst | group_migrate_vet_dst - verify whether a cgroup can be migration destination*@dst_cgrp: destination cgroup to test* On the default hierarchy, except for the mixable, (possible) thread root* and threaded cgroups, subtree_control must be zero for migration* |
css_visible | |
cgroup_addrm_files | |
css_free_rwork_fn | ss destruction is four-stage process |
css_release_work_fn | |
init_and_link_css | |
cgroup_create | The returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied. |
proc_cgroup_show | proc_cgroup_show()* - Print task's cgroup paths into seq_file, one line for each hierarchy* - Used for /proc/ |
cgroup_get_from_fd | group_get_from_fd - get a cgroup pointer from a fd*@fd: fd obtained by open(cgroup2_dir)* Find the cgroup from a fd which should be obtained* by opening a cgroup directory. Returns a pointer to the* cgroup on success. ERR_PTR is returned if the cgroup |
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 |
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 |