函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:12:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static struct cgroup *cgroup_create(struct cgroup *parent, const char *name, umode_t mode)
返回类型:struct cgroup
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct cgroup * | parent | |
| const char * | name | |
| umode_t | mode |
| 5164 | 如果ret则转到:out_free_cgrp |
| 5169 | 如果ret则转到:out_cancel_ref |
| 5174 | kn等于kernfs_create_dir( cgroup kernfs entry , name, mode, cgrp) |
| 5175 | 如果是错误则 |
| 5177 | 转到:out_stat_exit |
| 5179 | cgroup kernfs entry 等于kn |
| 5181 | init_cgroup_housekeeping(cgrp) |
| 5183 | PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.等于 self css with NULL ->ss, points back to this cgroup |
| 5187 | ret等于psi_cgroup_alloc(cgrp) |
| 5188 | 如果ret则转到:out_kernfs_remove |
| 5191 | ret等于cgroup_bpf_inherit(cgrp) |
| 5192 | 如果ret则转到:out_psi_free |
| 5200 | 如果 Should the cgroup actually be frozen? 则 |
| 5211 | spin_lock_irq( & css_set_lock) |
| 5227 | spin_unlock_irq( & css_set_lock) |
| 5229 | 如果notify_on_release(parent)则设置内存位 |
| 5232 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则设置内存位 |
| 5238 | 添加RCU链表项 |
| 5240 | cgroup_get_live(parent) |
| 5251 | 返回:cgrp |
| 5253 | out_psi_free : |
| 5254 | psi_cgroup_free(cgrp) |
| 5255 | out_kernfs_remove : |
| 5256 | kernfs_remove( cgroup kernfs entry ) |
| 5257 | out_stat_exit : |
| 5260 | out_cancel_ref : |
| 5262 | out_free_cgrp : |
| 5264 | 返回:错误号 |
| 名称 | 描述 |
|---|---|
| cgroup_mkdir |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |