函数逻辑报告 | 
Source Code:mm\memcontrol.c | 
Create Date:2022-07-27 17:43:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:__mod_lruvec_state - update lruvec memory statistics*@lruvec: the lruvec*@idx: the stat item*@val: delta to add to the counter, can be negative* The lruvec is the intersection of the NUMA node and a cgroup
函数原型:void __mod_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx, int val)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct lruvec * | lruvec | |
| enum node_stat_item | idx | |
| int | val | 
| 729 | pgdat等于lruvec_pgdat(lruvec) | 
| 735 | __mod_node_page_state(pgdat, idx, val) | 
| 737 | 如果mem_cgroup_disabled()则返回 | 
| 747 | __this_cpu_add(count[idx], val) | 
| 749 | x等于val加Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(count[idx]) | 
| 753 | 以pi循环atomic_long_add(x, & lruvec_stat[idx]) | 
| 755 | x等于0 | 
| 757 | __this_cpu_write(count[idx], x) | 
| 名称 | 描述 | 
|---|---|
| __mod_lruvec_slab_state | |
| 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. | 
| mod_lruvec_state | |
| __mod_lruvec_page_state | |
| __inc_lruvec_state | |
| __dec_lruvec_state | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |