Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sched.h Create Date:2022-07-28 12:15:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_sched_has_work

Proto:static inline bool blk_mq_sched_has_work(struct blk_mq_hw_ctx *hctx)

Type:bool

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
75  e = elevator
77  If e && has_work Then Return has_work(hctx)
80  Return false
Caller
NameDescribe
blk_mq_hctx_has_pendingCheck if any of the ctx, dispatch list or elevator* have pending work in this hardware queue.