函数逻辑报告 |
Source Code:fs\buffer.c |
Create Date:2022-07-29 10:45:11 |
Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Initialise the state of a blockdev page's buffers.
函数原型:static sector_t init_page_buffers(struct page *page, struct block_device *bdev, sector_t block, int size)
返回类型:sector_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct block_device * | bdev | |
sector_t | block | |
int | size |
939 | uptodate等于PageUptodate(page) |
940 | end_block等于blkdev_max_block(I_BDEV( will die ), size) |
942 | 循环 |
943 | 如果非buffer_mapped(bh)则 |
944 | I/O completion = NULL |
945 | reserved for b_end_io = NULL |
947 | start block number 等于block |
950 | 如果block小于end_block则set_buffer_mapped(bh) |
953 | block自加 |
960 | 返回:end_block |
名称 | 描述 |
---|---|
grow_dev_page | Create the page-cache page that contains the requested block.* This is used purely for blockdev mappings. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |