函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kthread_probe_data - speculative version of kthread_data()*@task: possible kthread task in question*@task could be a kthread task. Return the data value specified when it* was created if accessible. If @task isn't a kthread task or its data is

函数原型:void *kthread_probe_data(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
179  kthread等于to_kthread(task)
180  void * data = NULL
182  probe_kernel_read(): safely attempt to read from a location*@dst: pointer to the buffer that shall take the data*@src: address to read from*@size: size of the data chunk* Safely read from address @src to the buffer at @dst. If a kernel fault
183  返回:data
调用者
名称描述
print_worker_infoprint_worker_info - print out worker information and description*@log_lvl: the log level to use when printing*@task: target task* If @task is a worker and currently executing a work item, print out the* name of the workqueue being serviced and worker