函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_work_pwq

函数原型:static struct pool_workqueue *get_work_pwq(struct work_struct *work)

返回类型:struct pool_workqueue

参数:

类型参数名称
struct work_struct *work
682  data等于atomic_long_read( & data)
684  如果data按位与WORK_STRUCT_PWQ则返回:data按位与WORK_STRUCT_WQ_DATA_MASK
686  否则返回:NULL
调用者
名称描述
pwq_activate_delayed_work
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
send_mayday
process_one_workprocess_one_work - process single work*@worker: self*@work: work to process* Process @work
rescuer_threadscuer_thread - the rescuer thread function*@__rescuer: self* Workqueue rescuer thread function
start_flush_work
show_pwq