函数逻辑报告 |
Source Code:block\elevator.c |
Create Date:2022-07-27 18:32:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:elv_rqhash_find
函数原型:struct request *elv_rqhash_find(struct request_queue *q, sector_t offset)
返回类型:struct request
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
sector_t | offset |
237 | BUG_ON(!Internal elevator interface(rq)) |
239 | 如果此条件成立可能性小(为编译器优化)(!rq_mergeable(rq))则 |
240 | __elv_rqhash_del(rq) |
241 | 继续下一循环 |
244 | 如果Merge hash stuff.(rq)恒等于offset则返回:rq |
248 | 返回:NULL |
名称 | 描述 |
---|---|
elv_merge | |
elv_attempt_insert_merge | Attempt to do an insertion back merge. Only check for the case where* we can append 'rq' to an existing request, so we can throw 'rq' away* afterwards.* Returns true if we merged, false otherwise |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |