函数逻辑报告 |
Source Code:block\bio.c |
Create Date:2022-07-27 18:30:23 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bio_try_merge_pc_page
函数原型:static bool bio_try_merge_pc_page(struct request_queue *q, struct bio *bio, struct page *page, unsigned len, unsigned offset, bool *same_page)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct bio * | bio | |
struct page * | page | |
unsigned | len | |
unsigned | offset | |
bool * | same_page |
705 | bv等于 the actual vec list [ how many bio_vec's - 1] |
706 | mask等于queue_segment_boundary(q) |
712 | 如果bv_len加len大于queue_max_segment_size(q)则返回:false |
名称 | 描述 |
---|---|
__bio_add_pc_page | __bio_add_pc_page - attempt to add page to passthrough bio*@q: the target queue*@bio: destination bio*@page: page to add*@len: vec entry length*@offset: vec entry offset*@same_page: return if the merge happen inside the same page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |