Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bfq-iosched.c Create Date:2022-07-28 17:56:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bfq_has_work

Proto:static bool bfq_has_work(struct blk_mq_hw_ctx *hctx)

Type:bool

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
4643  bfqd = elevator_data
4649  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 || bfq_tot_busy_queues(bfqd) > 0