函数逻辑报告 |
Source Code:block\bsg-lib.c |
Create Date:2022-07-27 19:13:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bsg_transport_fill_hdr
函数原型:static int bsg_transport_fill_hdr(struct request *rq, struct sg_io_v4 *hdr, fmode_t mode)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq | |
struct sg_io_v4 * | hdr | |
fmode_t | mode |
39 | job等于lk_mq_rq_to_pdu - cast a request to a PDU*@rq: the request to be casted* Return: pointer to the PDU* Driver command data is immediately after the request. So add request to get* the PDU. |
42 | request_len等于 [i] in bytes |
49 | 如果是错误则 |
54 | ret等于REQ_BLOCK_PC请求 |
57 | 如果ret则转到:out_free_bidi_rq |
61 | 否则 |
62 | BIDI support = NULL |
63 | bidi_bio = NULL |
66 | 返回:0 |
68 | out_free_bidi_rq : |
69 | 如果 BIDI support 则blk_put_request( BIDI support ) |
71 | out : |
72 | 释放内存 |
73 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |