Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_work_color

Proto:static int get_work_color(struct work_struct *work)

Type:int

Parameter:

TypeParameterName
struct work_struct *work
582  Return The first word is the work queue pointer and the flags rolled into* one(work) >> WORK_STRUCT_COLOR_SHIFT & (1 << WORK_STRUCT_COLOR_BITS) - 1
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
process_one_workprocess_one_work - process single work*@worker: self*@work: work to process* Process @work