函数逻辑报告 |
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_write_page() - Start writing a page to a block device*@bdev: The device to write the page to*@sector: The offset on the device to write the page to (need not be aligned)*@page: The page to write*@wbc: The writeback_control for the write
函数原型:int bdev_write_page(struct block_device *bdev, sector_t sector, struct page *page, struct writeback_control *wbc)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
sector_t | sector | |
struct page * | page | |
struct writeback_control * | wbc |
743 | 如果非rw_page或bdev_get_integrity(bdev)则返回:负EOPNOTSUPP |
745 | result等于blk_queue_enter(bd_queue, 0) |
749 | set_page_writeback(page) |
750 | result等于rw_page(bdev, sector + get_start_sect(bdev), page, REQ_OP_WRITE) |
752 | 如果result则 |
754 | 否则 |
755 | clean_page_buffers(page) |
758 | blk_queue_exit(bd_queue) |
759 | 返回:result |
名称 | 描述 |
---|---|
__mpage_writepage | |
__swap_writepage |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |