Function report |
Source Code:block\blk-map.c |
Create Date:2022-07-28 17:04:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Append a bio to a passthrough request. Only works if the bio can be merged* into the request based on the driver constraints.
Proto:int blk_rq_append_bio(struct request *rq, struct bio **bio)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq | |
struct bio ** | bio |
23 | nr_segs = 0 |
25 | blk_queue_bounce(q, bio) |
27 | rate over multi-page bvec (bv, * bio, iter) |
28 | nr_segs++ |
30 | If Not bio Then |
31 | blk_rq_bio_prep(rq, * bio, nr_segs) |
32 | Else |
46 | Return 0 |
Name | Describe |
---|---|
__blk_rq_map_user_iov | |
blk_rq_map_kern | lk_rq_map_kern - map kernel data to a request, for passthrough requests*@q: request queue where request should be inserted*@rq: request to fill*@kbuf: the kernel buffer*@len: length of user data*@gfp_mask: memory allocation flags* Description: |
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 |