Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_work_pool_id - return the worker pool ID a given work is associated with*@work: the work item of interest* Return: The worker_pool ID @work was last associated with.* %WORK_OFFQ_POOL_NONE if none.

Proto:static int get_work_pool_id(struct work_struct *work)

Type:int

Parameter:

TypeParameterName
struct work_struct *work
732  data = atomic_long_read( & data)
734  If data & WORK_STRUCT_PWQ Then Return id
738  Return data >> WORK_OFFQ_POOL_SHIFT
Caller
NameDescribe
mark_work_canceling
__cancel_work