Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-core.c Create Date:2022-07-28 16:59:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_rq_init

Proto:void blk_rq_init(struct request_queue *q, struct request *rq)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
struct request *rq
111  memset(rq, 0, size of rq )
113  Initialization list head
114  q = q
115  sector cursor = (sector_t) - 1
116  INIT_HLIST_NODE( & merge hash )
117  RB_CLEAR_NODE( & sort/lookup )
118  tag = -1
119  internal_tag = -1
120  Time that this request was allocated for this IO. = ktime_get_ns()
121  part = NULL
122  _set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
Caller
NameDescribe
blk_kick_flush