函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:43:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_charge_statistics
函数原型:static void mem_cgroup_charge_statistics(struct mem_cgroup *memcg, struct page *page, bool compound, int nr_pages)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
struct page * | page | |
bool | compound | |
int | nr_pages |
835 | 否则 |
841 | 如果compound则 |
847 | 如果nr_pages大于0则__count_memcg_events - account VM events in a cgroup*@memcg: the memory cgroup*@idx: the event item*@count: the number of events that occured |
849 | 否则 |
名称 | 描述 |
---|---|
mem_cgroup_move_account | mem_cgroup_move_account - move account of the page*@page: the page*@compound: charge the page as compound or small page*@from: mem_cgroup which the page is moved from.*@to: mem_cgroup which the page is moved to. @from != @to. |
mem_cgroup_commit_charge | mem_cgroup_commit_charge - commit a page charge*@page: page to charge*@memcg: memcg to charge the page to*@lrucare: page might be on LRU already*@compound: charge the page as compound or small page* Finalize a charge transaction started by |
mem_cgroup_migrate | mem_cgroup_migrate - charge a page's replacement*@oldpage: currently circulating page*@newpage: replacement page* Charge @newpage as a replacement page for @oldpage. @oldpage will* be uncharged upon free. |
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |