Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:27:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:struct work_struct *current_work(void)

Type:struct work_struct

Parameter:Nothing

4471  worker = rrent_wq_worker - return struct worker if %current is a workqueue worker
4473  Return worker ? L: work being processed : NULL