Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__blk_mq_free_request

Proto:static void __blk_mq_free_request(struct request *rq)

Type:void

Parameter:

TypeParameterName
struct request *rq
472  q = q
473  ctx = mq_ctx
474  hctx = mq_hctx
475  sched_tag = internal_tag
477  blk_pm_mark_last_busy(rq)
478  mq_hctx = NULL
479  If tag != -1 Then blk_mq_put_tag(hctx, @tags: Tags owned by the block driver. A tag at this set is only* assigned when a request is dispatched from a hardware queue., ctx, tag)
481  If sched_tag != -1 Then blk_mq_put_tag(hctx, @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., ctx, sched_tag)
483  blk_mq_sched_restart(hctx)
484  blk_queue_exit(q)
Caller
NameDescribe
blk_mq_free_request
blk_mq_check_expired