函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:elv_merge_requests

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

返回类型:void

参数:

类型参数名称
struct request_queue *q
struct request *rq
struct request *next
407  e等于elevator
409  如果requests_mergedrequests_merged(q, rq, next)
412  elv_rqhash_reposition(q, rq)
413  last_merge等于rq
调用者
名称描述
attempt_mergeFor non-mq, this has to be called with the request spinlock acquired.* For mq with scheduling, the appropriate queue wide lock should be held.