函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_tags_from_data

函数原型:static inline struct blk_mq_tags *blk_mq_tags_from_data(struct blk_mq_alloc_data *data)

返回类型:struct blk_mq_tags

参数:

类型参数名称
struct blk_mq_alloc_data *data
162  如果flags按位与BLK_MQ_REQ_INTERNAL则返回:@sched_tags: Tags owned by I/O scheduler. If there is an I/O* scheduler associated with a request queue, a tag is assigned when* that request is allocated. Else, this member is not used.
165  返回:@tags: Tags owned by the block driver. A tag at this set is only* assigned when a request is dispatched from a hardware queue.
调用者
名称描述
blk_mq_rq_ctx_init
blk_mq_get_tag