函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:09:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:bool cgroup_on_dfl(const struct cgroup *cgrp)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct cgroup * | cgrp |
300 | 返回: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. |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |