函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:46:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:memcg_stat_show
函数原型:static int memcg_stat_show(struct seq_file *m, void *v)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
void * | v |
3729 | memcg等于mem_cgroup_from_seq(m) |
3737 | 如果memcg1_stats[i]恒等于MEMCG_SWAP且非Whether legacy memory+swap accounting is active 则继续下一循环 |
3748 | 以i小于NR_LRU_LISTS循环seq_printf(m, "%s %lu\n", lru_list_name(i), dx can be of type enum memcg_stat_item or node_stat_item.* Keep in sync with memcg_exact_page_state(). * PAGE_SIZE) |
3754 | memory等于memsw等于PAGE_COUNTER_MAX |
3759 | seq_printf(m, "hierarchical_memory_limit %llu\n", (u64)memory * PAGE_SIZE) |
3761 | 如果Whether legacy memory+swap accounting is active 则seq_printf(m, "hierarchical_memsw_limit %llu\n", (u64)memsw * PAGE_SIZE) |
3766 | 如果memcg1_stats[i]恒等于MEMCG_SWAP且非Whether legacy memory+swap accounting is active 则继续下一循环 |
3768 | seq_printf(m, "total_%s %llu\n", memcg1_stat_names[i], (u64)dx can be of type enum memcg_stat_item or node_stat_item.* Keep in sync with memcg_exact_page_state(). * PAGE_SIZE) |
3778 | 以i小于NR_LRU_LISTS循环seq_printf(m, "total_%s %llu\n", lru_list_name(i), (u64)dx can be of type enum memcg_stat_item or node_stat_item.* Keep in sync with memcg_exact_page_state(). * PAGE_SIZE) |
3807 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |