Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:10:00
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__blk_mq_insert_req_list

Proto:static inline void __blk_mq_insert_req_list(struct blk_mq_hw_ctx *hctx, struct request *rq, bool at_head)

Type:void

Parameter:

TypeParameterName
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  If at_head Then list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
1613  Else list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
Caller
NameDescribe
__blk_mq_insert_request