函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_rq_init

函数原型:void blk_rq_init(struct request_queue *q, struct request *rq)

返回类型:void

参数:

类型参数名称
struct request_queue *q
struct request *rq
111  memset(rq, 0, rq的长度)
113  初始化链表头
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
调用者
名称描述
blk_kick_flush