函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmstat.c Create Date:2022-07-27 15:47:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Print out the number of pageblocks for each migratetype

函数原型:static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *arg
1472  pgdat等于arg
1474  seq_printf(m, "\n%-23s", "Number of blocks type ")
1475 mtype小于MIGRATE_TYPES循环seq_printf(m, "%12s ", In mm/page_alloc.c; keep in sync also with show_migration_types() there [mtype])
1477  seq_putc(m, '\n')
1478  Walk zones in a node and print using a callback.* If @assert_populated is true, only use callback for zones that are populated.
1481  返回:0
调用者
名称描述
pagetypeinfo_showThis prints out statistics in relation to grouping pages by mobility.* It is expensive to collect so do not constantly read the file.