Function report | 
Source Code:mm\vmstat.c | 
Create Date:2022-07-28 14:23:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:pagetypeinfo_showblockcount_print
Proto:static void pagetypeinfo_showblockcount_print(struct seq_file *m, pg_data_t *pgdat, struct zone *zone)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | m | |
| pg_data_t * | pgdat | |
| struct zone * | zone | 
| 1438 | end_pfn = zone_end_pfn(zone) | 
| 1439 | unsigned long count[MIGRATE_TYPES] = {0, } | 
| 1445 | If Not page Then Continue | 
| 1449 | If Not memmap_valid_within(pfn, page, zone) Then Continue | 
| 1455 | mtype = get_pageblock_migratetype(page) | 
| 1457 | If mtype < MIGRATE_TYPES Then count[mtype]++ | 
| 1462 | seq_printf(m, "Node %d, zone %8s ", node_id, name) | 
| 1463 | When mtype < MIGRATE_TYPES cycle seq_printf(m, "%12lu ", count[mtype]) | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |