Function report |
Source Code:fs\iomap\direct-io.c |
Create Date:2022-07-28 20:32:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:iomap_dio_bio_end_io
Proto:static void iomap_dio_bio_end_io(struct bio *bio)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | bio |
148 | dio = bi_private |
149 | should_dirty = flags & IOMAP_DIO_DIRTY |
151 | If bi_status Then 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 | If atomic_dec_and_test( & ref) Then |
155 | If wait_for_completion Then |
159 | Else if flags & IOMAP_DIO_WRITE Then |
160 | inode = file_inode(ki_filp) |
162 | INIT_WORK( & work, iomap_dio_complete_work) |
164 | Else |
165 | iomap_dio_complete_work( & work) |
169 | If should_dirty Then |
170 | bio_check_pages_dirty(bio) |
171 | Else |
172 | bio_release_pages(bio, false) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |