Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:14 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:h_submit_read - Submit a locked buffer for reading*@bh: struct buffer_head* Returns zero on success and -EIO on error.
Proto:int bh_submit_read(struct buffer_head *bh)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct buffer_head * | bh |
| 3449 | BUG_ON(!buffer_locked(bh)) |
| 3452 | unlock_buffer(bh) |
| 3453 | Return 0 |
| 3457 | I/O completion = Default synchronous end-of-IO handler.. Just mark it up-to-date and* unlock the buffer. This is what ll_rw_block uses too. |
| 3458 | submit_bh(REQ_OP_READ, 0, bh) |
| 3459 | wait_on_buffer(bh) |
| 3462 | Return -EIO |
| 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 |