函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:45:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:The user of this function is...* RES_LIMIT.
函数原型:static ssize_t mem_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 |
3500 | memcg等于mem_cgroup_from_css(of_css(of)) |
3510 | 当:MEMFILE_ATTR(private)恒等于RES_LIMIT |
3511 | 如果mem_cgroup_is_root(memcg)则 |
3513 | 退出 |
3516 | 当:MEMFILE_TYPE(private)恒等于_MEM |
3517 | ret等于mem_cgroup_resize_max(memcg, nr_pages, false) |
3518 | 退出 |
3519 | 当:MEMFILE_TYPE(private)恒等于_MEMSWAP |
3520 | ret等于mem_cgroup_resize_max(memcg, nr_pages, true) |
3521 | 退出 |
3522 | 当:MEMFILE_TYPE(private)恒等于_KMEM |
3523 | pr_warn_once("kmem.limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality.\n") |
3526 | ret等于memcg_update_kmem_max(memcg, nr_pages) |
3527 | 退出 |
3528 | 当:MEMFILE_TYPE(private)恒等于_TCP |
3529 | ret等于memcg_update_tcp_max(memcg, nr_pages) |
3530 | 退出 |
3532 | 退出 |
3533 | 当:MEMFILE_ATTR(private)恒等于RES_SOFT_LIMIT |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |