函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kunit_init_test

函数原型:void kunit_init_test(struct kunit *test, const char *name)

返回类型:void

参数:

类型参数名称
struct kunit *test
const char *name
177  spin_lock_init( & Guards all mutable test state. )
178  初始化链表头
179  Read only after initialization! 等于name
180  Read only after test_case finishes! = true
调用者
名称描述
kunit_run_case_catch_errorsPerforms all logic to run a test case. It also catches most errors that* occur in a test case and reports them as failures.
kunit_resource_test_init_resources
kunit_resource_test_init