函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static int get_work_pool_id(struct work_struct *work)

返回类型:int

参数:

类型参数名称
struct work_struct *work
732  data等于atomic_long_read( & data)
734  如果data按位与WORK_STRUCT_PWQ则返回:id
738  返回:data右移WORK_OFFQ_POOL_SHIFT
调用者
名称描述
mark_work_canceling
__cancel_work