函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:45:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:cancel_charge
函数原型:static void cancel_charge(struct mem_cgroup *memcg, unsigned int nr_pages)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
unsigned int | nr_pages |
2565 | 如果mem_cgroup_is_root(memcg)则返回 |
2569 | 如果Whether legacy memory+swap accounting is active 则page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge |
2572 | 设置一个css引用 |
名称 | 描述 |
---|---|
__mem_cgroup_clear_mc | ancels all extra charges on mc.from and mc.to, and wakes up all waiters. |
mem_cgroup_cancel_charge | mem_cgroup_cancel_charge - cancel a page charge*@page: page to charge*@memcg: memcg to charge the page to*@compound: charge the page as compound or small page* Cancel a charge transaction started by mem_cgroup_try_charge(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |