Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_kmod.c Create Date:2022-07-28 06:34:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:run_test_driver

Proto:static int run_test_driver(struct kmod_test_device *test_dev)

Type:int

Parameter:

TypeParameterName
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  Return 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.
Caller
NameDescribe
__trigger_config_runThis ensures we don't allow kicking threads through if our configuration* is faulty.