函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tally_work_test

函数原型:static int tally_work_test(struct kmod_test_device_info *info)

返回类型:int

参数:

类型参数名称
struct kmod_test_device_info *info
251  test_dev等于test_dev
252  config等于config
253  err_ret等于0
256  :test_case恒等于TEST_KMOD_DRIVER
261  如果ret_sync不等于0则err_ret等于ret_sync
263  dev_info(dev, "Sync thread %d return status: %d\n", thread_idx, ret_sync)
266  退出
267  :test_case恒等于TEST_KMOD_FS_TYPE
269  如果非fs_syncerr_ret等于负EINVAL
271  dev_info(dev, "Sync thread %u fs: %s\n", thread_idx, fs_sync ? test_fs : "NULL")
274  退出
275  默认
276  BUG()
279  返回:err_ret
调用者
名称描述
tally_up_workXXX: 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.