函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_work_pwq

函数原型:static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, unsigned long extra_flags)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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