函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:11:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_enable_threaded - make @cgrp threaded*@cgrp: the target cgroup* Called when "threaded" is written to the cgroup.type interface file and* tries to make @cgrp threaded and join the parent's resource domain.
函数原型:static int cgroup_enable_threaded(struct cgroup *cgrp)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup * | cgrp |
3324 | parent等于cgroup_parent(cgrp) |
3333 | 如果cgroup_is_threaded(cgrp)则返回:0 |
3347 | 如果非a domain which isn't connected to the root w/o brekage can't be used 或非an @cgrp become a thread root? should always be true for a thread root 则返回:负EOPNOTSUPP |
3357 | })) |
3357 | 否则如果dsct恒等于cgrp或cgroup_is_threaded(dsct)则 |
3361 | ret等于cgroup_apply_control(cgrp) |
3362 | 如果非ret则 # of live threaded child cgroups 自加 |
3365 | cgroup_finalize_control(cgrp, ret) |
3366 | 返回:ret |
名称 | 描述 |
---|---|
cgroup_type_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |