Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\io-wq.c Create Date:2022-07-28 20:22:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Called when a worker is scheduled in. Mark us as currently running.

Proto:void io_wq_worker_running(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
574  worker = 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.
575  wqe = wqe
577  If Not (flags & IO_WORKER_F_UP) Then Return
579  If flags & IO_WORKER_F_RUNNING Then Return
581  flags |= IO_WORKER_F_RUNNING
582  io_wqe_inc_running(wqe, worker)