函数逻辑报告 |
Source Code:kernel\cgroup\cgroup-v1.c |
Create Date:2022-07-27 12:15:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cgroup1_get_tree
函数原型:int cgroup1_get_tree(struct fs_context *fc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fs_context * | fc |
1204 | ctx等于cgroup_fc2context(fc) |
1208 | 如果非ns_capable(user_ns, Allow setting zone reclaim policy )则返回:负EPERM |
1214 | 如果非ret且非percpu_ref_tryget_live - try to increment a live percpu refcount*@ref: percpu_ref to try-get* Increment a percpu refcount unless it has already been killed则ret等于1 |
1219 | 如果非ret则ret等于cgroup_do_get_tree(fc) |
1226 | ret等于1 |
1229 | 如果此条件成立可能性小(为编译器优化)(ret > 0)则 |
1230 | msleep - sleep safely even with waitqueue interruptions*@msecs: Time in milliseconds to sleep for |
1231 | 返回:restart_syscall() |
1233 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |