函数逻辑报告 |
Source Code:block\bsg-lib.c |
Create Date:2022-07-27 19:14:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sg_queue_rq - generic handler for bsg requests*@hctx: hardware queue*@bd: queue data* On error the create_bsg_job function should return a -Exyz error value* that will be set to ->result.* Drivers/subsys should pass this to the queue init function.
函数原型:static blk_status_t bsg_queue_rq(struct blk_mq_hw_ctx *hctx, const struct blk_mq_queue_data *bd)
返回类型:blk_status_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blk_mq_hw_ctx * | hctx | |
const struct blk_mq_queue_data * | bd |
269 | sts等于BLK_STS_IOERR |
272 | blk_mq_start_request(req) |
277 | 如果非sg_prepare_job - create the bsg_job structure for the bsg request*@dev: device that is being sent the bsg request*@req: BSG request that needs a job structure则转到:out |
281 | 如果非ret则sts等于BLK_STS_OK |
284 | out : |
285 | put_device(dev) |
286 | 返回:sts |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |