函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:tools\testing\selftests\kselftest_module.h Create Date:2022-07-27 07:29:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kstm_report

函数原型:static inline int kstm_report(unsigned int total_tests, unsigned int failed_tests)

返回类型:int

参数:

类型参数名称
unsigned inttotal_tests
unsigned intfailed_tests
26  如果failed_tests恒等于0则打印信息("all %u tests passed\n", total_tests)
28  否则打印警告信息("failed %u out of %u tests\n", failed_tests, total_tests)
31  返回:如果failed_tests则负EINVAL否则0
调用者
名称描述
test_printf_init
test_bitmap_init
test_strscpy_init