函数逻辑报告 |
Source Code:mm\percpu-stats.c |
Create Date:2022-07-27 18:11:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:percpu_stats_show
函数原型:static int percpu_stats_show(struct seq_file *m, void *v)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
void * | v |
141 | alloc_buffer : |
142 | spin_lock_irq( & pcpu_lock) |
144 | spin_unlock_irq( & pcpu_lock) |
151 | spin_lock_irq( & pcpu_lock) |
155 | spin_unlock_irq( & pcpu_lock) |
157 | 转到:alloc_buffer |
163 | seq_printf(m, "Percpu Memory Statistics\nAllocation Info:\n----------------------------------------\n") |
180 | seq_printf(m, "Global Stats:\n----------------------------------------\n") |
184 | PU(nr_dealloc) |
185 | PU(nr_cur_alloc) |
186 | PU(nr_max_alloc) |
188 | PU(nr_max_chunks) |
189 | PU(min_alloc_size) |
190 | PU(max_alloc_size) |
191 | P("empty_pop_pages", The number of empty populated pages, protected by pcpu_lock. The* reserved chunk doesn't contribute to the count.) |
196 | seq_printf(m, "Per Chunk Stats:\n----------------------------------------\n") |
205 | 以slot小于pcpu_nr_slots循环 |
212 | 否则 |
220 | spin_unlock_irq( & pcpu_lock) |
224 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |