函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_uuid_init

函数原型:static int __init test_uuid_init(void)

返回类型:int

参数:

111 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(test_uuid_test_data)循环test_uuid_test( & test_uuid_test_data[i])
114 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(test_uuid_wrong_data)循环test_uuid_wrong(test_uuid_wrong_data[i])
117  如果failed_tests恒等于0则打印信息("all %u tests passed\n", total_tests)
119  否则打印错误信息("failed %u out of %u tests\n", failed_tests, total_tests)
122  返回:如果failed_tests则负EINVAL否则0