函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pwq_busy

函数原型:static bool pwq_busy(struct pool_workqueue *pwq)

返回类型:bool

参数:

类型参数名称
struct pool_workqueue *pwq
4322 i小于WORK_NR_COLORS循环如果nr_in_flight[i]则
4324  返回:true
4326  如果pwq不等于dfl_pwqL: reference count 大于1则返回:true
4328  如果L: nr of active works 或非链表为空则返回:true
4331  返回:false
调用者
名称描述
destroy_workqueuedestroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first.