函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:07 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:end_buffer_async_read
函数原型:static void end_buffer_async_read(struct buffer_head *bh, int uptodate)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct buffer_head * | bh | |
| int | uptodate |
| 258 | page_uptodate等于1 |
| 260 | BUG_ON(!buffer_async_read(bh)) |
| 263 | 如果uptodate则 |
| 265 | 否则 |
| 267 | buffer_io_error(bh, ", async page read") |
| 268 | SetPageError(page) |
| 277 | local_irq_save(flags) |
| 280 | unlock_buffer(bh) |
| 282 | 循环 |
| 285 | 如果buffer_async_read(tmp)则 |
| 286 | BUG_ON(!buffer_locked(tmp)) |
| 287 | 转到:still_busy |
| 292 | local_irq_restore(flags) |
| 298 | 如果page_uptodate且非PageError(page)则SetPageUptodate(page) |
| 301 | 返回 |
| 303 | still_busy : |
| 305 | local_irq_restore(flags) |
| 306 | 返回 |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |