函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:12:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:cgroup_mkdir
函数原型:int cgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kernfs_node * | parent_kn | |
| const char * | name | |
| umode_t | mode |
| 5296 | 如果strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for则返回:负EINVAL |
| 5303 | 如果非cgroup_check_hierarchy_limits(parent)则 |
| 5305 | 转到:out_unlock |
| 5308 | cgrp等于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. |
| 5309 | 如果是错误则 |
| 5311 | 转到:out_unlock |
| 5318 | kernfs_get( cgroup kernfs entry ) |
| 5321 | 如果ret则转到:out_destroy |
| 5324 | ret等于ss_populate_dir - create subsys files in a cgroup directory*@css: target css* On failure, no file is added. |
| 5325 | 如果ret则转到:out_destroy |
| 5329 | 如果ret则转到:out_destroy |
| 5335 | kernfs_activate( cgroup kernfs entry ) |
| 5337 | ret等于0 |
| 5338 | 转到:out_unlock |
| 5340 | out_destroy : |
| 5342 | out_unlock : |
| 5344 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |