函数逻辑报告 | 
Source Code:block\blk-map.c | 
Create Date:2022-07-27 18:40:02 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Append a bio to a passthrough request. Only works if the bio can be merged* into the request based on the driver constraints.
函数原型:int blk_rq_append_bio(struct request *rq, struct bio **bio)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| 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 | 如果非bio则 | 
| 31 | blk_rq_bio_prep(rq, * bio, nr_segs) | 
| 32 | 否则 | 
| 33 | 如果非ll_back_merge_fn(rq, * bio, nr_segs)则 | 
| 38 | 返回:负EINVAL | 
| 41 | request queue link 等于bio | 
| 43 | total data len 加等于 residual I/O count | 
| 46 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| __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: | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |