Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tally_work_test

Proto:static int tally_work_test(struct kmod_test_device_info *info)

Type:int

Parameter:

TypeParameterName
struct kmod_test_device_info *info
251  test_dev = test_dev
252  config = config
253  err_ret = 0
256  Case test_case == TEST_KMOD_DRIVER
261  If ret_sync != 0 Then err_ret = ret_sync
263  dev_info(dev, "Sync thread %d return status: %d\n", thread_idx, ret_sync)
266  Break
267  Case test_case == TEST_KMOD_FS_TYPE
269  If Not fs_sync Then err_ret = -EINVAL
271  dev_info(dev, "Sync thread %u fs: %s\n", thread_idx, fs_sync ? test_fs : "NULL")
274  Break
275  Default
276  BUG()
279  Return err_ret
Caller
NameDescribe
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.