函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:run_test_driver

函数原型:static int run_test_driver(struct kmod_test_device *test_dev)

返回类型:int

参数:

类型参数名称
struct kmod_test_device *test_dev
427  config等于config
429  dev_info(dev, "Test case: %s (%u)\n", test_case_str(test_case), test_case)
432  dev_info(dev, "Test driver to load: %s\n", test_driver)
434  dev_info(dev, "Number of threads to run: %u\n", num_threads)
436  dev_info(dev, "Thread IDs will range from 0 - %u\n", num_threads - 1)
439  返回:Only wait *iff* we did not run into any errors during all of our thread* set up. If run into any issues we stop threads and just bail out with* an error to the trigger. This also means we don't need any tally work* for any threads which fail.
调用者
名称描述
__trigger_config_runThis ensures we don't allow kicking threads through if our configuration* is faulty.