函数逻辑报告 |
Source Code:fs\block_dev.c |
Create Date:2022-07-29 10:46:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dev_read_page() - Start reading a page from a block device*@bdev: The device to read the page from*@sector: The offset on the device to read the page to (need not be aligned)*@page: The page to read* On entry, the page should be locked
函数原型:int bdev_read_page(struct block_device *bdev, sector_t sector, struct page *page)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct block_device * | bdev | |
| sector_t | sector | |
| struct page * | page |
| 703 | result等于负EOPNOTSUPP |
| 705 | 如果非rw_page或bdev_get_integrity(bdev)则返回:result |
| 708 | result等于blk_queue_enter(bd_queue, 0) |
| 711 | result等于rw_page(bdev, sector + get_start_sect(bdev), page, REQ_OP_READ) |
| 713 | blk_queue_exit(bd_queue) |
| 714 | 返回:result |
| 名称 | 描述 |
|---|---|
| do_mpage_readpage | This is the worker routine which does all the work of mapping the disk* blocks and constructs largest possible bios, submits them for IO if the* blocks are not contiguous on the disk |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |