函数逻辑报告

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

函数名称:run_request

函数原型:static int run_request(void *data)

返回类型:int

参数:

类型参数名称
void *data
219  info等于data
220  test_dev等于test_dev
221  config等于config
224  :test_case恒等于TEST_KMOD_DRIVER
225  ret_sync等于request_module("%s", test_driver)
226  退出
227  :test_case恒等于TEST_KMOD_FS_TYPE
228  fs_sync等于get_fs_type(test_fs)
229  need_mod_put = true
230  退出
231  默认
233  BUG()
234  返回:负EINVAL
237  dev_dbg(dev, "Ran thread %u\n", thread_idx)
239  test_kmod_put_module(info)
241  mutex_lock( & thread_mutex)
242  task_sync = NULL
243  Must run with thread_mutex held
244  mutex_unlock( & thread_mutex)
246  返回:0