函数逻辑报告 | 
Source Code:security\device_cgroup.c | 
Create Date:2022-07-27 21:51:52 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:devcgroup_online - initializes devcgroup's behavior and exceptions based on* parent's*@css: css getting online* returns 0 in case of success, error code otherwise
函数原型:static int devcgroup_online(struct cgroup_subsys_state *css)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct cgroup_subsys_state * | css | 
| 176 | dev_cgroup等于css_to_devcgroup(css) | 
| 177 | parent_dev_cgroup等于css_to_devcgroup(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.) | 
| 178 | ret等于0 | 
| 180 | mutex_lock( & devcgroup_mutex) | 
| 182 | 如果(parent_dev_cgroup == NULL)则behavior等于DEVCG_DEFAULT_ALLOW | 
| 184 | 否则 | 
| 192 | 返回:ret | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |