Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:test_dev_kmod_stop_tests

Proto:static void test_dev_kmod_stop_tests(struct kmod_test_device *test_dev)

Type:void

Parameter:

TypeParameterName
struct kmod_test_device *test_dev
352  config = config
356  dev_info(dev, "Ending request_module() tests\n")
358  mutex_lock( & thread_mutex)
360  When i < num_threads cycle
361  info = info[i]
362  If task_sync && Not IS_ERR(task_sync) Then
363  dev_info(dev, "Stopping still-running thread %i\n", i)
375  If task_sync && need_mod_put Then test_kmod_put_module(info)
379  mutex_unlock( & thread_mutex)
Caller
NameDescribe
try_requestsOnly 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.
unregister_test_dev_kmod