函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:47:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_css_alloc
函数原型:static struct cgroup_subsys_state *__ref mem_cgroup_css_alloc(struct cgroup_subsys_state *parent_css)
返回类型:struct cgroup_subsys_state
参数:
类型 | 参数 | 名称 |
---|---|---|
struct cgroup_subsys_state * | parent_css |
4972 | parent等于mem_cgroup_from_css(parent_css) |
4976 | memcg等于mem_cgroup_alloc() |
4981 | soft_limit等于PAGE_COUNTER_MAX |
4982 | 如果parent则 |
4984 | OOM-Killer disable 等于 OOM-Killer disable |
4988 | page_counter_init( & Accounted resources , & Accounted resources ) |
4989 | page_counter_init( & swap, & swap) |
4991 | page_counter_init( & kmem, & kmem) |
4992 | page_counter_init( & tcpmem, & tcpmem) |
4993 | 否则 |
4994 | page_counter_init( & Accounted resources , NULL) |
4995 | page_counter_init( & swap, NULL) |
4996 | page_counter_init( & Legacy consumer-oriented counters , NULL) |
4997 | page_counter_init( & kmem, NULL) |
4998 | page_counter_init( & tcpmem, NULL) |
5009 | 如果非parent则 |
5013 | root_mem_cgroup等于memcg |
5014 | 返回:css |
5017 | error等于memcg_online_kmem(memcg) |
5024 | 返回:css |
5025 | fail : |
5026 | mem_cgroup_id_remove(memcg) |
5027 | mem_cgroup_free(memcg) |
5028 | 返回:错误号 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |