Function report |
Source Code:fs\direct-io.c |
Create Date:2022-07-28 20:15:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:There is no bio. Make one now.
Proto:static inline int dio_new_bio(struct dio *dio, struct dio_submit *sdio, sector_t start_sector, struct buffer_head *map_bh)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dio * | dio | |
| struct dio_submit * | sdio | |
| sector_t | start_sector | |
| struct buffer_head * | map_bh |
| 714 | sector = start_sector << doesn't change - 9 |
| 715 | nr_pages = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(approximate total IO pages , BIO_MAX_PAGES) |
| 718 | prev block is at a boundary = 0 |
| 719 | out : |
| 720 | Return ret |
| Name | Describe |
|---|---|
| dio_send_cur_page | Put cur_page under IO |
| 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 |