函数逻辑报告 |
Source Code:fs\iomap\buffered-io.c |
Create Date:2022-07-29 11:07:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:iomap_alloc_ioend
函数原型:static struct iomap_ioend *iomap_alloc_ioend(struct inode *inode, struct iomap_writepage_ctx *wpc, loff_t offset, sector_t sector, struct writeback_control *wbc)
返回类型:struct iomap_ioend
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct iomap_writepage_ctx * | wpc | |
loff_t | offset | |
sector_t | sector | |
struct writeback_control * | wbc |
1299 | bio等于bio_alloc_bioset(GFP_NOFS, BIO_MAX_PAGES, & iomap_ioend_bioset) |
1300 | bio_set_dev(bio, block device for I/O ) |
1302 | bottom bits req flags, * top bits REQ_OP. Use * accessors.等于REQ_OP_WRITE按位或wbc_to_write_flags(wbc) |
1303 | bi_write_hint等于i_write_hint |
1304 | wbc_init_bio(wbc, bio) |
1307 | 初始化链表头 |
1308 | io_type等于 type of mapping |
1309 | IOMAP_F_* 等于 flags for mapping |
1310 | le being written to 等于inode |
1311 | size of the extent 等于0 |
1312 | ffset in the file 等于offset |
1313 | le system private data = NULL |
1314 | being built 等于bio |
1315 | 返回:ioend |
名称 | 描述 |
---|---|
iomap_add_to_ioend | Test to see if we have an existing ioend structure that we could append to* first, otherwise finish off the current ioend and start another. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |