Function report | 
Source Code:fs\iomap\buffered-io.c | 
Create Date:2022-07-28 20:31:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:iomap_alloc_ioend
Proto: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)
Type:struct iomap_ioend
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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) | 
| 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 | Return ioend | 
| Name | Describe | 
|---|---|
| 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. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |