Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_work_pwq

Proto:static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, unsigned long extra_flags)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
struct pool_workqueue *pwq
unsigned longextra_flags
621  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
insert_worksert_work - insert a work into a pool*@pwq: pwq @work belongs to*@work: work to insert*@head: insertion point*@extra_flags: extra WORK_STRUCT_* flags to set* Insert @work which belongs to @pwq after @head