函数逻辑报告 |
Source Code:block\blk-merge.c |
Create Date:2022-07-27 18:40:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bio_will_gap
函数原型:static inline bool bio_will_gap(struct request_queue *q, struct request *prev_rq, struct bio *prev, struct bio *next)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct request * | prev_rq | |
struct bio * | prev | |
struct bio * | next |
20 | 如果非Check whether this bio carries any data or not. A NULL bio is allowed.或非queue_virt_boundary(q)则返回:false |
28 | 如果prev_rq则bio_get_first_bvec(bio, & pb) |
30 | 否则bio_get_first_bvec(prev, & pb) |
32 | 如果bv_offset按位与queue_virt_boundary(q)则返回:true |
44 | bio_get_last_bvec(prev, & pb) |
45 | bio_get_first_bvec(next, & nb) |
46 | 如果biovec_phys_mergeable(q, & pb, & nb)则返回:false |
48 | 返回:__bvec_gap_to_prev(q, & pb, bv_offset) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |