函数逻辑报告

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_data - return data value specified on kthread creation*@task: kthread task in question* Return the data value specified when kthread @task was created.* The caller is responsible for ensuring the validity of @task when* calling this function.

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

返回类型:void

参数:

类型参数名称
struct task_struct *task
165  返回:data
调用者
名称描述
wq_worker_sleeping准备休眠的进程
wq_worker_last_funcwq_worker_last_func - retrieve worker's last work function*@task: Task to retrieve last work function of
wq_worker_commsed to show worker information through /proc/PID/{comm,stat,status}
irq_thread_dtor
io_wq_worker_sleepingCalled when worker is going to sleep. If there are no workers currently* running and we have work pending, wake up a free one or have the manager* set one up.
wq_worker_runningwq_worker_running - a worker is running again*@task: task waking up* This function is called when a worker returns from schedule()
io_wq_worker_runningCalled when a worker is scheduled in. Mark us as currently running.