函数逻辑报告 |
Source Code:kernel\ucount.c |
Create Date:2022-07-27 10:34:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:inc_ucount
函数原型:struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type)
返回类型:struct ucounts
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct user_namespace * | ns | |
| kuid_t | uid | |
| enum ucount_type | type |
| 194 | ucounts等于get_ucounts(ns, uid) |
| 198 | max等于READ_ONCE(ucount_max[type]) |
| 199 | 如果非atomic_inc_below( & ucount[type], max)则转到:fail |
| 202 | 返回:ucounts |
| 203 | fail : |
| 208 | put_ucounts(ucounts) |
| 209 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| inc_cgroup_namespaces | group namespaces |
| inc_uts_namespaces | |
| inc_user_namespaces | |
| inc_pid_namespaces | |
| inotify_new_group | |
| inc_ipc_namespaces | |
| inc_mnt_namespaces | |
| inc_inotify_watches |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |