函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:attempt_front_merge

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

返回类型:struct request

参数:

类型参数名称
struct request_queue *q
struct request *rq
846  prev等于elv_former_request(q, rq)
848  如果prev则返回:For non-mq, this has to be called with the request spinlock acquired.* For mq with scheduling, the appropriate queue wide lock should be held.
851  返回:NULL
调用者
名称描述
blk_mq_sched_try_merge