函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-tag.h Create Date:2022-07-27 13:22:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bt_wait_ptr

函数原型:static inline struct sbq_wait_state *bt_wait_ptr(struct sbitmap_queue *bt, struct blk_mq_hw_ctx *hctx)

返回类型:struct sbq_wait_state

参数:

类型参数名称
struct sbitmap_queue *bt
struct blk_mq_hw_ctx *hctx
41  如果非hctx则返回:@ws: Wait queues.[0]
43  返回:sbq_wait_ptr() - Get the next wait queue to use for a &struct* sbitmap_queue.*@sbq: Bitmap queue to wait on.*@wait_index: A counter per "user" of @sbq.
调用者
名称描述
blk_mq_mark_tag_waitMark us waiting for a tag. For shared tags, this involves hooking us into* the tag wakeups. For non-shared tags, we can simply mark us needing a* restart. For both cases, take care to check the condition again after* marking us as waiting.
blk_mq_get_tag