函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-27 18:45:21
Last Modify:2020-03-17 23:18:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__blk_mq_insert_req_list

函数原型:static inline void __blk_mq_insert_req_list(struct blk_mq_hw_ctx *hctx, struct request *rq, bool at_head)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
struct request *rq
boolat_head
1604  ctx等于mq_ctx
1605  type等于@type: HCTX_TYPE_* flags. Type of hardware queue.
1607  lockdep_assert_held( & lock)
1609  lock_rq_insert - insert block operation request into queue*@q: target queue*@rq: block IO operation request* Called immediately before block operation request @rq is inserted* into queue @q
1611  如果at_head添加链表项
1613  否则添加链表项
调用者
名称描述
__blk_mq_insert_request