函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sbitmap_any_bit_set

函数原型:bool sbitmap_any_bit_set(const struct sbitmap *sb)

返回类型:bool

参数:

类型参数名称
const struct sbitmap *sb
231 i小于@map_nr: Number of words (cachelines) being used for the bitmap.循环
232  如果@word: word holding free bits按位与@cleared: word holding cleared bits的反则返回:true
235  返回:false
调用者
名称描述
blk_mq_do_dispatch_ctxOnly SCSI implements .get_budget and .put_budget, and SCSI restarts* its queue by itself in its completion handler, so we don't need to* restart queue if .get_budget() returns BLK_STS_NO_RESOURCE.
kyber_dispatch_cur_domain
kyber_has_work
blk_mq_hctx_has_pendingCheck if any of the ctx, dispatch list or elevator* have pending work in this hardware queue.