函数逻辑报告 |
Source Code:mm\hugetlb_cgroup.c |
Create Date:2022-07-27 17:50:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hugetlb_cgroup_write
函数原型:static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of, char *buf, size_t nbytes, loff_t off)
返回类型:ssize_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kernfs_open_file * | of | |
char * | buf | |
size_t | nbytes | |
loff_t | off |
293 | h_cg等于hugetlb_cgroup_from_css(of_css(of)) |
295 | 如果hugetlb_cgroup_is_root(h_cg)则返回:负EINVAL |
303 | idx等于MEMFILE_IDX(private) |
307 | 当:MEMFILE_ATTR(private)恒等于RES_LIMIT |
308 | mutex_lock( & hugetlb_limit_mutex) |
311 | 退出 |
312 | 默认 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |