Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_work_pool_and_keep_pending

Proto:static void set_work_pool_and_keep_pending(struct work_struct *work, int pool_id)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
intpool_id
628  While queued, %WORK_STRUCT_PWQ is set and non flag bits of a work's data* contain the pointer to the queued pwq
Caller
NameDescribe
try_to_grab_pendingry_to_grab_pending - steal work item from worklist and disable irq*@work: work item to steal*@is_dwork: @work is a delayed_work*@flags: place to store irq state* Try to grab PENDING bit of @work. This function can handle @work in any