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:Allocate a new bio, and chain the old bio to the new one.* Note that we have to do perform the chaining in this unintuitive order* so that the bi_private linkage is set up in the right direction for the* traversal in iomap_finish_ioend().
Proto:static struct bio *iomap_chain_bio(struct bio *prev)
Type:struct bio
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | prev |
1330 | new = bio_alloc(GFP_NOFS, BIO_MAX_PAGES) |
1331 | bio_copy_dev(new, prev) |
1333 | bottom bits req flags, * top bits REQ_OP. Use * accessors. = bottom bits req flags, * top bits REQ_OP. Use * accessors. |
1334 | bi_write_hint = bi_write_hint |
1338 | submit_bio(prev) |
1339 | Return new |
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 |