函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Must run with thread_mutex held

函数原型:static void kmod_test_done_check(struct kmod_test_device *test_dev, unsigned int idx)

返回类型:void

参数:

类型参数名称
struct kmod_test_device *test_dev
unsigned intidx
182  config等于config
184  done自加
185  dev_dbg(dev, "Done thread count: %u\n", done)
187  如果done恒等于num_threads
188  dev_info(dev, "Done: %u threads have all run now\n", done)
190  dev_info(dev, "Last thread to run: %u\n", idx)
191  mplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.
调用者
名称描述
run_request