函数逻辑报告 |
Source Code:fs\mpage.c |
Create Date:2022-07-29 10:46:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mpage_alloc
函数原型:static struct bio *mpage_alloc(struct block_device *bdev, sector_t first_sector, int nr_vecs, gfp_t gfp_flags)
返回类型:struct bio
参数:
类型 | 参数 | 名称 |
---|---|---|
struct block_device * | bdev | |
sector_t | first_sector | |
int | nr_vecs | |
gfp_t | gfp_flags |
78 | gfp_flags与等于GFP_KERNEL |
81 | 如果bio恒等于NULL且flags按位与Allocating memory 则 |
86 | 如果bio则 |
90 | 返回:bio |
名称 | 描述 |
---|---|
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 |
__mpage_writepage |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |