函数逻辑报告 |
Source Code:block\blk-merge.c |
Create Date:2022-07-27 18:41:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_recalc_rq_segments
函数原型:unsigned int blk_recalc_rq_segments(struct request *rq)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq |
377 | nr_phys_segs等于0 |
378 | nr_sectors等于0 |
382 | 如果非bio则返回:0 |
386 | 当:bio_op(bio)恒等于REQ_OP_DISCARD |
387 | 当:bio_op(bio)恒等于REQ_OP_SECURE_ERASE |
388 | 当:bio_op(bio)恒等于REQ_OP_WRITE_ZEROES |
389 | 返回:0 |
390 | 当:bio_op(bio)恒等于REQ_OP_WRITE_SAME |
391 | 返回:1 |
394 | rq_for_each_bvec(bv, rq, iter) |
397 | 返回:nr_phys_segs |
名称 | 描述 |
---|---|
blk_update_request | lk_update_request - Special helper function for request stacking drivers*@req: the request being processed*@error: block status code*@nr_bytes: number of bytes to complete @req* Description:* Ends I/O on a number of bytes attached to @req, but doesn't |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |