函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:43:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_from_task
函数原型:struct mem_cgroup *mem_cgroup_from_task(struct task_struct *p)
返回类型:struct mem_cgroup
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
908 | 如果此条件成立可能性小(为编译器优化)(!p)则返回:NULL |
911 | 返回:mem_cgroup_from_css(循环获得css) |
名称 | 描述 |
---|---|
get_mem_cgroup_from_mm | get_mem_cgroup_from_mm: Obtain a reference on given mm_struct's memcg.*@mm: mm from which memcg should be extracted. It can be NULL.* Obtain a reference on mm->memcg and returns it if successful. Otherwise* root_mem_cgroup is returned |
mem_cgroup_get_oom_group | mem_cgroup_get_oom_group - get a memory cgroup to clean up after OOM*@victim: task to be killed by the OOM killer*@oom_domain: memcg in case of memcg OOM, NULL in case of system-wide OOM* Returns a pointer to a memory cgroup, which has to be cleaned up |
mem_cgroup_can_attach | |
mem_cgroup_sk_alloc | |
mm_match_cgroup | |
count_memcg_event_mm | |
memcg_memory_event_mm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |