Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:XXX: add result option to display if all errors did not match.* For now we just keep any error code if one was found.* If this ran it means *all* tasks were created fine and we* are now just collecting results.

Proto:static void tally_up_work(struct kmod_test_device *test_dev)

Type:void

Parameter:

TypeParameterName
struct kmod_test_device *test_dev
293  config = config
296  err_ret = 0
297  ret = 0
299  mutex_lock( & thread_mutex)
301  dev_info(dev, "Results:\n")
303  When idx < num_threads cycle
304  info = info[idx]
305  ret = tally_work_test(info)
306  If ret Then err_ret = ret
314  test_result = err_ret
316  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.