函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Test the page allocator by calling alloc_pages with different orders.

函数原型:static int __init test_pages(int *total_failures)

返回类型:int

参数:

类型参数名称
int *total_failures
86  failures等于0, num_tests等于0
89 i小于10循环num_tests加等于do_alloc_pages_order(i, & failures)
92  REPORT_FAILURES_IN_FN()
93  total_failures加等于failures
94  返回:num_tests
调用者
名称描述
test_meminit_initRun the tests. Each test function returns the number of executed tests and* updates |failures| with the number of failed tests.