函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

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

返回类型:void

参数:

类型参数名称
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 idx小于num_threads循环
304  info等于info[idx]
305  ret等于tally_work_test(info)
306  如果reterr_ret等于ret
314  test_result等于err_ret
316  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.