函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Called when a worker is scheduled in. Mark us as currently running.

函数原型:void io_wq_worker_running(struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
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  如果非flags按位与IO_WORKER_F_UP的值则返回
579  如果flags按位与IO_WORKER_F_RUNNING则返回
581  flags或等于IO_WORKER_F_RUNNING
582  io_wqe_inc_running(wqe, worker)