函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:43:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__mod_memcg_state - update cgroup memory statistics*@memcg: the memory cgroup*@idx: the stat item - can be enum memcg_stat_item or enum node_stat_item*@val: delta to add to the counter, can be negative
函数原型:void __mod_memcg_state(struct mem_cgroup *memcg, int idx, int val)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
int | idx | |
int | val |
686 | 如果mem_cgroup_disabled()则返回 |
689 | x等于val加Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(stat[idx]) |
702 | __this_cpu_write(stat[idx], x) |
名称 | 描述 |
---|---|
__mod_lruvec_state | __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 |
mem_cgroup_charge_statistics | |
mem_cgroup_split_huge_fixup | Because tail pages are not marked as "used", set it. We're under* pgdat->lru_lock and migration entries setup in all page mappings. |
uncharge_batch | |
mod_memcg_state | dx can be of type enum memcg_stat_item or node_stat_item |
__mod_memcg_page_state | mod_memcg_page_state - update page state statistics*@page: the page*@idx: page state item to account*@val: number of pages (positive or negative)* The @page must be locked or the caller must use lock_page_memcg()* to prevent double accounting when the |
__inc_memcg_state | dx can be of type enum memcg_stat_item or node_stat_item |
__dec_memcg_state | dx can be of type enum memcg_stat_item or node_stat_item |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |