函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rrent_work - retrieve %current task's work struct* Determine if %current task is a workqueue worker and what it's working on.* Useful to find out the context that the %current task is running in.

函数原型:struct work_struct *current_work(void)

返回类型:struct work_struct

参数:

4471  worker等于rrent_wq_worker - return struct worker if %current is a workqueue worker
4473  返回:worker ? L: work being processed : NULL