Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:07 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:end_buffer_async_read
Proto:static void end_buffer_async_read(struct buffer_head *bh, int uptodate)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct buffer_head * | bh | |
int | uptodate |
258 | page_uptodate = 1 |
260 | BUG_ON(!buffer_async_read(bh)) |
263 | If uptodate Then |
265 | Else |
267 | buffer_io_error(bh, ", async page read") |
268 | SetPageError(page) |
277 | local_irq_save(flags) |
280 | unlock_buffer(bh) |
282 | Do |
285 | If buffer_async_read(tmp) Then |
286 | BUG_ON(!buffer_locked(tmp)) |
287 | Go to still_busy |
292 | local_irq_restore(flags) |
298 | If page_uptodate && Not PageError(page) Then SetPageUptodate(page) |
301 | Return |
303 | still_busy : |
305 | local_irq_restore(flags) |
306 | Return |
Name | Describe |
---|---|
decrypt_bh | |
end_buffer_async_read_io | I/O completion handler for block_read_full_page() - pages* which come unlocked at the end of I/O. |
block_read_full_page | Generic "read page" function for block devices that have the normal* get_block functionality |
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 |