函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:10:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ss_populate_dir - create subsys files in a cgroup directory*@css: target css* On failure, no file is added.
函数原型:static int css_populate_dir(struct cgroup_subsys_state *css)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup_subsys_state * | css |
1682 | 如果flags按位与CSS_VISIBLE或非 cgroup kernfs entry 则返回:0 |
1688 | 否则cfts等于cgroup-v1.c |
1691 | ret等于cgroup_addrm_files( & self css with NULL ->ss, points back to this cgroup , cgrp, cfts, true) |
1694 | 否则 |
1696 | ret等于cgroup_addrm_files(css, cgrp, cfts, true) |
1697 | 如果ret小于0则 |
1698 | failed_cfts等于cfts |
1699 | 转到:err |
1704 | flags或等于CSS_VISIBLE |
1706 | 返回:0 |
1707 | err : |
1709 | 如果cfts恒等于failed_cfts则退出 |
1711 | cgroup_addrm_files(css, cgrp, cfts, false) |
1713 | 返回:ret |
名称 | 描述 |
---|---|
cgroup_setup_root | |
cgroup_apply_control_enable | group_apply_control_enable - enable or show csses according to control*@cgrp: root of the target subtree* Walk @cgrp's subtree and create new csses or make the existing ones* visible. A css is created invisible if it's being implicitly enabled |
cgroup_mkdir | |
cgroup_init | group_init - cgroup initialization* Register cgroup filesystem and /proc file, and initialize* any subsystems that didn't request early init. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |