函数逻辑报告 |
Source Code:fs\direct-io.c |
Create Date:2022-07-29 10:46:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Attempt to put the current chunk of 'cur_page' into the current BIO. If* that was successful then update final_block_in_bio and take a ref against* the just-added page.* Return zero on success. Non-zero means the caller needs to start a new BIO.
函数原型:static inline int dio_bio_add_page(struct dio_submit *sdio)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dio_submit * | sdio |
734 | ret等于bio_add_page( under assembly , The page , Nr of bytes at cur_page_offset , Offset into it, in bytes ) |
736 | 如果ret恒等于Nr of bytes at cur_page_offset 则 |
740 | 如果Nr of bytes at cur_page_offset 加Offset into it, in bytes 恒等于PAGE_SIZE则approximate total IO pages 自减 |
743 | current final block in bio + 1 等于Where it starts 加Nr of bytes at cur_page_offset 右移doesn't change 位的值 |
745 | ret等于0 |
746 | 否则 |
747 | ret等于1 |
749 | 返回:ret |
名称 | 描述 |
---|---|
dio_send_cur_page | Put cur_page under IO |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |