Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:08:16
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Check if any of the ctx, dispatch list or elevator* have pending work in this hardware queue.

Proto:static bool blk_mq_hctx_has_pending(struct blk_mq_hw_ctx *hctx)

Type:bool

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
69  Return Not list_empty_careful - tests whether a list is empty and not being modified*@head: the list to test* Description:* tests whether a list is empty _and_ checks that no other CPU might be* in the process of modifying either member (next or prev)* NOTE: using || sbitmap_any_bit_set( & @ctx_map: Bitmap for each software queue. If bit is on, there is a* pending request in that software queue.) || blk_mq_sched_has_work(hctx)
Caller
NameDescribe
blk_mq_run_hw_queue