Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:09 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bread_slow
Proto:static struct buffer_head *__bread_slow(struct buffer_head *bh)
Type:struct buffer_head
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct buffer_head * | bh |
| 1210 | lock_buffer(bh) |
| 1212 | unlock_buffer(bh) |
| 1213 | Return bh |
| 1214 | Else |
| 1216 | 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. |
| 1217 | submit_bh(REQ_OP_READ, 0, bh) |
| 1218 | wait_on_buffer(bh) |
| 1223 | Return NULL |
| Name | Describe |
|---|---|
| __bread_gfp | __bread_gfp() - reads a specified block and returns the bh*@bdev: the block_device to read from*@block: number of block*@size: size (in bytes) to read*@gfp: page allocation flag* Reads a specified block, and returns buffer head that contains it |
| 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 |