函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:test_dev_kmod_stop_tests

函数原型:static void test_dev_kmod_stop_tests(struct kmod_test_device *test_dev)

返回类型:void

参数:

类型参数名称
struct kmod_test_device *test_dev
352  config等于config
356  dev_info(dev, "Ending request_module() tests\n")
358  mutex_lock( & thread_mutex)
360 i小于num_threads循环
361  info等于info[i]
362  如果task_sync且非是错误
363  dev_info(dev, "Stopping still-running thread %i\n", i)
375  如果task_syncneed_mod_puttest_kmod_put_module(info)
379  mutex_unlock( & thread_mutex)
调用者
名称描述
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