函数逻辑报告 |
Source Code:mm\vmstat.c |
Create Date:2022-07-27 15:47:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Walk zones in a node and print using a callback.* If @assert_populated is true, only use callback for zones that are populated.
函数原型:static void walk_zones_in_node(struct seq_file *m, pg_data_t *pgdat, bool assert_populated, bool nolock, void (*print)(struct seq_file *m, pg_data_t *, struct zone *))
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
pg_data_t * | pgdat | |
bool | assert_populated | |
bool | nolock | |
void (* |
1335 | node_zones等于包含了结点中各内存域的数据结构 |
1338 | 以zone减node_zones小于MAX_NR_ZONES循环 |
1339 | 如果assert_populated且非Returns true if a zone has memory 则继续下一循环 |
1342 | 如果非nolock则spin_lock_irqsave( & 自旋锁, flags) |
1345 | 如果非nolock则spin_unlock_irqrestore( & 自旋锁, flags) |
名称 | 描述 |
---|---|
frag_show | This walks the free areas for each zone. |
pagetypeinfo_showfree | Print out the free pages at each order for each migatetype |
pagetypeinfo_showblockcount | Print out the number of pageblocks for each migratetype |
pagetypeinfo_showmixedcount | Print out the number of pageblocks for each migratetype that contain pages* of other types. This gives an indication of how well fallbacks are being* contained by rmqueue_fallback(). It requires information from PAGE_OWNER* to determine what is going on |
zoneinfo_show | Output information about zones in @pgdat. All zones are printed regardless* of whether they are populated or not: lowmem_reserve_ratio operates on the* set of all zones and userspace would not be aware of such zones if they are |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |