函数逻辑报告 |
Source Code:block\blk-core.c |
Create Date:2022-07-27 18:35:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_rq_err_bytes - determine number of bytes till the next failure boundary*@rq: request to examine* Description:* A request could be merge of IOs which require different failure* handling
函数原型:unsigned int blk_rq_err_bytes(const struct request *rq)
返回类型:unsigned int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct request * | rq |
1288 | ff等于 op and common flags 按位与REQ_FAILFAST_MASK |
1289 | bytes等于0 |
1292 | 如果非rq_flags按位与merge of different types, fail separately 的值则返回:blk_rq_bytes(rq) |
1303 | 如果 bottom bits req flags, * top bits REQ_OP. Use * accessors.按位与ff的值不等于ff则退出 |
1305 | bytes加等于 residual I/O count |
1309 | BUG_ON(blk_rq_bytes(rq) && !bytes) |
1310 | 返回:bytes |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |