函数逻辑报告 |
Source Code:fs\iomap\direct-io.c |
Create Date:2022-07-29 11:07:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:iomap_dio_bio_end_io
函数原型:static void iomap_dio_bio_end_io(struct bio *bio)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bio * | bio |
148 | dio等于bi_private |
149 | should_dirty等于flags按位与IOMAP_DIO_DIRTY |
151 | 如果bi_status则Set an error in the dio if none is set yet. We have to use cmpxchg* as the submission context and the completion context(s) can race to* update the error. |
154 | 如果atomic_dec_and_test( & ref)则 |
155 | 如果wait_for_completion则 |
159 | 否则如果flags按位与IOMAP_DIO_WRITE则 |
160 | inode等于file_inode(文件指针) |
162 | INIT_WORK( & work, iomap_dio_complete_work) |
164 | 否则 |
165 | iomap_dio_complete_work( & work) |
169 | 如果should_dirty则 |
170 | bio_check_pages_dirty(bio) |
171 | 否则 |
172 | bio_release_pages(bio, false) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |