函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:49:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_id_get_online
函数原型:static struct mem_cgroup *mem_cgroup_id_get_online(struct mem_cgroup *memcg)
返回类型:struct mem_cgroup
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg |
6842 | 如果WARN_ON_ONCE(memcg == root_mem_cgroup)则 |
6847 | 如果非memcg则memcg等于root_mem_cgroup |
6850 | 返回:memcg |
名称 | 描述 |
---|---|
mem_cgroup_swapout | mem_cgroup_swapout - transfer a memsw charge to swap*@page: page whose memsw charge to transfer*@entry: swap entry to move the charge to* Transfer the memsw charge of @page to @entry. |
mem_cgroup_try_charge_swap | mem_cgroup_try_charge_swap - try charging swap space for a page*@page: page being added to swap*@entry: swap entry to charge* Try to charge @page's memcg for the swap space at @entry.* Returns 0 on success, -ENOMEM on failure. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |